java.lang.Object
com.ibm.dtfj.phd.PHDCorruptData
com.ibm.dtfj.phd.PHDCorruptJavaLocation
- All Implemented Interfaces:
CorruptData,JavaLocation
-
Method Summary
Modifier and TypeMethodDescriptionintGet the compilation level for this location.Get the source file name.intGet the line number.Get the method which contains the point of execution.Methods declared in class com.ibm.dtfj.phd.PHDCorruptData
getAddress, toStringMethods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods declared in interface com.ibm.dtfj.java.JavaLocation
equals, getAddress, hashCode, toString
-
Method Details
-
getCompilationLevel
Description copied from interface:JavaLocationGet the compilation level for this location. This is an implementation defined number indicating the level at which the current location was compiled. 0 indicates interpreted. Any positive number indicates some level of JIT compilation. Typically, higher numbers indicate more aggressive compilation strategiesFor native methods, a non-zero compilation level indicates that some level of JIT compilation has been applied to the native call (e.g. a custom native call stub). To determine if the method is native, use getMethod().getModifiers().
- Specified by:
getCompilationLevelin interfaceJavaLocation- Returns:
- the compilation level
- Throws:
CorruptDataException
-
getFilename
Description copied from interface:JavaLocationGet the source file name.- Specified by:
getFilenamein interfaceJavaLocation- Returns:
- the name of the source file, if available, or throws DataUnavailable if it is not available
- Throws:
DataUnavailable- if the source file name is unavailable in the coreCorruptDataException
-
getLineNumber
Description copied from interface:JavaLocationGet the line number.- Specified by:
getLineNumberin interfaceJavaLocation- Returns:
- the line number, if available, or throws DataUnavailable if it is not available Line numbers are counted from 1
- Throws:
DataUnavailable- if the line number data is not available for this locationCorruptDataException
-
getMethod
Description copied from interface:JavaLocationGet the method which contains the point of execution.- Specified by:
getMethodin interfaceJavaLocation- Returns:
- the method which contains the point of execution
- Throws:
CorruptDataException
-