< prev index next >

src/share/vm/gc_implementation/g1/heapRegionSet.cpp

Print this page
rev 7793 : 8073315: Enable gcc -Wtype-limits and fix upcoming issues.

@@ -55,11 +55,11 @@
   // appropriate locks and the set changes underneath our feet
   // verification might fail and send us on a wild goose chase.
   check_mt_safety();
 
   guarantee(( is_empty() && length() == 0 && total_capacity_bytes() == 0) ||
-            (!is_empty() && length() >= 0 && total_capacity_bytes() >= 0),
+            (!is_empty()),
             hrs_ext_msg(this, "invariant"));
 }
 
 void HeapRegionSetBase::verify_start() {
   // See comment in verify() about MT safety and verification.
< prev index next >