RFR: 8203028: Simplify reference processing in light of JDK-8175797

mandy chung mandy.chung at oracle.com
Fri May 25 14:56:06 UTC 2018


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


More information about the core-libs-dev mailing list