- java.lang.Object
-
- com.ibm.j9ddr.vm29.view.dtfj.java.DTFJJavaRuntime
-
- All Implemented Interfaces:
JavaRuntime,ManagedRuntime
public class DTFJJavaRuntime extends Object implements JavaRuntime
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDTFJJavaRuntime.DTFJRootScanner
-
Constructor Summary
Constructors Constructor Description DTFJJavaRuntime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DTFJJavaHeapgetHeapFromAddress(ImagePointer address)JavaObjectgetNestedPackedArrayObject(JavaClass jc, ImagePointer i, int arrayLength)JavaObjectgetNestedPackedObject(JavaClass jc, ImagePointer packedDataAddress)longgetStartTime()Return the JVM start time.longgetStartTimeNanos()Return the value of the system nanotime (high resolution timer) at JVM start.-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.java.JavaRuntime
equals, getCompiledMethods, getHeapRoots, getHeaps, getJavaClassLoaders, getJavaVM, getJavaVMInitArgs, getJITProperties, getMemoryCategories, getMemorySections, getMonitors, getObjectAtAddress, getSystemProperty, getThreads, getTraceBuffer, hashCode, isJITEnabled
-
Methods declared in interface com.ibm.dtfj.runtime.ManagedRuntime
getFullVersion, getVersion
-
-
-
-
Method Detail
-
getHeapFromAddress
public DTFJJavaHeap getHeapFromAddress(ImagePointer address)
-
getNestedPackedObject
public JavaObject getNestedPackedObject(JavaClass jc, ImagePointer packedDataAddress) throws DataUnavailable
- Throws:
DataUnavailable
-
getNestedPackedArrayObject
public JavaObject getNestedPackedArrayObject(JavaClass jc, ImagePointer i, int arrayLength) throws DataUnavailable
- Throws:
DataUnavailable
-
getStartTime
public long getStartTime() throws DataUnavailable, CorruptDataExceptionReturn the JVM start time.- Specified by:
getStartTimein interfaceJavaRuntime- Returns:
- long - JVM start time (milliseconds since 1970)
- Throws:
DataUnavailable- if the JVM start time is not availableCorruptDataException- if the JVM start time is corrupted
-
getStartTimeNanos
public long getStartTimeNanos() throws DataUnavailable, CorruptDataExceptionReturn the value of the system nanotime (high resolution timer) at JVM start.- Specified by:
getStartTimeNanosin interfaceJavaRuntime- Returns:
- long - system nanotime at JVM start
- Throws:
DataUnavailable- if the JVM start time is not availableCorruptDataException- if the JVM start time is corrupted
-
-