changeset 5871:7ab52431bc9f

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
author sjohanss
date Mon, 20 Jan 2014 12:56:18 +0100
parents 284953caf7aa
children 870aedf4ba4f
files src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp	Mon Jan 20 17:15:55 2014 +0100
+++ b/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;
 }