• M
    8014890: (ref) Reference queues may return more entries than expected · e5c1052c
    mchung 提交于
    Summary: 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
    Contributed-by: thomas.schatzl@oracle.com
    e5c1052c
EnqueuePollRace.java 2.7 KB