hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp
changeset 29584 5b3cb9f0e39d
parent 29577 bb06d25e302d
parent 29580 a67a581cfe11
child 29698 9be8d1b0dfdc
--- a/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Fri Mar 13 20:44:57 2015 +0000
+++ b/hotspot/src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp	Thu Mar 19 18:01:39 2015 +0100
@@ -5406,7 +5406,7 @@
     // limit is set using max_num_q() - which was set using ParallelGCThreads.
     // So this must be true - but assert just in case someone decides to
     // change the worker ids.
-    assert(0 <= worker_id && worker_id < limit, "sanity");
+    assert(worker_id < limit, "sanity");
     assert(!rp->discovery_is_atomic(), "check this code");
 
     // Select discovered lists [i, i+stride, i+2*stride,...,limit)