RFR: Don't initially evacuate Synchronizer roots

Zhengyu Gu zgu at redhat.com
Wed Nov 23 15:24:24 UTC 2016


You may want to add assertion to ensure that it is always the case, and prevent the breakage in the future.

Thanks,

-Zhengyu



On 11/23/2016 10:09 AM, Roman Kennke wrote:
> I checked all the uses of ObjectMonitor from the Synchronizer monitor
> list. In all the places that they are used we do have proper barriers.
> There is no place that expects the oop in the monitor to always be to-
> space. Therefore we don't need to evacuate those ObjectMonitor roots at
> the init-evac pause.
>
> Tested with jtreg and SPECjvm2008
>
> http://cr.openjdk.java.net/~rkennke/noevacsyncroots/webrev.00/
>
> Ok?
>
> Roman



More information about the shenandoah-dev mailing list