src/solaris/classes/sun/management/OperatingSystemImpl.java
Print this page
*** 21,46 ****
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package com.sun.management;
- import sun.management.VMManagement;
-
/**
* Implementation class for the operating system.
* Standard and committed hotspot-specific metrics if any.
*
* ManagementFactory.getOperatingSystemMXBean() returns an instance
* of this class.
*/
! class UnixOperatingSystem
! extends sun.management.OperatingSystemImpl
! implements UnixOperatingSystemMXBean {
! UnixOperatingSystem(VMManagement vm) {
super(vm);
}
public native long getCommittedVirtualMemorySize();
public native long getTotalSwapSpaceSize();
--- 21,43 ----
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
! package sun.management;
/**
* Implementation class for the operating system.
* Standard and committed hotspot-specific metrics if any.
*
* ManagementFactory.getOperatingSystemMXBean() returns an instance
* of this class.
*/
! class OperatingSystemImpl extends AbstractOperatingSystemImpl
! implements com.sun.management.UnixOperatingSystemMXBean {
! OperatingSystemImpl(VMManagement vm) {
super(vm);
}
public native long getCommittedVirtualMemorySize();
public native long getTotalSwapSpaceSize();