RFR: 8203028: Simplify reference processing in light of JDK-8175797
Kim Barrett
kim.barrett at oracle.com
Fri May 25 15:57:42 UTC 2018
> On May 25, 2018, at 4:56 PM, mandy chung <mandy.chung at oracle.com> wrote:
>
> On 5/25/18 1:28 AM, Kim Barrett wrote:> I've adopted your suggestion of ASCII-art to describe the state> transitions. I've fixed a couple of errors and made some other
>> changes to (I hope) improve readability.
>> I've also made some naming changes for consistency and clarity,
>> including:
>> - "pending list" => "pending-Reference list" (both were being used)
>> - "pending list process(or|ing)" => ReferenceHandler [thread]
> >
>>> 114 * -> inactive/unregistered - GC, clear, enqueue
>>>
>>> Under what circumstance does GC make a reference from active/unregistered -> inactive/unregistered?
>> The GC may bypass the [active/unregistered] -> [pending/unregistered]
>> transition, as an optimization.
>
> I see you added [3] to describe it. That helps. Thanks.
>
>> New webrevs (only comment updates in Reference.java):
>> full: http://cr.openjdk.java.net/~kbarrett/8203028/open.04/
>> incr: http://cr.openjdk.java.net/~kbarrett/8203028/open.04.inc/
>
> Looks good.
>
> Thanks
> Mandy
Thanks.
More information about the core-libs-dev
mailing list