hotspot/src/share/vm/gc_implementation/g1/heapRegion.hpp
changeset 11172 f720721985ba
parent 10770 de4ae3b50648
child 11176 9bb1ddd8da51
--- a/hotspot/src/share/vm/gc_implementation/g1/heapRegion.hpp	Mon Nov 21 09:24:56 2011 -0800
+++ b/hotspot/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()      {