Blocks :
|
|
CSR :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
JDK-8173071 :
|
Soft and weak references are automatically-cleared references (i.e. these references are cleared by the collector before it's enqueued) whereas phantom reference is not an automatically-cleared reference. Instead, the get method of a phantom reference always returns null to ensure that the referent of a phantom reference may not be retrieved. This proposes to make phantom references automatically-cleared reference as soft and weak references do.
|