- 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 class
DTFJJavaRuntime.DTFJRootScanner
-
Constructor Summary
Constructors Constructor Description DTFJJavaRuntime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DTFJJavaHeap
getHeapFromAddress(ImagePointer address)
JavaObject
getNestedPackedArrayObject(JavaClass jc, ImagePointer i, int arrayLength)
JavaObject
getNestedPackedObject(JavaClass jc, ImagePointer packedDataAddress)
long
getStartTime()
Return the JVM start time.long
getStartTimeNanos()
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, CorruptDataException
Return the JVM start time.- Specified by:
getStartTime
in 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, CorruptDataException
Return the value of the system nanotime (high resolution timer) at JVM start.- Specified by:
getStartTimeNanos
in 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
-
-