Class: sun.management.VMManagementImpl
- class VMManagementImpl
- implements VMManagement
Implementation of VMManagement interface that accesses the management
attributes and operations locally within the same Java virtual
machine.
Methods
-
VMManagementImpltop
VMManagementImpl() -
getAvailableProcessorstop
public native int getAvailableProcessors()- Specified by:
- getAvailableProcessors from VMManagement
-
getBootClassPathtop
public String getBootClassPath()- Specified by:
- getBootClassPath from VMManagement
-
getClassInitializationTimetop
public native long getClassInitializationTime()- Specified by:
- getClassInitializationTime from VMManagement
-
getClassLoadingTimetop
public native long getClassLoadingTime()- Specified by:
- getClassLoadingTime from VMManagement
-
getClassPathtop
public String getClassPath()- Specified by:
- getClassPath from VMManagement
-
getClassVerificationTimetop
public native long getClassVerificationTime()- Specified by:
- getClassVerificationTime from VMManagement
-
getCompilerNametop
public String getCompilerName()- Specified by:
- getCompilerName from VMManagement
-
getDaemonThreadCounttop
public native int getDaemonThreadCount()- Specified by:
- getDaemonThreadCount from VMManagement
-
getInitializedClassCounttop
public native long getInitializedClassCount()- Specified by:
- getInitializedClassCount from VMManagement
-
getInternalCounterstop
- Specified by:
- getInternalCounters from VMManagement
-
getLibraryPathtop
public String getLibraryPath()- Specified by:
- getLibraryPath from VMManagement
-
getLiveThreadCounttop
public native int getLiveThreadCount()- Specified by:
- getLiveThreadCount from VMManagement
-
getLoadedClassCounttop
public int getLoadedClassCount()- Specified by:
- getLoadedClassCount from VMManagement
-
getLoadedClassSizetop
public native long getLoadedClassSize()- Specified by:
- getLoadedClassSize from VMManagement
-
getManagementVersiontop
public String getManagementVersion()- Specified by:
- getManagementVersion from VMManagement
-
getMethodDataSizetop
public native long getMethodDataSize()- Specified by:
- getMethodDataSize from VMManagement
-
getOsArchtop
public String getOsArch()- Specified by:
- getOsArch from VMManagement
-
getOsNametop
public String getOsName()- Specified by:
- getOsName from VMManagement
-
getOsVersiontop
public String getOsVersion()- Specified by:
- getOsVersion from VMManagement
-
getPeakThreadCounttop
public native int getPeakThreadCount()- Specified by:
- getPeakThreadCount from VMManagement
-
getPerfInstrumentationtop
synchronized private PerfInstrumentation getPerfInstrumentation() -
getProcessIdtop
native private int getProcessId() -
getSafepointCounttop
public native long getSafepointCount()- Specified by:
- getSafepointCount from VMManagement
-
getSafepointSyncTimetop
public native long getSafepointSyncTime()- Specified by:
- getSafepointSyncTime from VMManagement
-
getStartupTimetop
public native long getStartupTime()- Specified by:
- getStartupTime from VMManagement
-
getTotalApplicationNonStoppedTimetop
public native long getTotalApplicationNonStoppedTime()- Specified by:
- getTotalApplicationNonStoppedTime from VMManagement
-
getTotalClassCounttop
public native long getTotalClassCount()- Specified by:
- getTotalClassCount from VMManagement
-
getTotalCompileTimetop
public native long getTotalCompileTime()- Specified by:
- getTotalCompileTime from VMManagement
-
getTotalSafepointTimetop
public native long getTotalSafepointTime()- Specified by:
- getTotalSafepointTime from VMManagement
-
getTotalThreadCounttop
public native long getTotalThreadCount()- Specified by:
- getTotalThreadCount from VMManagement
-
getUnloadedClassCounttop
public native long getUnloadedClassCount()- Specified by:
- getUnloadedClassCount from VMManagement
-
getUnloadedClassSizetop
public native long getUnloadedClassSize()- Specified by:
- getUnloadedClassSize from VMManagement
-
getVerboseClasstop
public native boolean getVerboseClass()- Specified by:
- getVerboseClass from VMManagement
-
getVerboseGCtop
public native boolean getVerboseGC()- Specified by:
- getVerboseGC from VMManagement
-
getVersion0top
static native private String getVersion0() -
getVmArgumentstop
- Specified by:
- getVmArguments from VMManagement
-
getVmArguments0top
public native String[] getVmArguments0() -
getVmIdtop
public String getVmId()- Specified by:
- getVmId from VMManagement
-
getVmNametop
public String getVmName()- Specified by:
- getVmName from VMManagement
-
getVmSpecNametop
public String getVmSpecName()- Specified by:
- getVmSpecName from VMManagement
-
getVmSpecVendortop
public String getVmSpecVendor()- Specified by:
- getVmSpecVendor from VMManagement
-
getVmSpecVersiontop
public String getVmSpecVersion()- Specified by:
- getVmSpecVersion from VMManagement
-
getVmVendortop
public String getVmVendor()- Specified by:
- getVmVendor from VMManagement
-
getVmVersiontop
public String getVmVersion()- Specified by:
- getVmVersion from VMManagement
-
initOptionalSupportFieldstop
static native private void initOptionalSupportFields() -
isBootClassPathSupportedtop
public boolean isBootClassPathSupported()- Specified by:
- isBootClassPathSupported from VMManagement
-
isCompilationTimeMonitoringSupportedtop
public boolean isCompilationTimeMonitoringSupported()- Specified by:
- isCompilationTimeMonitoringSupported from VMManagement
-
isCurrentThreadCpuTimeSupportedtop
public boolean isCurrentThreadCpuTimeSupported()- Specified by:
- isCurrentThreadCpuTimeSupported from VMManagement
-
isObjectMonitorUsageSupportedtop
public boolean isObjectMonitorUsageSupported()- Specified by:
- isObjectMonitorUsageSupported from VMManagement
-
isOtherThreadCpuTimeSupportedtop
public boolean isOtherThreadCpuTimeSupported()- Specified by:
- isOtherThreadCpuTimeSupported from VMManagement
-
isSynchronizerUsageSupportedtop
public boolean isSynchronizerUsageSupported()- Specified by:
- isSynchronizerUsageSupported from VMManagement
-
isThreadContentionMonitoringEnabledtop
public native boolean isThreadContentionMonitoringEnabled()- Specified by:
- isThreadContentionMonitoringEnabled from VMManagement
-
isThreadContentionMonitoringSupportedtop
public boolean isThreadContentionMonitoringSupported()- Specified by:
- isThreadContentionMonitoringSupported from VMManagement
-
isThreadCpuTimeEnabledtop
public native boolean isThreadCpuTimeEnabled()- Specified by:
- isThreadCpuTimeEnabled from VMManagement
Fields
-
bootClassPathSupport
static private boolean bootClassPathSupport -
compTimeMonitoringSupport
static private boolean compTimeMonitoringSupport -
currentThreadCpuTimeSupport
static private boolean currentThreadCpuTimeSupport -
noPerfData
private boolean noPerfData -
objectMonitorUsageSupport
static private boolean objectMonitorUsageSupport -
otherThreadCpuTimeSupport
static private boolean otherThreadCpuTimeSupport -
perfInstr
private PerfInstrumentation perfInstr -
synchronizerUsageSupport
static private boolean synchronizerUsageSupport -
threadContentionMonitoringSupport
static private boolean threadContentionMonitoringSupport -
version
static private String version -
vmArgs
