|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectJVMTI
public class JVMTI
Access point for the Sun JVM Tool Interface (JVMTI).
Since profiling requires special vm initialization,
you must use the command line vm option "-Xruncalljvmti".
That option loads the native library with filename:
calljvmti.dll on Windows
libcalljvmti.jnilib on Mac
libcalljvmti.so on Linux and Solaris
Constructor Summary | |
---|---|
JVMTI()
|
Method Summary | |
---|---|
static long |
getCurrentThreadCpuTime()
Call this method from a user application to report running times to a user. |
static long |
getCurrentThreadCpuTimeUnsafe()
WARNING: Call this method from test code only. |
static boolean |
isLoaded()
|
static boolean |
isProfilerRunning()
|
static void |
main(String[] args)
Test/debug |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JVMTI()
Method Detail |
---|
public static boolean isLoaded()
public static long getCurrentThreadCpuTimeUnsafe()
getCurrentThreadCpuTime()
public static long getCurrentThreadCpuTime()
public static boolean isProfilerRunning()
public static void main(String[] args)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |