8020277: Young GC could be extremely slow due to assertion in ObjectStartArray::object_starts_in_range
authorsjohanss
Mon, 20 Jan 2014 12:56:18 +0100
changeset 22549 d1ef75b0a43a
parent 22548 d54e4339811f
child 22550 820966182ab9
8020277: Young GC could be extremely slow due to assertion in ObjectStartArray::object_starts_in_range 8009462: Young GC's (ParNewGC and SerialGC) have unexpected variances. Summary: Removed the assertion slowing down GC. Reviewed-by: stefank, mgerdin
hotspot/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
--- a/hotspot/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp	Mon Jan 20 17:15:55 2014 +0100
+++ b/hotspot/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp	Mon Jan 20 12:56:18 2014 +0100
@@ -139,11 +139,6 @@
       return true;
     }
   }
-  // No object starts in this slice; verify this using
-  // more traditional methods:  Note that no object can
-  // start before the start_addr.
-  assert(end_addr == start_addr ||
-         object_start(end_addr - 1) <= start_addr,
-         "Oops an object does start in this slice?");
+
   return false;
 }