RFR: 8251451: Shenandoah: Remark ObjectSynchronizer roots with I-U

Aleksey Shipilev shade at redhat.com
Wed Aug 12 07:34:36 UTC 2020


On 8/11/20 8:57 PM, rkennke at redhat.com wrote:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8251451
> Webrev: http://cr.openjdk.java.net/~rkennke/JDK-8251451/webrev.00/

Looks good in principle.

But I see that ObjectSynchronizer::oops_do is in ShenandoahSerialRoots. The patch does it for every
worker. Is OS::oops_do safe to call from multiple threads? Does it _make sense_ to call it from
multiple threads, knowing the list is small?

-- 
Thanks,
-Aleksey



More information about the shenandoah-dev mailing list