jdk-24/jdk/test/java/lang/ref
Thomas Schatzl b2aec6eda3 8014890: (ref) Reference queues may return more entries than expected
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
2013-07-08 14:05:59 +02:00
..
SoftReference 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
Basic.java 7197491: update copyright year to match last edit in jdk8 jdk repository 2012-11-02 15:50:11 +00:00
EnqueueNullRef.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
EnqueuePollRace.java 8014890: (ref) Reference queues may return more entries than expected 2013-07-08 14:05:59 +02:00
NullQueue.java 6943119: Rebrand source copyright notices 2010-05-25 15:58:33 -07:00
OOMEInReferenceHandler.java 8016341: java/lang/ref/OOMEInReferenceHandler.java failing intermittently 2013-07-09 22:01:57 -04:00
ReferenceEnqueue.java 4243978: (ref) Race condition in Reference.enqueue() 2011-10-31 17:38:15 -07:00
ReferenceEnqueuePending.java 4243978: (ref) Race condition in Reference.enqueue() 2011-10-31 17:38:15 -07:00