public final class RuntimeMethodInfo extends AbstractCodeInfo
| Modifier and Type | Class and Description |
|---|---|
static class |
CodeInfoDecoder.Options |
| Modifier and Type | Field and Description |
|---|---|
protected PinnedAllocator |
allocator
The pinned allocator used to allocate all code meta data that is accessed during garbage
collection.
|
protected byte[] |
codeInfoEncodings |
protected byte[] |
codeInfoIndex |
protected InstalledCodeObserver.InstalledCodeObserverHandle[] |
codeObserverHandles |
protected ObjectReferenceWalker |
constantsWalker
Provides the GC with the root pointers embedded into the runtime compiled code.
|
protected static int |
DELTA_END_OF_TABLE |
protected byte[] |
deoptimizationEncodings |
protected Object[] |
deoptimizationObjectConstants |
protected int[] |
deoptimizationStartOffsets |
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 Class<?>[] |
frameInfoSourceClasses |
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 WeakReference<SubstrateInstalledCode> |
installedCode
The handle to the compiled code for the outside world.
|
protected static byte |
IP_OFFSET |
protected static byte[] |
MEM_SIZE |
protected String |
name
The
name of the InstalledCode. |
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 int |
tier
The index of the compilation tier that was used to compile the respective code.
|
protected static int |
TOTAL_BITS |
| 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() |
int |
getTier() |
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) |
long |
lookupTotalFrameSize(long ip) |
protected void |
setData(byte[] codeInfoIndex,
byte[] codeInfoEncodings,
byte[] referenceMapEncoding,
byte[] frameInfoEncodings,
Object[] frameInfoObjectConstants,
Class<?>[] frameInfoSourceClasses,
String[] frameInfoSourceMethodNames,
String[] frameInfoNames) |
void |
setData(org.graalvm.nativeimage.c.function.CodePointer codeStart,
org.graalvm.word.UnsignedWord codeSize,
SubstrateInstalledCode installedCode,
int tier,
ObjectReferenceWalker constantsWalker,
PinnedAllocator allocator,
InstalledCodeObserver.InstalledCodeObserverHandle[] codeObserverHandles) |
absoluteIP, contains, getCodeEnd, getCodeSize, getCodeStart, initFrameInfoReader, nextFrameInfo, relativeIP, setDataprotected int[] deoptimizationStartOffsets
protected byte[] deoptimizationEncodings
protected Object[] deoptimizationObjectConstants
protected String name
name of the InstalledCode. Stored in a separate field so
that it is available even after the code is no longer available.
Note that the String is not pinned, so this field must not be
accessed during garbage collection.protected int tier
protected WeakReference<SubstrateInstalledCode> installedCode
pinned, so this field must not be accessed during garbage collection.protected ObjectReferenceWalker constantsWalker
pinned.protected PinnedAllocator allocator
released only after the code has been
invalidated and it is guaranteed that no more stack frame of the code is present.protected InstalledCodeObserver.InstalledCodeObserverHandle[] codeObserverHandles
protected byte[] codeInfoIndex
protected byte[] codeInfoEncodings
protected byte[] referenceMapEncoding
protected byte[] frameInfoEncodings
protected Object[] frameInfoObjectConstants
protected Class<?>[] frameInfoSourceClasses
protected String[] frameInfoSourceMethodNames
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 String getName()
getName in class AbstractCodeInfopublic int getTier()
public void setData(org.graalvm.nativeimage.c.function.CodePointer codeStart,
org.graalvm.word.UnsignedWord codeSize,
SubstrateInstalledCode installedCode,
int tier,
ObjectReferenceWalker constantsWalker,
PinnedAllocator allocator,
InstalledCodeObserver.InstalledCodeObserverHandle[] codeObserverHandles)
protected void setData(byte[] codeInfoIndex,
byte[] codeInfoEncodings,
byte[] referenceMapEncoding,
byte[] frameInfoEncodings,
Object[] frameInfoObjectConstants,
Class<?>[] frameInfoSourceClasses,
String[] frameInfoSourceMethodNames,
String[] frameInfoNames)
protected long lookupCodeInfoEntryOffset(long ip)
protected void lookupCodeInfo(long ip,
CodeInfoQueryResult codeInfo)
public long lookupDeoptimizationEntrypoint(long method,
long encodedBci,
CodeInfoQueryResult codeInfo)
public 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)