RFR: 8249877: Shenandoah: Report number of dead weak oops during STW weak roots
Zhengyu Gu
zgu at redhat.com
Wed Jul 22 14:07:49 UTC 2020
Second thought, you may just want to call
_weak_processing_task.report_num_dead() in
ShenandoahParallelWeakRootsCleaningTask's destructor.
Thanks,
-Zhengyu
On 7/22/20 9:15 AM, Zhengyu Gu wrote:
> Looks good.
>
> Thanks,
>
> -Zhengyu
>
> On 7/22/20 8:55 AM, Roman Kennke wrote:
>> MemberNameLeak test is failing when running in STW mode, because
>> ResolvedMethodTable never receives a gc_notification() call, which is
>> usually done by calling report_num_dead() on the corresponding oop-
>> storage. We do that in concurrent-weak-processing, but apparently not
>> during STW weak processing.
>>
>> Bug:
>> https://bugs.openjdk.java.net/browse/JDK-8249877
>> Webrev:
>> http://cr.openjdk.java.net/~rkennke/JDK-8249877/webrev.00/
>>
>> Testing: hotspot_gc_shenandoah, MemberNameLeak.java, tier1 & tier2
>> without regressions.
>>
>> Ok?
>>
>>
>>
More information about the shenandoah-dev
mailing list