8290017: Directly call HeapRegion::block_start in G1CMObjArrayProcessor::process_slice
Reviewed-by: ayang, iwalulya
This commit is contained in:
parent
e9d9cc6d0a
commit
4ab77ac60d
@ -59,7 +59,7 @@ size_t G1CMObjArrayProcessor::process_slice(HeapWord* slice) {
|
||||
|
||||
HeapWord* const start_address = r->is_humongous() ?
|
||||
r->humongous_start_region()->bottom() :
|
||||
g1h->block_start(slice);
|
||||
r->block_start(slice);
|
||||
|
||||
assert(cast_to_oop(start_address)->is_objArray(), "Address " PTR_FORMAT " does not refer to an object array ", p2i(start_address));
|
||||
assert(start_address < slice,
|
||||
|
Loading…
Reference in New Issue
Block a user