RFR(S) 8223951: Shenandoah: Only need to update thread roots during final update refs

Aleksey Shipilev shade at redhat.com
Fri May 17 14:12:33 UTC 2019


On 5/16/19 4:25 PM, Zhengyu Gu wrote:
> After switching to strong to-space invariant and pre-evacuating all root, thread roots are only
> places that may contain to-space oops after updating references during normal concurrent cycles, we
> only need to update them during final updaterefs pause, which should reduce pause time.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8223951
> Webrev: http://cr.openjdk.java.net/~zgu/JDK-8223951/webrev.00/

Looks fine to me.

Aside: I wonder how would be get the thread root with from-space ptr if we don't have safepoints
between loads and the LRBs that give us to-space ptrs after potential evac.

-Aleksey

-------------- 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/20190517/fea0ad38/signature.asc>


More information about the hotspot-gc-dev mailing list