[15] RFR 8245124: Shenandoah: optimize code root evacuation/update during concurrent class unloading

Aleksey Shipilev shade at redhat.com
Mon May 18 18:07:55 UTC 2020


On 5/18/20 8:03 PM, Zhengyu Gu wrote:
>>> Updated: http://cr.openjdk.java.net/~zgu/JDK-8245124/webrev.01/index.html
>>
>> Good. Any reason why ShenandoahEvacOOMScope is not inside heal_nmethod_metadata()? Is there any
>> problem to call _bs->disarm(nm) when holding that scope?
> This is something I want to get rid of, especially on code root 
> unlinking path. Moving ShenandoahEvacOOMScope up is another noticeable 
> improvement, unfortunately, unload_nmethod_caches() triggers barrier.

Ah. So you want to batch entering/exiting the scope? Okay then.

-- 
Thanks,
-Aleksey




More information about the hotspot-gc-dev mailing list