CSR :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8176389 :
|
Soft, weak, and phantom references are automatically-cleared references (see JDK-8071507). The referent is cleared before the reference object is enqueued. The `enqueue` method should behave the same and it should clear the reference before enqueuing it to the registered queue. Surveying the existing usage of this enqueue method, it's a common pattern that Reference::clear is called before or after enqueuing.
|