public class FrameInfoDecoder extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FrameInfoDecoder.FrameInfoQueryResultAllocator |
static interface |
FrameInfoDecoder.ValueInfoAllocator |
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BCI_SHIFT |
protected static int |
COMPRESSED_FRAME_POINTER_ADDEND
Value added to source line to guarantee the value is greater than zero.
|
protected static int |
COMPRESSED_SOURCE_LINE_ADDEND
Value added to source line to guarantee the value is greater than zero.
|
protected static int |
COMPRESSED_UNIQUE_SUCCESSOR_ADDEND
Value subtracted from the negated method name index when there is a unique shared frame
successor to guarantee the value is less than zero.
|
protected static int |
DURING_CALL_MASK |
protected static int |
IS_COMPRESSED_REFERENCE_BITS |
protected static int |
IS_COMPRESSED_REFERENCE_MASK_IN_PLACE |
protected static int |
IS_COMPRESSED_REFERENCE_SHIFT |
protected static int |
IS_ELIMINATED_MONITOR_KIND_VALUE
Value not used by
JavaKind as a marker for eliminated monitors. |
protected static int |
KIND_BITS |
protected static int |
KIND_MASK_IN_PLACE |
protected static int |
KIND_SHIFT |
protected static jdk.vm.ci.meta.JavaKind[] |
KIND_VALUES |
protected static int |
NO_CALLER_BCI |
protected static int |
NO_LOCAL_INFO_BCI |
protected static int |
RETHROW_EXCEPTION_MASK |
protected static int |
TYPE_BITS |
protected static int |
TYPE_MASK_IN_PLACE |
protected static int |
TYPE_SHIFT |
protected static int |
UNCOMPRESSED_FRAME_SLICE_MARKER
Differentiates between compressed and uncompressed frame slices.
|
| Constructor and Description |
|---|
FrameInfoDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected static int |
decodeBci(long encodedBci) |
protected static boolean |
decodeDuringCall(long encodedBci) |
protected static FrameInfoQueryResult |
decodeFrameInfo(boolean isDeoptEntry,
org.graalvm.compiler.core.common.util.TypeReader readBuffer,
CodeInfo info,
FrameInfoDecoder.FrameInfoQueryResultAllocator resultAllocator,
FrameInfoDecoder.ValueInfoAllocator valueInfoAllocator) |
protected static FrameInfoQueryResult |
decodeFrameInfo(boolean isDeoptEntry,
org.graalvm.compiler.core.common.util.TypeReader readBuffer,
CodeInfo info,
FrameInfoDecoder.FrameInfoQueryResultAllocator resultAllocator,
FrameInfoDecoder.ValueInfoAllocator valueInfoAllocator,
CodeInfoAccess.FrameInfoState state) |
protected static boolean |
decodeRethrowException(long encodedBci) |
protected static boolean |
encodeSourceReferences() |
protected static boolean |
isFrameInfoMatch(long frameInfoIndex,
NonmovableArray<Byte> frameInfoEncodings,
long searchEncodedBci) |
static void |
logReadableBci(Log log,
long encodedBci) |
static String |
readableBci(long encodedBci) |
protected static final int BCI_SHIFT
protected static final int DURING_CALL_MASK
protected static final int RETHROW_EXCEPTION_MASK
protected static final int NO_CALLER_BCI
protected static final int NO_LOCAL_INFO_BCI
protected static final int UNCOMPRESSED_FRAME_SLICE_MARKER
CompressedFrameDecoderHelper#isCompressedFrameSlice(int) for more information.protected static final int COMPRESSED_FRAME_POINTER_ADDEND
protected static final int COMPRESSED_UNIQUE_SUCCESSOR_ADDEND
protected static final int COMPRESSED_SOURCE_LINE_ADDEND
protected static final int TYPE_BITS
protected static final int TYPE_SHIFT
protected static final int TYPE_MASK_IN_PLACE
protected static final int KIND_BITS
protected static final int KIND_SHIFT
protected static final int KIND_MASK_IN_PLACE
protected static final int IS_ELIMINATED_MONITOR_KIND_VALUE
JavaKind as a marker for eliminated monitors. The kind of a monitor
is always JavaKind.Object.protected static final int IS_COMPRESSED_REFERENCE_BITS
protected static final int IS_COMPRESSED_REFERENCE_SHIFT
protected static final int IS_COMPRESSED_REFERENCE_MASK_IN_PLACE
protected static final jdk.vm.ci.meta.JavaKind[] KIND_VALUES
protected static boolean isFrameInfoMatch(long frameInfoIndex,
NonmovableArray<Byte> frameInfoEncodings,
long searchEncodedBci)
protected static FrameInfoQueryResult decodeFrameInfo(boolean isDeoptEntry, org.graalvm.compiler.core.common.util.TypeReader readBuffer, CodeInfo info, FrameInfoDecoder.FrameInfoQueryResultAllocator resultAllocator, FrameInfoDecoder.ValueInfoAllocator valueInfoAllocator)
protected static FrameInfoQueryResult decodeFrameInfo(boolean isDeoptEntry, org.graalvm.compiler.core.common.util.TypeReader readBuffer, CodeInfo info, FrameInfoDecoder.FrameInfoQueryResultAllocator resultAllocator, FrameInfoDecoder.ValueInfoAllocator valueInfoAllocator, CodeInfoAccess.FrameInfoState state)
protected static boolean encodeSourceReferences()
protected static int decodeBci(long encodedBci)
protected static boolean decodeDuringCall(long encodedBci)
protected static boolean decodeRethrowException(long encodedBci)
public static String readableBci(long encodedBci)
public static void logReadableBci(Log log, long encodedBci)