public final class UntetheredCodeInfoAccess extends Object
UntetheredCodeInfo
objects. All methods in here should only be called
from uninterruptible code as the GC could free the UntetheredCodeInfo
otherwise.Modifier and Type | Method and Description |
---|---|
static org.graalvm.nativeimage.c.function.CodePointer |
getCodeEnd(UntetheredCodeInfo info) |
static org.graalvm.word.UnsignedWord |
getCodeSize(UntetheredCodeInfo info) |
static org.graalvm.nativeimage.c.function.CodePointer |
getCodeStart(UntetheredCodeInfo info) |
static String |
getName(UntetheredCodeInfo info) |
static <T> T |
getObjectFieldUnsafe(UntetheredCodeInfo info,
int index) |
static int |
getState(UntetheredCodeInfo info) |
static Object |
getTetherUnsafe(UntetheredCodeInfo info)
Try to avoid using this method.
|
static int |
getTier(UntetheredCodeInfo info) |
static boolean |
isAlive(UntetheredCodeInfo info) |
public static Object getTetherUnsafe(UntetheredCodeInfo info)
public static org.graalvm.nativeimage.c.function.CodePointer getCodeStart(UntetheredCodeInfo info)
CodeInfoImpl.getCodeStart()
public static org.graalvm.nativeimage.c.function.CodePointer getCodeEnd(UntetheredCodeInfo info)
public static org.graalvm.word.UnsignedWord getCodeSize(UntetheredCodeInfo info)
CodeInfoImpl.getCodeSize()
public static int getTier(UntetheredCodeInfo info)
public static <T> T getObjectFieldUnsafe(UntetheredCodeInfo info, int index)
public static int getState(UntetheredCodeInfo info)
public static boolean isAlive(UntetheredCodeInfo info)
CodeInfoAccess.isAliveState(int)
public static String getName(UntetheredCodeInfo info)