[9] RFR (XS): 8169000: Define reference reachability more precisely in java.lang.ref package
Peter Levart
peter.levart at gmail.com
Wed Nov 16 23:29:59 UTC 2016
On 11/16/2016 10:31 PM, Mandy Chung wrote:
>> On Nov 16, 2016, at 12:41 AM, Zoltán Majó <zoltan.majo at oracle.com> wrote:
>>
>>
>>> When a reference becomes unreachable (not by examining the source code but the actual state of the VM at runtime), it will never be enqueued.
>> I also like that wording, thank you!
> BTW I am not proposing this be added in the spec. My intent is to clarify why I think the current statement in the spec is correct.
That's right. But it might also be helpful to tell when the reference
may become unreachable. The fact that the transition from not being
strongly reachable to being unreachable and reclaimed may happen
atomically from the standpoint of the program, is not immediately
obvious. Or is it?
Regards, Peter
> Mandy
More information about the core-libs-dev
mailing list