RFR: 8071507: (ref) Clear phantom reference as soft and weak references do

Mandy Chung mandy.chung at oracle.com
Fri Dec 18 17:02:54 UTC 2015


> On Dec 18, 2015, at 2:12 AM, Peter Levart <peter.levart at gmail.com> wrote:
> 
> Hi,
> 
> Now that PhantomReference(s) (excluding sun.misc.Cleaner(s)) are treated equally to sun.misc.Cleaner(s), the split between _discoveredPhantomRefs and _discoveredCleanerRefs is not needed any more right? Will this be a separate simplification?

Yes that’s the plan.
 http://bugs.openjdk.java.net/browse/JDK-8143847

Mandy




More information about the hotspot-gc-dev mailing list