JDK 9 RFR of 8032397: Remove sun.misc.Ref

Mandy Chung mandy.chung at oracle.com
Wed Jan 22 23:12:09 UTC 2014

On 1/21/2014 5:17 PM, Joe Darcy wrote:
> Hi Alan,
> Updated webrev at
>     http://cr.openjdk.java.net/~darcy/8032397.1/

Looks good to me.

> @see in sun.misc.Ref removed.
> Regression tests updated to not refer to sun.misc.Ref.
> I looked at the use of Ref in jhat and it is only used if 
> java.lang.ref.Reference is not found reflectively, so I think the 
> existing code can stay in place.

I think it's actually better to update jhat and take out the fallback to 
lookup sun.misc.Ref class as it was there to handle 1.1.x heap dump so 
that sun.misc.Ref is "entirely" removed.


More information about the core-libs-dev mailing list