APIdia Launch Partner
Top Description Fields Constructors Methods
sun.management

pack-priv Class VMManagementImpl

extends Object
implements VMManagement
Class Inheritance
All Implemented Interfaces
sun.management.VMManagement
Imports
jdk.internal.perf.Perf, sun.management.counter.*, sun.management.counter.perf.*, java.nio.ByteBuffer, java.io.IOException, java.net.InetAddress, .UnknownHostException, java.util.List, .Arrays, .Collections

Implementation of VMManagement interface that accesses the management attributes and operations locally within the same Java virtual machine.

Field Summary

Modifier and TypeField and Description
private static boolean
private static boolean
private static boolean
private boolean
private static boolean
private static boolean
private PerfInstrumentation
private static boolean
private static boolean
private static boolean
private static boolean
private static String
private List<String>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public native boolean
public native int
public String
public native long
public native long
public String
public native long
public String
public native int
public native long
public List<Counter>
public String
public native int
public int
public native long
public String
public native long
public String
public String
public String
public native int
private synchronized PerfInstrumentation
private native int
public native long
public native long
public native long
public native long
public native long
public native long
public native long
public native long
public native long
public native long
public native long
public long
private native long
public native boolean
public native boolean
private static native String
public synchronized List<String>
public native String[]
public String
public String
public String
public String
public String
public String
public String
private static native void
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public native boolean
public boolean
public native boolean
public boolean
public native boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

compTimeMonitoringSupportback to summary
private static boolean compTimeMonitoringSupport
currentThreadCpuTimeSupportback to summary
private static boolean currentThreadCpuTimeSupport
gcNotificationSupportback to summary
private static boolean gcNotificationSupport
noPerfDataback to summary
private boolean noPerfData
objectMonitorUsageSupportback to summary
private static boolean objectMonitorUsageSupport
otherThreadCpuTimeSupportback to summary
private static boolean otherThreadCpuTimeSupport
perfInstrback to summary
private PerfInstrumentation perfInstr
remoteDiagnosticCommandsSupportback to summary
private static boolean remoteDiagnosticCommandsSupport
synchronizerUsageSupportback to summary
private static boolean synchronizerUsageSupport
threadAllocatedMemorySupportback to summary
private static boolean threadAllocatedMemorySupport
threadContentionMonitoringSupportback to summary
private static boolean threadContentionMonitoringSupport
versionback to summary
private static String version
vmArgsback to summary
private List<String> vmArgs

Constructor Detail

VMManagementImplback to summary
pack-priv VMManagementImpl()

Method Detail

endAOTRecordingback to summary
public native boolean endAOTRecording()

Implements sun.management.VMManagement.endAOTRecording.

getAvailableProcessorsback to summary
public native int getAvailableProcessors()

Implements sun.management.VMManagement.getAvailableProcessors.

getBootClassPathback to summary
public String getBootClassPath()

Implements sun.management.VMManagement.getBootClassPath.

getClassInitializationTimeback to summary
public native long getClassInitializationTime()

Implements sun.management.VMManagement.getClassInitializationTime.

getClassLoadingTimeback to summary
public native long getClassLoadingTime()

Implements sun.management.VMManagement.getClassLoadingTime.

getClassPathback to summary
public String getClassPath()

Implements sun.management.VMManagement.getClassPath.

getClassVerificationTimeback to summary
public native long getClassVerificationTime()

Implements sun.management.VMManagement.getClassVerificationTime.

getCompilerNameback to summary
public String getCompilerName()

Implements sun.management.VMManagement.getCompilerName.

getDaemonThreadCountback to summary
public native int getDaemonThreadCount()

Implements sun.management.VMManagement.getDaemonThreadCount.

getInitializedClassCountback to summary
public native long getInitializedClassCount()

Implements sun.management.VMManagement.getInitializedClassCount.

getInternalCountersback to summary
public List<Counter> getInternalCounters(String pattern)

Implements sun.management.VMManagement.getInternalCounters.

getLibraryPathback to summary
public String getLibraryPath()

Implements sun.management.VMManagement.getLibraryPath.

getLiveThreadCountback to summary
public native int getLiveThreadCount()

Implements sun.management.VMManagement.getLiveThreadCount.

getLoadedClassCountback to summary
public int getLoadedClassCount()

Implements sun.management.VMManagement.getLoadedClassCount.

getLoadedClassSizeback to summary
public native long getLoadedClassSize()

Implements sun.management.VMManagement.getLoadedClassSize.

getManagementVersionback to summary
public String getManagementVersion()

Implements sun.management.VMManagement.getManagementVersion.

getMethodDataSizeback to summary
public native long getMethodDataSize()

Implements sun.management.VMManagement.getMethodDataSize.

getOsArchback to summary
public String getOsArch()

Implements sun.management.VMManagement.getOsArch.

getOsNameback to summary
public String getOsName()

Implements sun.management.VMManagement.getOsName.

getOsVersionback to summary
public String getOsVersion()

Implements sun.management.VMManagement.getOsVersion.

getPeakThreadCountback to summary
public native int getPeakThreadCount()

Implements sun.management.VMManagement.getPeakThreadCount.

getPerfInstrumentationback to summary
private synchronized PerfInstrumentation getPerfInstrumentation()
getProcessIdback to summary
private native int getProcessId()
getSafepointCountback to summary
public native long getSafepointCount()

Implements sun.management.VMManagement.getSafepointCount.

getSafepointSyncTimeback to summary
public native long getSafepointSyncTime()

Implements sun.management.VMManagement.getSafepointSyncTime.

getStartupTimeback to summary
public native long getStartupTime()

Implements sun.management.VMManagement.getStartupTime.

getTotalApplicationNonStoppedTimeback to summary
public native long getTotalApplicationNonStoppedTime()

Implements sun.management.VMManagement.getTotalApplicationNonStoppedTime.

getTotalClassCountback to summary
public native long getTotalClassCount()

Implements sun.management.VMManagement.getTotalClassCount.

getTotalCompileTimeback to summary
public native long getTotalCompileTime()

Implements sun.management.VMManagement.getTotalCompileTime.

getTotalGcCpuTimeback to summary
public native long getTotalGcCpuTime()

Implements sun.management.VMManagement.getTotalGcCpuTime.

getTotalSafepointTimeback to summary
public native long getTotalSafepointTime()

Implements sun.management.VMManagement.getTotalSafepointTime.

getTotalThreadCountback to summary
public native long getTotalThreadCount()

Implements sun.management.VMManagement.getTotalThreadCount.

getUnloadedClassCountback to summary
public native long getUnloadedClassCount()

Implements sun.management.VMManagement.getUnloadedClassCount.

getUnloadedClassSizeback to summary
public native long getUnloadedClassSize()

Implements sun.management.VMManagement.getUnloadedClassSize.

getUptimeback to summary
public long getUptime()

Implements sun.management.VMManagement.getUptime.

getUptime0back to summary
private native long getUptime0()
getVerboseClassback to summary
public native boolean getVerboseClass()

Implements sun.management.VMManagement.getVerboseClass.

getVerboseGCback to summary
public native boolean getVerboseGC()

Implements sun.management.VMManagement.getVerboseGC.

getVersion0back to summary
private static native String getVersion0()
getVmArgumentsback to summary
public synchronized List<String> getVmArguments()

Implements sun.management.VMManagement.getVmArguments.

getVmArguments0back to summary
public native String[] getVmArguments0()
getVmIdback to summary
public String getVmId()

Implements sun.management.VMManagement.getVmId.

getVmNameback to summary
public String getVmName()

Implements sun.management.VMManagement.getVmName.

getVmSpecNameback to summary
public String getVmSpecName()

Implements sun.management.VMManagement.getVmSpecName.

getVmSpecVendorback to summary
public String getVmSpecVendor()

Implements sun.management.VMManagement.getVmSpecVendor.

getVmSpecVersionback to summary
public String getVmSpecVersion()

Implements sun.management.VMManagement.getVmSpecVersion.

getVmVendorback to summary
public String getVmVendor()

Implements sun.management.VMManagement.getVmVendor.

getVmVersionback to summary
public String getVmVersion()

Implements sun.management.VMManagement.getVmVersion.

initOptionalSupportFieldsback to summary
private static native void initOptionalSupportFields()
isBootClassPathSupportedback to summary
public boolean isBootClassPathSupported()

Implements sun.management.VMManagement.isBootClassPathSupported.

isCompilationTimeMonitoringSupportedback to summary
public boolean isCompilationTimeMonitoringSupported()

Implements sun.management.VMManagement.isCompilationTimeMonitoringSupported.

isCurrentThreadCpuTimeSupportedback to summary
public boolean isCurrentThreadCpuTimeSupported()

Implements sun.management.VMManagement.isCurrentThreadCpuTimeSupported.

isGcNotificationSupportedback to summary
public boolean isGcNotificationSupported()

Implements sun.management.VMManagement.isGcNotificationSupported.

isObjectMonitorUsageSupportedback to summary
public boolean isObjectMonitorUsageSupported()

Implements sun.management.VMManagement.isObjectMonitorUsageSupported.

isOtherThreadCpuTimeSupportedback to summary
public boolean isOtherThreadCpuTimeSupported()

Implements sun.management.VMManagement.isOtherThreadCpuTimeSupported.

isRemoteDiagnosticCommandsSupportedback to summary
public boolean isRemoteDiagnosticCommandsSupported()

Implements sun.management.VMManagement.isRemoteDiagnosticCommandsSupported.

isSynchronizerUsageSupportedback to summary
public boolean isSynchronizerUsageSupported()

Implements sun.management.VMManagement.isSynchronizerUsageSupported.

isThreadAllocatedMemoryEnabledback to summary
public native boolean isThreadAllocatedMemoryEnabled()

Implements sun.management.VMManagement.isThreadAllocatedMemoryEnabled.

isThreadAllocatedMemorySupportedback to summary
public boolean isThreadAllocatedMemorySupported()

Implements sun.management.VMManagement.isThreadAllocatedMemorySupported.

isThreadContentionMonitoringEnabledback to summary
public native boolean isThreadContentionMonitoringEnabled()

Implements sun.management.VMManagement.isThreadContentionMonitoringEnabled.

isThreadContentionMonitoringSupportedback to summary
public boolean isThreadContentionMonitoringSupported()

Implements sun.management.VMManagement.isThreadContentionMonitoringSupported.

isThreadCpuTimeEnabledback to summary
public native boolean isThreadCpuTimeEnabled()

Implements sun.management.VMManagement.isThreadCpuTimeEnabled.