Potential ShTraversalGC::weak_refs_work_doit bug
Aleksey Shipilev
shade at redhat.com
Mon Sep 10 09:46:55 UTC 2018
On 09/10/2018 11:38 AM, Roman Kennke wrote:
>> This block has some weirdness:
>>
>> http://hg.openjdk.java.net/shenandoah/jdk/file/e60d7f4b3ba9/src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.cpp#l1164
>>
>> *) is_alive is redefined -- to the same value?
>
> Where do you see is_alive redefined? It is defined once here:
> http://hg.openjdk.java.net/shenandoah/jdk/file/e60d7f4b3ba9/src/hotspot/share/gc/shenandoah/shenandoahTraversalGC.cpp#l1172
>
>
>> *) complete_gc is not used? Shouldn't we call it to pick up new stuff from weak_oops_do?
>
> It is used in WeakProcessor::weak_oops_do() calls, isn't it?
>
> Or maybe I misunderstand your questions?
It really helps to use the proper IDE that highlights those things ;)
http://cr.openjdk.java.net/~shade/shenandoah/clion-traversal-rp.png
-Aleksey
More information about the shenandoah-dev
mailing list