comparison src/share/vm/gc_implementation/parallelScavenge/objectStartArray.cpp @ 14307: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 de6a9e811145
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14306:284953caf7aa 14307:7ab52431bc9f
137 for (jbyte* block = start_block; block <= end_block; block++) { 137 for (jbyte* block = start_block; block <= end_block; block++) {
138 if (*block != clean_block) { 138 if (*block != clean_block) {
139 return true; 139 return true;
140 } 140 }
141 } 141 }
142 // No object starts in this slice; verify this using 142
143 // more traditional methods: Note that no object can
144 // start before the start_addr.
145 assert(end_addr == start_addr ||
146 object_start(end_addr - 1) <= start_addr,
147 "Oops an object does start in this slice?");
148 return false; 143 return false;
149 } 144 }