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

Roman Kennke rkennke at redhat.com
Fri Sep 28 10:11:54 UTC 2018


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: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20180928/260e05a9/signature.asc>


More information about the hotspot-gc-dev mailing list