public class CodeInfoQueryResult extends Object
CodeInfoTable
.Modifier and Type | Field and Description |
---|---|
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 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.
|
long |
getReferenceMapIndex()
Index into the
CodeInfoAccess.getReferenceMapEncoding(CodeInfo) encoded reference
map} for the code. |
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 org.graalvm.nativeimage.c.function.CodePointer ip
protected long totalFrameSize
protected long exceptionOffset
protected long referenceMapIndex
protected FrameInfoQueryResult frameInfo
public org.graalvm.nativeimage.c.function.CodePointer getIP()
public boolean isEntryPoint()
public long getTotalFrameSize()
public long getExceptionOffset()
public long getReferenceMapIndex()
CodeInfoAccess.getReferenceMapEncoding(CodeInfo)
encoded reference
map} for the code. Encoding is handled by CodeReferenceMapEncoder
, decoding is
handled by CodeReferenceMapDecoder
.public FrameInfoQueryResult getFrameInfo()