RFR: 8254315: Shenandoah: Concurrent weak reference processing [v12]
Aleksey Shipilev
shade at openjdk.java.net
Thu Oct 29 12:07:01 UTC 2020
On Tue, 27 Oct 2020 14:54:01 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
>> src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.inline.hpp line 264:
>>
>>> 262: marked = mark_context->mark_strong(obj, marked_first);
>>> 263: } else {
>>> 264: marked = mark_context->mark_final(obj, marked_first);
>>
>> Is this `mark_final` actually `mark_weak`?
>
> We could name it so, but it really means 'reachable through a FinalReference' so 'finalizably reachable' and 'marked final(izable)' seems the more correct term. It is weaker than 'strong' though, so yeah we could rename this. WDYT?
I sent you a patch with this rename and collateral improvements. This discussion can be resolved.
-------------
PR: https://git.openjdk.java.net/jdk/pull/505
More information about the shenandoah-dev
mailing list