|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.btrace.BTraceUtils.Sys.VM
public static class BTraceUtils.Sys.VM
Constructor Summary | |
---|---|
BTraceUtils.Sys.VM()
|
Method Summary | |
---|---|
static java.lang.String |
bootClassPath()
Returns the boot class path that is used by the bootstrap class loader to search for class files. |
static java.lang.String |
classPath()
Returns the Java class path that is used by the system class loader to search for class files. |
static long |
currentThreadCpuTime()
Returns the total CPU time for the current thread in nanoseconds. |
static long |
currentThreadUserTime()
Returns the CPU time that the current thread has executed in user mode in nanoseconds. |
static long |
daemonThreadCount()
Returns the current number of live daemon threads. |
static boolean |
isBootClassPathSupported()
Tests if the Java virtual machine supports the boot class path mechanism used by the bootstrap class loader to search for class files. |
static java.lang.String |
libraryPath()
Returns the Java library path. |
static long |
peakThreadCount()
Returns the peak live thread count since the Java virtual machine started or peak was reset. |
static void |
printVmArguments()
Prints VM input arguments list. |
static long |
threadCount()
Returns the current number of live threads including both daemon and non-daemon threads. |
static long |
totalStartedThreadCount()
Returns the total number of threads created and also started since the Java virtual machine started. |
static java.util.List<java.lang.String> |
vmArguments()
Returns the input arguments passed to the Java virtual machine which does not include the arguments to the main method. |
static long |
vmStartTime()
Returns the start time of the Java virtual machine in milliseconds. |
static long |
vmUptime()
Returns the uptime of the Java virtual machine in milliseconds. |
static java.lang.String |
vmVersion()
Returns the Java virtual machine implementation version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BTraceUtils.Sys.VM()
Method Detail |
---|
public static java.util.List<java.lang.String> vmArguments()
Some Java virtual machine implementations may take input arguments from multiple different sources: for examples, arguments passed from the application that launches the Java virtual machine such as the 'java' command, environment variables, configuration files, etc.
Typically, not all command-line options to the 'java' command are passed to the Java virtual machine. Thus, the returned input arguments may not include all command-line options.
public static void printVmArguments()
vmArguments()
public static java.lang.String vmVersion()
public static boolean isBootClassPathSupported()
public static java.lang.String bootClassPath()
Multiple paths in the boot class path are separated by the path separator character of the platform on which the Java virtual machine is running.
A Java virtual machine implementation may not support
the boot class path mechanism for the bootstrap class loader
to search for class files.
The isBootClassPathSupported()
method can be used
to determine if the Java virtual machine supports this method.
java.lang.UnsupportedOperationException
- if the Java virtual machine does not support this operation.public static java.lang.String classPath()
public static java.lang.String libraryPath()
Multiple paths in the Java library path are separated by the path separator character of the platform of the Java virtual machine being monitored.
public static long threadCount()
public static long peakThreadCount()
public static long totalStartedThreadCount()
public static long daemonThreadCount()
public static long vmStartTime()
public static long vmUptime()
public static long currentThreadCpuTime()
public static long currentThreadUserTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |