- java.lang.Object
-
- com.ibm.j9ddr.view.dtfj.image.J9DDRImage
-
- All Implemented Interfaces:
Image
,ManagedImage
public class J9DDRImage extends Object implements ManagedImage
Image implementation that wraps a J9DDR ICore
-
-
Constructor Summary
Constructors Constructor Description J9DDRImage(ICore coreFile)
J9DDRImage(URI source, ICore coreFile, ImageInputStream meta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ICore
getCore()
long
getCreationTime()
Return the dump creation time.long
getCreationTimeNanos()
Return the value of the system nanotime (high resolution timer) at dump creation time.Properties
getProperties()
Return OS properties (as obtained by the JVM, no support in the core readers)boolean
isClosed()
-
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.image.Image
close, getAddressSpaces, getHostName, getInstalledMemory, getIPAddresses, getProcessorCount, getProcessorSubType, getProcessorType, getSource, getSystemSubType, getSystemType, isTruncated
-
Methods declared in interface com.ibm.dtfj.utils.ManagedImage
getImageSource, setImageSource
-
-
-
-
Constructor Detail
-
J9DDRImage
public J9DDRImage(ICore coreFile)
-
J9DDRImage
public J9DDRImage(URI source, ICore coreFile, ImageInputStream meta)
-
-
Method Detail
-
getCore
public ICore getCore()
-
getCreationTime
public long getCreationTime() throws DataUnavailable
Return the dump creation time. See JTC-JAT 92709, we now obtain this from a field in the J9RAS structure that is set by the JVM dump agent when the dump is triggered. If that is not available, we revert to obtaining the creation time via the core readers from a timestamp that the OS puts in the dump. This is supported in system dumps on Windows and zOS, but not Linux or AIX.- Specified by:
getCreationTime
in interfaceImage
- Returns:
- long - dump creation time (milliseconds since 1970)
- Throws:
DataUnavailable
-
getProperties
public Properties getProperties()
Return OS properties (as obtained by the JVM, no support in the core readers)- Specified by:
getProperties
in interfaceImage
- Returns:
- Properties (may be empty)
-
isClosed
public boolean isClosed()
-
getCreationTimeNanos
public long getCreationTimeNanos() throws DataUnavailable, CorruptDataException
Return the value of the system nanotime (high resolution timer) at dump creation time. See JTC-JAT 92709, we obtain this from a field in the J9RAS structure that is set by the JVM dump agent when the dump is triggered.- Specified by:
getCreationTimeNanos
in interfaceImage
- Returns:
- long - system nanotime
- Throws:
DataUnavailable
- if the image creation time is not availableCorruptDataException
- if the image creation time is corrupted
-
-