RFR: JDK-8204685: Abstraction for TLAB dummy object

Roman Kennke rkennke at redhat.com
Mon Jun 11 16:02:35 UTC 2018


Similar to how object allocations should be owned by the GC, so does
TLAB dummy object 'allocation'. TLABs and PLABs are filling their
remaining blocks with dummy objects. GCs like Shenandoah might need a
slightly differet layout for this, and therefore we need an abstraction.

The proposed change adds a new virtual method
CollectedHeap::fill_with_dummy_object(), the default implementation
calls the existing CH::fill_with_object() from TLAB and PLAB like it was
done before.

Tested: hotspot-tier1, Shenandoah tests with appropriate impl

http://cr.openjdk.java.net/~rkennke/JDK-8204685/webrev.00/

Ok?

Thanks, Roman

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


More information about the hotspot-gc-dev mailing list