[master] RFR: 8319724: [Lilliput] ParallelGC: Forwarded objects found during heap inspection
Aleksey Shipilev
shade at openjdk.org
Wed Nov 8 16:54:24 UTC 2023
On Wed, 8 Nov 2023 16:49:09 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
>> src/hotspot/share/gc/parallel/mutableSpace.cpp line 254:
>>
>>> 252: p += obj->forwardee()->size();
>>> 253: } else {
>>> 254: p += obj->size();
>>
>> Is this just `oopDesc::forward_safe_size()`?
>
> kinda, yeah, but optimized to avoid the UCOH check for every object and do it once outside of the loop, which is probably important in the object iterator.
All right then.
-------------
PR Review Comment: https://git.openjdk.org/lilliput/pull/116#discussion_r1386929173
More information about the lilliput-dev
mailing list