RFR [9] 8153286: Move sun.misc.GC to java.rmi ( sun.rmi.transport )

Erik Joelsson erik.joelsson at oracle.com
Mon Apr 4 11:04:05 UTC 2016

Makefile looks good.

If you move Java_sun_rmi_transport_GC_maxObjectInspectionAge out of 
libjava, should you also remove it from the mapfile for libjava?


On 2016-04-04 12:26, Chris Hegarty wrote:
> [ including build-dev ]
>> sun.misc.GC is not "Critical APIs", as defined by JEP 260, so should
>> be moved out of sun.misc and placed into a more appropriate package,
>> where it can be encapsulated.
>> Since GC is only used by RMI, I proposed to move it to the java.rmi
>> module. Since it has a native component, and no other code in java.rmi
>> has, then a new small native library is required.
>> http://cr.openjdk.java.net/~chegar/8153286/
>> https://bugs.openjdk.java.net/browse/JDK-8153286
>> -Chris.

More information about the build-dev mailing list