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
--- 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;
}