public class CodeInfoQueryResult extends Object
CodeInfoTable.| Modifier and Type | Field and Description |
|---|---|
protected AbstractCodeInfo |
data |
static int |
EMPTY_REFERENCE_MAP
Marker value returned by
CodeInfoQueryResult.getReferenceMapIndex() when the reference map is empty for
the IP. |
static int |
ENTRY_POINT_FRAME_SIZE
Marker value for the frame size of entry points that is used by
CodeInfoQueryResult.isEntryPoint(). |
protected long |
exceptionOffset |
protected FrameInfoQueryResult |
frameInfo |
protected org.graalvm.nativeimage.c.function.CodePointer |
ip |
static int |
NO_EXCEPTION_OFFSET
Marker value returned by
CodeInfoQueryResult.getExceptionOffset() when no exception handler is
registered for the IP. |
protected static FrameInfoQueryResult |
NO_FRAME_INFO
Marker value of
CodeInfoQueryResult.getFrameInfo() when no frame information is available for the
IP. |
static int |
NO_REFERENCE_MAP
Marker value returned by
CodeInfoQueryResult.getReferenceMapIndex() when no reference map is registered
for the IP. |
protected byte[] |
referenceMapEncoding |
protected long |
referenceMapIndex |
protected long |
totalFrameSize |
| Constructor and Description |
|---|
CodeInfoQueryResult() |
| Modifier and Type | Method and Description |
|---|---|
long |
getExceptionOffset()
Returns the exception handler offset, i.e., the IP difference between the regular return
address and the exception handler entry point, for the IP.
|
FrameInfoQueryResult |
getFrameInfo()
Stack frame information used, e.g., for deoptimization and printing of stack frames in debug
builds.
|
org.graalvm.nativeimage.c.function.CodePointer |
getIP()
Returns the instruction pointer that was queried.
|
byte[] |
getReferenceMapEncoding()
Returns the encoded reference map information, to be used together with
CodeInfoQueryResult.getReferenceMapIndex(). |
long |
getReferenceMapIndex()
Index into the
encoded reference map for the IP. |
long |
getTotalFrameSize()
Returns the frame size of the method containing the IP.
|
boolean |
isEntryPoint()
Indicates if the method containing the IP is an entry point method.
|
public static final int ENTRY_POINT_FRAME_SIZE
CodeInfoQueryResult.isEntryPoint().public static final int NO_EXCEPTION_OFFSET
CodeInfoQueryResult.getExceptionOffset() when no exception handler is
registered for the IP.public static final int NO_REFERENCE_MAP
CodeInfoQueryResult.getReferenceMapIndex() when no reference map is registered
for the IP.public static final int EMPTY_REFERENCE_MAP
CodeInfoQueryResult.getReferenceMapIndex() when the reference map is empty for
the IP.protected static final FrameInfoQueryResult NO_FRAME_INFO
CodeInfoQueryResult.getFrameInfo() when no frame information is available for the
IP.protected AbstractCodeInfo data
protected org.graalvm.nativeimage.c.function.CodePointer ip
protected long totalFrameSize
protected long exceptionOffset
protected byte[] referenceMapEncoding
protected long referenceMapIndex
protected FrameInfoQueryResult frameInfo
public org.graalvm.nativeimage.c.function.CodePointer getIP()
public boolean isEntryPoint()
public long getTotalFrameSize()
public long getExceptionOffset()
public byte[] getReferenceMapEncoding()
CodeInfoQueryResult.getReferenceMapIndex(). Encoding is handled by ReferenceMapEncoder, decoding
is handled by ReferenceMapDecoder.public long getReferenceMapIndex()
encoded reference map for the IP.public FrameInfoQueryResult getFrameInfo()