public final class Stack
extends java.lang.Object
implements java.io.Serializable
InstrumentMethod| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_ENTRY |
static int |
MAX_SLOTS |
| Modifier and Type | Method and Description |
|---|---|
double |
getDouble(int idx) |
float |
getFloat(int idx) |
int |
getInt(int idx) |
long |
getLong(int idx) |
java.lang.Object |
getObject(int idx) |
static Stack |
getStack() |
boolean |
isFirstInStackOrPushed()
called when nextMethodEntry returns 0
|
int |
nextMethodEntry()
called at the beginning of a method
|
void |
popMethod(int slots) |
void |
postRestore() |
void |
preemptionPoint(int type) |
static void |
push(double value,
Stack s,
int idx) |
static void |
push(float value,
Stack s,
int idx) |
static void |
push(int value,
Stack s,
int idx) |
static void |
push(long value,
Stack s,
int idx) |
static void |
push(java.lang.Object value,
Stack s,
int idx) |
void |
pushMethod(int entry,
int numSlots)
Called before a method is called.
|
public static final int MAX_ENTRY
public static final int MAX_SLOTS
public static Stack getStack()
public final int nextMethodEntry()
public final boolean isFirstInStackOrPushed()
public final void pushMethod(int entry,
int numSlots)
entry - the entry point in the current method for resumenumSlots - the number of required stack slots for storing the state of the current methodpublic final void popMethod(int slots)
public final void postRestore()
throws SuspendExecution,
java.lang.InterruptedException
SuspendExecutionjava.lang.InterruptedExceptionpublic final void preemptionPoint(int type)
throws SuspendExecution
SuspendExecutionpublic static void push(int value,
Stack s,
int idx)
public static void push(float value,
Stack s,
int idx)
public static void push(long value,
Stack s,
int idx)
public static void push(double value,
Stack s,
int idx)
public static void push(java.lang.Object value,
Stack s,
int idx)
public final int getInt(int idx)
public final float getFloat(int idx)
public final long getLong(int idx)
public final double getDouble(int idx)
public final java.lang.Object getObject(int idx)