[15] RFR 8241155: Shenandoah: Traversal GC should mark strong CLD roots when class unloading is enabled

Zhengyu Gu zgu at redhat.com
Wed Mar 18 15:46:40 UTC 2020


On 3/18/20 11:43 AM, Roman Kennke wrote:
> Are you sure that it needs to scan (all) code-roots, and thus keep
> everything alive that is referenced from them?
No, I am not sure.

It scans CSset code roots since beginning (I believe). If it is an 
issue, should be addressed in a separate CR.


-Zhengyu


> 
> Roman
> 
>> Current traversal GC does not mark strong CLD roots, it seems wrong.
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8241155
>> Webrev: http://cr.openjdk.java.net/~zgu/JDK-8241155/webrev.00/
>>
>> Test:
>>    hotspot_gc_shenandoah (fastdebug and release)
>>    tools/javac
>>
>> Thanks,
>>
>> -Zhengyu
>>
> 




More information about the hotspot-gc-dev mailing list