diff src/share/vm/gc_implementation/g1/heapRegion.hpp @ 4093:6071e0581859

7111795: G1: Various cleanups identified during walk through of changes for 6484965 Summary: Various cleanups and formatting changes identified during a code walk through of the changes for 6484965 ("G1: piggy-back liveness accounting phase on marking"). Reviewed-by: brutisso, tonyp
author johnc
date Fri, 18 Nov 2011 12:27:10 -0800
parents c6a6e936dc68
children dc467e8b2c5e
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/heapRegion.hpp	Mon Nov 21 09:24:56 2011 -0800
+++ b/src/share/vm/gc_implementation/g1/heapRegion.hpp	Fri Nov 18 12:27:10 2011 -0800
@@ -416,7 +416,7 @@
 
   void add_to_marked_bytes(size_t incr_bytes) {
     _next_marked_bytes = _next_marked_bytes + incr_bytes;
-    guarantee( _next_marked_bytes <= used(), "invariant" );
+    assert(_next_marked_bytes <= used(), "invariant" );
   }
 
   void zero_marked_bytes()      {