LiveStackFrame represents a frame storing data and partial results.
Each frame has its own array of local variables (JVMS section 2.6.1),
its own operand stack (JVMS section 2.6.2) for a method invocation.
| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | LiveStackFrame.
UNSUPPORTED This interface is intended to be package-private or moved to an internal package. |
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | Returns: the local variable array of this stack frame.Gets the local variable array of this stack frame. |
| public Object[] | Returns: the monitors held by this stack framesReturn the monitors held by this stack frame. |
| public Object[] | Returns: the operand stack of this stack frame.Gets the operand stack of this stack frame. |
| public static StackWalker | |
| public static StackWalker | getStackWalker(Set<StackWalker.
stack walk optionsoptionsGets a |
| public static StackWalker | getStackWalker(Set<StackWalker.
stack walk options,optionsthe continuation scope up to which (inclusive) to walk the stack contScope)Gets a |
| public static StackWalker | getStackWalker(Continuation
the continuation to walk continuation)Gets |
| public static StackWalker | getStackWalker(Set<StackWalker.
stack walk options,optionsthe continuation to walk continuation)Gets a |
| getLocals | back to summary |
|---|---|
| public Object[] getLocals() Gets the local variable array of this stack frame. A single local variable can hold a value of type boolean, byte, char,
short, int, float, reference or returnAddress. A pair of local variables
can hold a value of type long or double (JVMS section 2.6.1). Primitive
locals are represented in the returned array as The current VM implementation does not provide specific type information for primitive locals. This method simply returns the raw contents of the VM's primitive locals on a best-effort basis, without indicating a specific type. The returned array may contain null entries for local variables that are not live. Implementation Note The specific subclass of How a long or double value is stored in the pair of
The contents of the unused, high-order portion of a
| |
| getMonitors | back to summary |
|---|---|
| public Object[] getMonitors() Return the monitors held by this stack frame. This method returns an empty array if no monitor is held by this stack frame.
| |
| getStack | back to summary |
|---|---|
| public Object[] getStack() Gets the operand stack of this stack frame. The 0-th element of the returned array represents the top of the operand stack. This method returns an empty array if the operand stack is empty. Each entry on the operand stack can hold a value of any Java Virtual
Machine Type.
For a value of primitive type, the element in the returned array is
a
| |
| getStackWalker | back to summary |
|---|---|
| public static StackWalker getStackWalker() Gets | |
| getStackWalker | back to summary |
|---|---|
| public static StackWalker getStackWalker(Set<StackWalker. Gets a
| |
| getStackWalker | back to summary |
|---|---|
| public static StackWalker getStackWalker(Set<StackWalker. Gets a
| |
| getStackWalker | back to summary |
|---|---|
| public static StackWalker getStackWalker(Continuation continuation) Gets
| |
| getStackWalker | back to summary |
|---|---|
| public static StackWalker getStackWalker(Set<StackWalker. Gets a
| |
Represents a local variable or an entry on the operand stack whose value is of primitive type.
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the int value if this primitive value is of size 4Returns the int value if this primitive value is of size 4 |
| public long | Returns: the long value if this primitive value is of size 8Returns the long value if this primitive value is of size 8 |
| public abstract int |
| PrimitiveSlot | back to summary |
|---|---|
| pack-priv PrimitiveSlot() Constructor. | |
| intValue | back to summary |
|---|---|
| public int intValue() Returns the int value if this primitive value is of size 4
| |
| longValue | back to summary |
|---|---|
| public long longValue() Returns the long value if this primitive value is of size 8
| |
| size | back to summary |
|---|---|
| public abstract int size() Returns the size, in bytes, of the slot. | |