b2aec6eda3
When enqueuing references check whether the j.l.r.Reference has already been enqeued or removed in the lock. Do not enqueue them again. This occurs because multiple threads may try to enqueue the same j.l.r.Reference at the same time. Reviewed-by: mchung, dholmes, plevart, shade |
||
---|---|---|
.. | ||
SoftReference | ||
Basic.java | ||
EnqueueNullRef.java | ||
EnqueuePollRace.java | ||
NullQueue.java | ||
OOMEInReferenceHandler.java | ||
ReferenceEnqueue.java | ||
ReferenceEnqueuePending.java |