| Modifier and Type | Class and Description |
|---|---|
| public static interface | VM.
Provides access to information on buffer usage. |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static long | |
| private static volatile int | |
| private static volatile int | |
| private static final int | |
| private static boolean | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final Object | |
| private static final int | |
| private static Boolean | |
| private static volatile int | |
| private static Map | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static List | |
| public static native long | getegid()
Returns the effective group ID of the calling process, or -1 if the value is not available. |
| public static native long | |
| public static int | |
| public static native long | |
| public static native long | Returns: A nanosecond time stamp adjustment in the form of a single long. If the offset is too far off the current time, this method returns -1. In that case, the caller should call this method again, passing a more accurate offset.The offset in seconds from which the nanosecond
time stamp should be computed. offsetInSeconds)Get a nanosecond time stamp adjustment in the form of a single long. |
| public static int | |
| public static native String[] | |
| public static Map | getSavedProperties()
Gets an unmodifiable view of the system properties saved at system initialization time. |
| public static String | getSavedProperty(String key)
Returns the system property of the specified key saved at system initialization time. |
| public static native long | |
| public static PrintStream | |
| private static native void | |
| public static void | |
| public static void | |
| public static int | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | isSupportedClassFileVersion(int major, int minor)
Tests if the given version is a supported |
| public static boolean | isSupportedModuleDescriptorVersion(int major, int minor)
Tests if the given version is a supported |
| public static boolean | isSystemDomainLoader(ClassLoader loader)
Returns true if the given class loader is the bootstrap class loader or the platform class loader. |
| public static ClassLoader | |
| private static native ClassLoader | |
| public static long | |
| public static void | |
| public static void | |
| public static void | |
| public static Thread. |
| directMemory | back to summary |
|---|---|
| private static long directMemory | |
| finalRefCount | back to summary |
|---|---|
| private static volatile int finalRefCount | |
| initLevel | back to summary |
|---|---|
| private static volatile int initLevel | |
| JAVA_LANG_SYSTEM_INITED | back to summary |
|---|---|
| private static final int JAVA_LANG_SYSTEM_INITED | |
| javaLangInvokeInited | back to summary |
|---|---|
| private static boolean javaLangInvokeInited
| |
| JVMTI_THREAD_STATE_ALIVE | back to summary |
|---|---|
| private static final int JVMTI_THREAD_STATE_ALIVE | |
| JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER | back to summary |
|---|---|
| private static final int JVMTI_THREAD_STATE_BLOCKED_ON_MONITOR_ENTER | |
| JVMTI_THREAD_STATE_RUNNABLE | back to summary |
|---|---|
| private static final int JVMTI_THREAD_STATE_RUNNABLE | |
| JVMTI_THREAD_STATE_TERMINATED | back to summary |
|---|---|
| private static final int JVMTI_THREAD_STATE_TERMINATED | |
| JVMTI_THREAD_STATE_WAITING_INDEFINITELY | back to summary |
|---|---|
| private static final int JVMTI_THREAD_STATE_WAITING_INDEFINITELY | |
| JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT | back to summary |
|---|---|
| private static final int JVMTI_THREAD_STATE_WAITING_WITH_TIMEOUT | |
| lock | back to summary |
|---|---|
| private static final Object lock | |
| MODULE_SYSTEM_INITED | back to summary |
|---|---|
| private static final int MODULE_SYSTEM_INITED | |
| pageAlignDirectMemory | back to summary |
|---|---|
| private static Boolean pageAlignDirectMemory
| |
| peakFinalRefCount | back to summary |
|---|---|
| private static volatile int peakFinalRefCount | |
| savedProps | back to summary |
|---|---|
| private static Map<String, String> savedProps | |
| SYSTEM_BOOTED | back to summary |
|---|---|
| private static final int SYSTEM_BOOTED | |
| SYSTEM_LOADER_INITIALIZING | back to summary |
|---|---|
| private static final int SYSTEM_LOADER_INITIALIZING | |
| SYSTEM_SHUTDOWN | back to summary |
|---|---|
| private static final int SYSTEM_SHUTDOWN | |
| VM | back to summary |
|---|---|
| public VM() | |
| addFinalRefCount | back to summary |
|---|---|
| public static void addFinalRefCount(int n) | |
| awaitInitLevel | back to summary |
|---|---|
| public static void awaitInitLevel(int value) throws InterruptedException Waits for the init level to get the given value. | |
| getBufferPools | back to summary |
|---|---|
public static List
| |
| getegid | back to summary |
|---|---|
| public static native long getegid() Returns the effective group ID of the calling process, or -1 if the value is not available. | |
| geteuid | back to summary |
|---|---|
| public static native long geteuid() Returns the effective user ID of the calling process, or -1 if the value is not available. | |
| getFinalRefCount | back to summary |
|---|---|
| public static int getFinalRefCount() | |
| getgid | back to summary |
|---|---|
| public static native long getgid() Returns the real group ID of the calling process, or -1 if the value is not available. | |
| getNanoTimeAdjustment | back to summary |
|---|---|
| public static native long getNanoTimeAdjustment(long offsetInSeconds) Get a nanosecond time stamp adjustment in the form of a single long.
This value can be used to create an instant using
The value returned has the best resolution available to the JVM on the current system. This is usually down to microseconds - or tenth of microseconds - depending on the OS/Hardware and the JVM implementation. API Note The offset should be recent enough - so that
| |
| getPeakFinalRefCount | back to summary |
|---|---|
| public static int getPeakFinalRefCount() | |
| getRuntimeArguments | back to summary |
|---|---|
| public static native String[] getRuntimeArguments() Returns the VM arguments for this runtime environment. Implementation Note The HotSpot JVM processes the input arguments from multiple sources in the following order: 1. JAVA_TOOL_OPTIONS environment variable 2. Options from JNI Invocation API 3. _JAVA_OPTIONS environment variable If VM options file is specified via -XX:VMOptionsFile, the vm options file is read and expanded in place of -XX:VMOptionFile option. | |
| getSavedProperties | back to summary |
|---|---|
| public static Map Gets an unmodifiable view of the system properties saved at system initialization time. This method should only be used for the system properties that are not changed during runtime. Note that the saved system properties do not include the ones set by java.lang.VersionProps.init(). | |
| getSavedProperty | back to summary |
|---|---|
| public static String getSavedProperty(String key) Returns the system property of the specified key saved at system initialization time. This method should only be used for the system properties that are not changed during runtime. Note that the saved system properties do not include the ones set by java.lang.VersionProps.init(). | |
| getuid | back to summary |
|---|---|
| public static native long getuid() Returns the real user ID of the calling process, or -1 if the value is not available. | |
| initialErr | back to summary |
|---|---|
| public static PrintStream initialErr() Return the initial value of System.err that was set during VM initialization. | |
| initialize | back to summary |
|---|---|
| private static native void initialize() | |
| initializeOSEnvironment | back to summary |
|---|---|
| public static void initializeOSEnvironment() | |
| initLevel | back to summary |
|---|---|
| public static void initLevel(int value) Sets the init level. | |
| initLevel | back to summary |
|---|---|
| public static int initLevel() Returns the current init level. | |
| isBooted | back to summary |
|---|---|
| public static boolean isBooted() Returns | |
| isDirectMemoryPageAligned | back to summary |
|---|---|
| public static boolean isDirectMemoryPageAligned() | |
| isJavaLangInvokeInited | back to summary |
|---|---|
| public static boolean isJavaLangInvokeInited() | |
| isModuleSystemInited | back to summary |
|---|---|
| public static boolean isModuleSystemInited() Returns
| |
| isSetUID | back to summary |
|---|---|
| public static boolean isSetUID() Returns | |
| isShutdown | back to summary |
|---|---|
| public static boolean isShutdown() Returns | |
| isSupportedClassFileVersion | back to summary |
|---|---|
| public static boolean isSupportedClassFileVersion(int major, int minor) Tests if the given version is a supported
| |
| isSupportedModuleDescriptorVersion | back to summary |
|---|---|
| public static boolean isSupportedModuleDescriptorVersion(int major, int minor) Tests if the given version is a supported | |
| isSystemDomainLoader | back to summary |
|---|---|
| public static boolean isSystemDomainLoader(ClassLoader loader) Returns true if the given class loader is the bootstrap class loader or the platform class loader. | |
| latestUserDefinedLoader | back to summary |
|---|---|
| public static ClassLoader latestUserDefinedLoader() | |
| latestUserDefinedLoader0 | back to summary |
|---|---|
| private static native ClassLoader latestUserDefinedLoader0() | |
| maxDirectMemory | back to summary |
|---|---|
| public static long maxDirectMemory() | |
| saveProperties | back to summary |
|---|---|
| public static void saveProperties(Map<String, String> props) | |
| setJavaLangInvokeInited | back to summary |
|---|---|
| public static void setJavaLangInvokeInited() | |
| shutdown | back to summary |
|---|---|
| public static void shutdown() Set shutdown state. Shutdown completes when all registered shutdown hooks have been run.
| |
| toThreadState | back to summary |
|---|---|
| public static Thread. Returns Thread.State for the given threadStatus | |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| public String | |
| public long |
| getCount | back to summary |
|---|---|
| public long getCount() | |
| getMemoryUsed | back to summary |
|---|---|
| public long getMemoryUsed() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getTotalCapacity | back to summary |
|---|---|
| public long getTotalCapacity() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final List |
| Access | Constructor and Description |
|---|---|
| private |
| BUFFER_POOLS | back to summary |
|---|---|
| pack-priv static final List<VM. | |
| BufferPoolsHolder | back to summary |
|---|---|
| private BufferPoolsHolder() | |