public class VM
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_GREEN
Deprecated.
|
static int |
STATE_RED
Deprecated.
|
static int |
STATE_YELLOW
Deprecated.
|
| Constructor and Description |
|---|
VM() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addFinalRefCount(int n) |
static boolean |
allowArraySyntax() |
static boolean |
allowGetCallerClass() |
static boolean |
allowThreadSuspension(java.lang.ThreadGroup g,
boolean b) |
static void |
asChange_otherthread(int as_old,
int as_new)
Deprecated.
|
static void |
asChange(int as_old,
int as_new)
Deprecated.
|
static void |
booted() |
static int |
getFinalRefCount() |
static int |
getPeakFinalRefCount() |
static java.lang.String |
getSavedProperty(java.lang.String key)
Returns the system property of the specified key saved at
system initialization time.
|
static int |
getState()
Deprecated.
|
static void |
initializeOSEnvironment() |
static boolean |
isBooted() |
static boolean |
isDirectMemoryPageAligned() |
static java.lang.ClassLoader |
latestUserDefinedLoader() |
static long |
maxDirectMemory() |
static void |
registerVMNotification(sun.misc.VMNotification n)
Deprecated.
|
static void |
saveAndRemoveProperties(java.util.Properties props) |
static boolean |
suspendThreads()
Deprecated.
|
static boolean |
threadsSuspended()
Deprecated.
|
static java.lang.Thread.State |
toThreadState(int threadStatus)
Returns Thread.State for the given threadStatus
|
static void |
unsuspendSomeThreads()
Deprecated.
|
static void |
unsuspendThreads()
Deprecated.
|
@Deprecated public static final int STATE_GREEN
@Deprecated public static final int STATE_YELLOW
@Deprecated public static final int STATE_RED
@Deprecated public static boolean threadsSuspended()
public static boolean allowThreadSuspension(java.lang.ThreadGroup g,
boolean b)
@Deprecated public static boolean suspendThreads()
@Deprecated public static void unsuspendThreads()
@Deprecated public static void unsuspendSomeThreads()
@Deprecated public static final int getState()
@Deprecated public static void registerVMNotification(sun.misc.VMNotification n)
@Deprecated
public static void asChange(int as_old,
int as_new)
@Deprecated
public static void asChange_otherthread(int as_old,
int as_new)
public static void booted()
public static boolean isBooted()
public static long maxDirectMemory()
public static boolean isDirectMemoryPageAligned()
public static boolean allowArraySyntax()
public static boolean allowGetCallerClass()
public static java.lang.String getSavedProperty(java.lang.String key)
public static void saveAndRemoveProperties(java.util.Properties props)
public static void initializeOSEnvironment()
public static int getFinalRefCount()
public static int getPeakFinalRefCount()
public static void addFinalRefCount(int n)
public static java.lang.Thread.State toThreadState(int threadStatus)
public static java.lang.ClassLoader latestUserDefinedLoader()