RFR (M): 8201491: G1 support for java.lang.ref.Reference precleaning
Aleksey Shipilev
shade at redhat.com
Thu Apr 26 09:46:03 UTC 2018
On 04/26/2018 11:36 AM, Thomas Schatzl wrote:
> In absence of fully concurrent reference processing this seems to be a
> very good tradeoff between effort and improvement in some cases.
>
> Since it is planned to be obsoleted in the future, and I do not expect
> other new collectors to implement it (Shenandoah will likely go to
> fully concurrent as well,
Current Shenandoah actually implements Precleaning too, because it uses the same STW RP available in
all JDKs where we backport Shenandoah. It is indeed a good tradeoff between prolonging the
concurrent phase, and dodging long pause processing provably alive references.
> I added a G1 specific experimental option called "G1UseReferencePrecleaning" defaulting to true
> (enabled).
Shenandoah uses the shorter "ShenandoahPreclean", maybe you want to do it shorter too.
-Aleksey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/hotspot-gc-dev/attachments/20180426/95f8f113/signature.asc>
More information about the hotspot-gc-dev
mailing list