public class ImageCodeInfo extends AbstractCodeInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
CodeInfoDecoder.Options |
static class |
ImageCodeInfo.MemoryWalkerAccessImpl
Methods for MemoryWalker to access image code information.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
CODE_INFO_NAME |
protected byte[] |
codeInfoEncodings |
protected byte[] |
codeInfoIndex |
protected static int |
DELTA_END_OF_TABLE |
protected static int |
EX_BITS |
protected static int |
EX_MASK_IN_PLACE |
protected static int[] |
EX_MEM_SIZE |
protected static int |
EX_NO_HANDLER |
protected static byte[] |
EX_OFFSET |
protected static int |
EX_OFFSET_S1 |
protected static int |
EX_OFFSET_S2 |
protected static int |
EX_OFFSET_S4 |
protected static int |
EX_SHIFT |
protected static int |
FI_BITS |
protected static int |
FI_DEOPT_ENTRY_INDEX_S4 |
protected static int |
FI_INFO_ONLY_INDEX_S4 |
protected static int |
FI_MASK_IN_PLACE |
protected static int[] |
FI_MEM_SIZE |
protected static int |
FI_NO_DEOPT |
protected static byte[] |
FI_OFFSET |
protected static int |
FI_SHIFT |
protected byte[] |
frameInfoEncodings |
protected String[] |
frameInfoNames |
protected Object[] |
frameInfoObjectConstants |
protected String[] |
frameInfoSourceClassNames |
protected String[] |
frameInfoSourceFileNames |
protected String[] |
frameInfoSourceMethodNames |
protected static int |
FS_BITS |
protected static int |
FS_MASK_IN_PLACE |
protected static int[] |
FS_MEM_SIZE |
protected static int |
FS_NO_CHANGE |
protected static byte |
FS_OFFSET |
protected static int |
FS_SHIFT |
protected static int |
FS_SIZE_S1 |
protected static int |
FS_SIZE_S2 |
protected static int |
FS_SIZE_S4 |
protected static byte |
IP_OFFSET |
protected static byte[] |
MEM_SIZE |
protected byte[] |
referenceMapEncoding |
protected static int |
RM_BITS |
protected static int |
RM_EMPTY_MAP |
protected static int |
RM_INDEX_U2 |
protected static int |
RM_INDEX_U4 |
protected static int |
RM_MASK_IN_PLACE |
protected static int[] |
RM_MEM_SIZE |
protected static int |
RM_NO_MAP |
protected static byte[] |
RM_OFFSET |
protected static int |
RM_SHIFT |
protected static int |
TOTAL_BITS |
| Constructor and Description |
|---|
ImageCodeInfo() |
| Modifier and Type | Method and Description |
|---|---|
protected static int |
extractEX(int entryFlags) |
protected static int |
extractFI(int entryFlags) |
protected static int |
extractFS(int entryFlags) |
protected static int |
extractRM(int entryFlags) |
String |
getName() |
protected byte[] |
getReferenceMapEncoding() |
protected static long |
indexGranularity() |
protected boolean |
initFrameInfoReader(long entryOffset,
ReusableTypeReader frameInfoReader) |
protected int |
loadEntryFlags(long curOffset) |
protected void |
lookupCodeInfo(long ip,
CodeInfoQueryResult codeInfo) |
protected long |
lookupCodeInfoEntryOffset(long ip) |
long |
lookupDeoptimizationEntrypoint(long method,
long encodedBci,
CodeInfoQueryResult codeInfo) |
protected static long |
lookupEntryIP(long ip) |
protected long |
lookupExceptionOffset(long ip) |
protected long |
lookupReferenceMapIndex(long ip) |
protected long |
lookupTotalFrameSize(long ip) |
protected void |
setData(byte[] codeInfoIndex,
byte[] codeInfoEncodings,
byte[] referenceMapEncoding,
byte[] frameInfoEncodings,
Object[] frameInfoObjectConstants,
String[] frameInfoSourceClassNames,
String[] frameInfoSourceMethodNames,
String[] frameInfoSourceFileNames,
String[] frameInfoNames) |
void |
setData(org.graalvm.nativeimage.c.function.CFunctionPointer codeStart,
org.graalvm.word.UnsignedWord codeSize) |
boolean |
walkImageCode(MemoryWalker.Visitor visitor)
Walk the image code with a MemoryWalker.
|
absoluteIP, contains, getCodeEnd, getCodeSize, getCodeStart, initFrameInfoReader, nextFrameInfo, relativeIP, setDatapublic static final String CODE_INFO_NAME
protected byte[] codeInfoIndex
protected byte[] codeInfoEncodings
protected byte[] referenceMapEncoding
protected byte[] frameInfoEncodings
protected Object[] frameInfoObjectConstants
protected String[] frameInfoSourceClassNames
protected String[] frameInfoSourceMethodNames
protected String[] frameInfoSourceFileNames
protected String[] frameInfoNames
protected static final int DELTA_END_OF_TABLE
protected static final int FS_BITS
protected static final int FS_SHIFT
protected static final int FS_MASK_IN_PLACE
protected static final int FS_NO_CHANGE
protected static final int FS_SIZE_S1
protected static final int FS_SIZE_S2
protected static final int FS_SIZE_S4
protected static final int[] FS_MEM_SIZE
protected static final int EX_BITS
protected static final int EX_SHIFT
protected static final int EX_MASK_IN_PLACE
protected static final int EX_NO_HANDLER
protected static final int EX_OFFSET_S1
protected static final int EX_OFFSET_S2
protected static final int EX_OFFSET_S4
protected static final int[] EX_MEM_SIZE
protected static final int RM_BITS
protected static final int RM_SHIFT
protected static final int RM_MASK_IN_PLACE
protected static final int RM_NO_MAP
protected static final int RM_EMPTY_MAP
protected static final int RM_INDEX_U2
protected static final int RM_INDEX_U4
protected static final int[] RM_MEM_SIZE
protected static final int FI_BITS
protected static final int FI_SHIFT
protected static final int FI_MASK_IN_PLACE
protected static final int FI_NO_DEOPT
protected static final int FI_DEOPT_ENTRY_INDEX_S4
protected static final int FI_INFO_ONLY_INDEX_S4
protected static final int[] FI_MEM_SIZE
protected static final int TOTAL_BITS
protected static final byte IP_OFFSET
protected static final byte FS_OFFSET
protected static final byte[] EX_OFFSET
protected static final byte[] RM_OFFSET
protected static final byte[] FI_OFFSET
protected static final byte[] MEM_SIZE
public void setData(org.graalvm.nativeimage.c.function.CFunctionPointer codeStart,
org.graalvm.word.UnsignedWord codeSize)
public boolean walkImageCode(MemoryWalker.Visitor visitor)
public String getName()
getName in class AbstractCodeInfoprotected void setData(byte[] codeInfoIndex,
byte[] codeInfoEncodings,
byte[] referenceMapEncoding,
byte[] frameInfoEncodings,
Object[] frameInfoObjectConstants,
String[] frameInfoSourceClassNames,
String[] frameInfoSourceMethodNames,
String[] frameInfoSourceFileNames,
String[] frameInfoNames)
protected long lookupCodeInfoEntryOffset(long ip)
protected void lookupCodeInfo(long ip,
CodeInfoQueryResult codeInfo)
public long lookupDeoptimizationEntrypoint(long method,
long encodedBci,
CodeInfoQueryResult codeInfo)
protected long lookupTotalFrameSize(long ip)
protected long lookupExceptionOffset(long ip)
protected byte[] getReferenceMapEncoding()
protected long lookupReferenceMapIndex(long ip)
protected static long indexGranularity()
protected static long lookupEntryIP(long ip)
protected final int loadEntryFlags(long curOffset)
protected boolean initFrameInfoReader(long entryOffset,
ReusableTypeReader frameInfoReader)
protected static int extractFS(int entryFlags)
protected static int extractEX(int entryFlags)
protected static int extractRM(int entryFlags)
protected static int extractFI(int entryFlags)