8319726: Parallel GC: Re-use object in object-iterator
Reviewed-by: ayang, phh
This commit is contained in:
parent
4451a927bc
commit
f57b78c9c3
@ -247,7 +247,7 @@ void MutableSpace::object_iterate(ObjectClosure* cl) {
|
||||
assert(obj->forwardee() != obj, "must not be self-forwarded");
|
||||
}
|
||||
#endif
|
||||
p += cast_to_oop(p)->size();
|
||||
p += obj->size();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user