src/java.management/share/classes/sun/management/BaseOperatingSystemImpl.java

Print this page
rev 12972 : 8140606: Update library code to use internal Unsafe
Reviewed-by: duke

*** 26,36 **** package sun.management; import java.lang.management.OperatingSystemMXBean; import java.lang.management.ManagementFactory; import javax.management.ObjectName; ! import sun.misc.Unsafe; /** * Implementation class for the operating system. * Standard and committed hotspot-specific metrics if any. * --- 26,36 ---- package sun.management; import java.lang.management.OperatingSystemMXBean; import java.lang.management.ManagementFactory; import javax.management.ObjectName; ! import jdk.internal.misc.Unsafe; /** * Implementation class for the operating system. * Standard and committed hotspot-specific metrics if any. *