Class PHDCorruptJavaLocation
java.lang.Object
com.ibm.dtfj.phd.PHDCorruptData
com.ibm.dtfj.phd.PHDCorruptJavaLocation
- All Implemented Interfaces:
CorruptData
,JavaLocation
-
Method Summary
Modifier and TypeMethodDescriptionint
Get the compilation level for this location.Get the source file name.int
Get the line number.Get the method which contains the point of execution.Methods declared in class com.ibm.dtfj.phd.PHDCorruptData
getAddress, toString
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.JavaLocation
equals, getAddress, hashCode, toString
-
Method Details
-
getCompilationLevel
Description copied from interface:JavaLocation
Get 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:
getCompilationLevel
in interfaceJavaLocation
- Returns:
- the compilation level
- Throws:
CorruptDataException
-
getFilename
Description copied from interface:JavaLocation
Get the source file name.- Specified by:
getFilename
in 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:JavaLocation
Get the line number.- Specified by:
getLineNumber
in 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:JavaLocation
Get the method which contains the point of execution.- Specified by:
getMethod
in interfaceJavaLocation
- Returns:
- the method which contains the point of execution
- Throws:
CorruptDataException
-