# HG changeset patch # User sjohanss # Date 1390218978 -3600 # Node ID d1ef75b0a43a36834f3777fa89a8232072a11d59 # Parent d54e4339811f3b103af2587e4a3ef506058880f5 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 diff -r d54e4339811f -r d1ef75b0a43a 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; }