public class

VM

extends Object
java.lang.Object
   ↳ sun.misc.VM

Summary

Constants
int STATE_GREEN This constant is deprecated. No replacement.
int STATE_RED This constant is deprecated. No replacement.
int STATE_YELLOW This constant is deprecated. No replacement.
Public Constructors
VM()
Public Methods
static void addFinalRefCount(int n)
static boolean allowArraySyntax()
static boolean allowThreadSuspension(ThreadGroup g, boolean b)
static void asChange(int as_old, int as_new)
This method is deprecated. No replacement.
static void asChange_otherthread(int as_old, int as_new)
This method is deprecated. No replacement.
static void booted()
static int getFinalRefCount()
static int getPeakFinalRefCount()
final static int getState()
This method is deprecated. No replacement.
static void initializeOSEnvironment()
static boolean isBooted()
static long maxDirectMemory()
static void registerVMNotification(VMNotification n)
This method is deprecated. No replacement.
static boolean suspendThreads()
This method is deprecated. No replacement.
static boolean threadsSuspended()
This method is deprecated. No replacement.
static Thread.State toThreadState(int threadStatus)
static void unsuspendSomeThreads()
This method is deprecated. No replacement.
static void unsuspendThreads()
This method is deprecated. No replacement.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int STATE_GREEN

This constant is deprecated.
No replacement.

Constant Value: 1 (0x00000001)

public static final int STATE_RED

This constant is deprecated.
No replacement.

Constant Value: 3 (0x00000003)

public static final int STATE_YELLOW

This constant is deprecated.
No replacement.

Constant Value: 2 (0x00000002)

Public Constructors

public VM ()

Public Methods

public static void addFinalRefCount (int n)

public static boolean allowArraySyntax ()

public static boolean allowThreadSuspension (ThreadGroup g, boolean b)

public static void asChange (int as_old, int as_new)

This method is deprecated.
No replacement.

public static void asChange_otherthread (int as_old, int as_new)

This method is deprecated.
No replacement.

public static void booted ()

public static int getFinalRefCount ()

public static int getPeakFinalRefCount ()

public static final int getState ()

This method is deprecated.
No replacement.

public static void initializeOSEnvironment ()

public static boolean isBooted ()

public static long maxDirectMemory ()

public static void registerVMNotification (VMNotification n)

This method is deprecated.
No replacement.

public static boolean suspendThreads ()

This method is deprecated.
No replacement.

public static boolean threadsSuspended ()

This method is deprecated.
No replacement.

public static Thread.State toThreadState (int threadStatus)

public static void unsuspendSomeThreads ()

This method is deprecated.
No replacement.

public static void unsuspendThreads ()

This method is deprecated.
No replacement.