public class CodeInfoTable extends Object
ahead-of-time compiled code in the native image or code compiled at runtime.| Modifier and Type | Class and Description |
|---|---|
static class |
CodeInfoTable.Options |
| Constructor and Description |
|---|
CodeInfoTable() |
| Modifier and Type | Method and Description |
|---|---|
static ImageCodeInfo |
getImageCodeCache() |
static RuntimeCodeInfo |
getRuntimeCodeCache() |
static void |
invalidateInstalledCode(SubstrateInstalledCode installedCode) |
static Log |
logCodeInfoResult(Log log,
org.graalvm.nativeimage.c.function.CodePointer ip) |
static AbstractCodeInfo |
lookupCodeInfo(org.graalvm.nativeimage.c.function.CodePointer ip) |
static CodeInfoQueryResult |
lookupCodeInfoQueryResult(org.graalvm.nativeimage.c.function.CodePointer ip) |
static CodeInfoQueryResult |
lookupDeoptimizationEntrypoint(int deoptOffsetInImage,
long encodedBci) |
static long |
lookupExceptionOffset(org.graalvm.nativeimage.c.function.CodePointer ip) |
static SubstrateInstalledCode |
lookupInstalledCode(org.graalvm.nativeimage.c.function.CodePointer ip)
Retrieves the
InstalledCode that contains the provided instruction pointer. |
static long |
lookupTotalFrameSize(org.graalvm.nativeimage.c.function.CodePointer ip) |
static boolean |
visitObjectReferences(org.graalvm.word.Pointer sp,
org.graalvm.nativeimage.c.function.CodePointer ip,
DeoptimizedFrame deoptimizedFrame,
ObjectReferenceVisitor visitor) |
public static ImageCodeInfo getImageCodeCache()
public static RuntimeCodeInfo getRuntimeCodeCache()
public static CodeInfoQueryResult lookupCodeInfoQueryResult(org.graalvm.nativeimage.c.function.CodePointer ip)
public static CodeInfoQueryResult lookupDeoptimizationEntrypoint(int deoptOffsetInImage, long encodedBci)
public static long lookupTotalFrameSize(org.graalvm.nativeimage.c.function.CodePointer ip)
public static long lookupExceptionOffset(org.graalvm.nativeimage.c.function.CodePointer ip)
public static boolean visitObjectReferences(org.graalvm.word.Pointer sp,
org.graalvm.nativeimage.c.function.CodePointer ip,
DeoptimizedFrame deoptimizedFrame,
ObjectReferenceVisitor visitor)
public static SubstrateInstalledCode lookupInstalledCode(org.graalvm.nativeimage.c.function.CodePointer ip)
InstalledCode that contains the provided instruction pointer. Returns
null if the instruction pointer is not within a runtime compile method.public static void invalidateInstalledCode(SubstrateInstalledCode installedCode)
public static AbstractCodeInfo lookupCodeInfo(org.graalvm.nativeimage.c.function.CodePointer ip)