RFR: JDK-8211270: GC abstraction to get real object and headers size

Roman Kennke rkennke at redhat.com
Fri Oct 5 16:20:49 UTC 2018


Any opinions on that one?

Roman

> Duh.
> 
> Webrev:
> http://cr.openjdk.java.net/~rkennke/JDK-8211270/webrev.00/
> 
> Thanks,
> Roman
> 
> Am 28.09.18 um 12:11 schrieb Roman Kennke:
>> Shenandoah GC uses one extra word per object. Some places need to know
>> the real object or header size (fwd ptr plus object).
>>
>> The affected code paths are WB_GetObjectSize(),
>> JvmtiEnv::GetObjectSize() and the PLAB constructor. The patch also adds
>> an assert later in PLAB that uses the header_size().
>>
>> Bug:
>> https://bugs.openjdk.java.net/browse/JDK-8211270
>> Webrev:
>> file:///home/rkennke/src/openjdk/webrev/JDK-8211270/webrev.00/
>>
>> Can I please get reviews?
>>
>> Thanks,
>> Roman
>>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20181005/3874e701/signature.asc>


More information about the hotspot-gc-dev mailing list