Method Summary |
|
void | addLockedObject(ElementInfo ei) |
public boolean | atInvoke(String mname) |
public boolean | atLabel(String label) |
public boolean | atMethod(String mname) |
public boolean | atPosition(int position) |
public boolean | atReturn() |
public void | backtrackTo(ArrayOffset storing, Object backtrack) Restores the state of the system. |
void | callThrowableCtor(ClassInfo ci, int objRef, int msgRef) |
public void | callerPop(int n) Pops a set of values from the caller stack frame. |
public void | clearOperandStack() Clears the operand stack of all value. |
public Object | clone() |
public StackFrame[] | cloneStack() |
public int | countStackFrames() Returns the number of stack frames. |
public Instruction | createAndThrowException(ClassInfo ci, String details) Creates an exception and throws it. |
public Instruction | createAndThrowException(String cname) Creates an exception and throws it. |
public Instruction | createAndThrowException(String cname, String details) |
int | createStackTraceElement(String clsName, String mthName, String fileName, int line) |
public void | dup() Duplicates a value on the top stack frame. |
public void | dup2() Duplicates a long value on the top stack frame. |
public void | dup2_x1() Duplicates a long value on the top stack frame. |
public void | dup2_x2() Duplicates a long value on the top stack frame. |
public void | dup_x1() Duplicates a value on the top stack frame. |
public void | dup_x2() Duplicates a value on the top stack frame. |
protected boolean | executeAtomicLinesStep() Executes a step where lines are atomic. |
public Instruction | executeInstruction() Execute next instruction. |
public void | executeMethod(MethodInfo mi) Executes a method call. |
protected boolean | executePorStep() |
public boolean | executeStep() Executes next step. |
public void | finish() |
protected StackFrame | frame(int idx) Returns a specific stack frame. |
protected StackFrame | frameClone(int i) Returns a clone of a specific stack frame. |
public Object | getBacktrackData() Returns the information necessary to backtrack. |
public boolean | getBooleanLocal(String lname) |
public boolean | getBooleanLocal(int lindex) |
public boolean | getBooleanLocal(int fr, String lname) |
public boolean | getBooleanLocal(int fr, int lindex) |
public boolean | getBooleanReturnValue() |
public byte | getByteLocal(String lname) |
public byte | getByteLocal(int lindex) |
public byte | getByteLocal(int fr, String lname) |
public byte | getByteLocal(int fr, int lindex) |
public byte | getByteReturnValue() |
public String[] | getCallStack() |
public String | getCallStackClass(int i) |
public String | getCallStackFile(int i) |
public int | getCallStackLine(int i) |
public String | getCallStackMethod(int i) |
public int | getCalleeThis(MethodInfo mi) Returns the this pointer of the callee from the stack. |
public int | getCalleeThis(int size) Returns the this pointer of the callee from the stack. |
public char | getCharLocal(String lname) |
public char | getCharLocal(int lindex) |
public char | getCharLocal(int fr, String lname) |
public char | getCharLocal(int fr, int lindex) |
public char | getCharReturnValue() |
public ClassInfo | getClassInfo() Returns the class information. |
public static ThreadInfo | getCurrent() |
public double | getDoubleLocal(String lname) |
public double | getDoubleLocal(int lindex) |
public double | getDoubleLocal(int fr, String lname) |
public double | getDoubleLocal(int fr, int lindex) |
public double | getDoubleReturnValue() |
public float | getFloatLocal(String lname) |
public float | getFloatLocal(int lindex) |
public float | getFloatLocal(int fr, String lname) |
public float | getFloatLocal(int fr, int lindex) |
public float | getFloatReturnValue() |
public int | getIndex() |
public int | getIntLocal(String lname) |
public int | getIntLocal(int lindex) |
public int | getIntLocal(int fr, String lname) |
public int | getIntLocal(int fr, int lindex) |
public int | getIntReturnValue() |
public int | getLine() Returns the line number of the program counter of the top stack frame. |
public int | getLine(int idx) Returns the line the thread is at. |
public String[] | getLocalNames() |
public String[] | getLocalNames(int fr) |
public int | getLocalVariable(int fr, int idx) Returns the value of a local variable in a particular frame. |
public int | getLocalVariable(int idx) Returns the value of a local variable. |
public int | getLocalVariable(int fr, String name) Gets the value of a local variable from its name and frame. |
public int | getLocalVariable(String name) Gets the value of a local variable from its name. |
public String | getLocalVariableType(int fr, String name) Gets the type associated with a local variable. |
public String | getLocalVariableType(String name) Gets the type associated with a local variable. |
public int | getLockCount() Returns the number of locks in the last wait. |
public int[] | getLockedObjectReferences() |
public LinkedList | getLockedObjects() |
public long | getLongLocal(String lname) |
public long | getLongLocal(int lindex) |
public long | getLongLocal(int fr, String lname) |
public long | getLongLocal(int fr, int lindex) |
public long | getLongLocalVariable(int fr, int idx) Returns the value of a long local variable. |
public long | getLongLocalVariable(int idx) Returns the value of a long local variable. |
public long | getLongLocalVariable(int fr, String name) Gets the value of a long local variable from its name. |
public long | getLongLocalVariable(String name) Gets the value of a long local variable from its name. |
public long | getLongReturnValue() |
MJIEnv | getMJIEnv() |
public MethodInfo | getMethod() Returns the current method in the top stack frame. |
public MethodInfo | getMethod(int idx) Returns the method info of a specific stack frame. |
public String | getName() |
public Reference | getObjectLocal(String lname) |
public Reference | getObjectLocal(int lindex) |
public Reference | getObjectLocal(int fr, String lname) |
public Reference | getObjectLocal(int fr, int lindex) |
public int | getObjectReference() Returns the object reference. |
public Reference | getObjectReturnValue() |
public Object | getOperandAttr() |
public Object | getOperandAttr(int opStackOffset) |
public Instruction | getPC(int i) Returns the program counter of a stack frame. |
public Instruction | getPC() Returns the program counter of the top stack frame. |
public ExceptionInfo | getPendingException() |
int | getPriority() |
public long | getReturnValue() |
public short | getShortLocal(String lname) |
public short | getShortLocal(int lindex) |
public short | getShortLocal(int fr, String lname) |
public short | getShortLocal(int fr, int lindex) |
public short | getShortReturnValue() |
protected int | getStackFrameIndex(int i) |
public String | getStackTrace() |
public int | getStackTrace(int objref) |
public int | getStatus() Returns the current status of the thread. |
public int[] | getStoringData() Returns the information necessary to store. |
public String | getStringLocal(String lname) |
public String | getStringLocal(int lindex) |
public String | getStringLocal(int fr, String lname) |
public String | getStringLocal(int fr, int lindex) |
public String | getStringReturnValue() |
public int | getTarget() Returns the object reference of the target. |
public int | getThis() |
protected int | getThreadDataIndex() |
public JVM | getVM() |
public boolean | hasOtherRunnables() |
public void | hash(HashData hd) |
public int | hashCode() |
public boolean | holdsLock(ElementInfo ei) |
static boolean | init(Config config) |
void | init(int rGroup, int rRunnable, int rName, long stackSize, boolean setPriority) this is the method that factorizes common Thread object initialization
(get's called by all ctors). |
public void | interrupt() |
public boolean | isAbstractionNonDeterministic() Checks if the thread is waiting to execute a nondeterministic choice
due to an abstraction, i.e. |
public boolean | isAlive() An alive thread is either running, waiting, notified, or interrupted. |
public boolean | isCalleeThis(Reference r) |
boolean | isDaemon() |
public boolean | isEnabled() An enabled thread is either running, notified, or interrupted. |
public boolean | isInCtor() |
public boolean | isInterrupted(boolean resetStatus) |
public boolean | isLocalVariableRef(int idx) Checks if a local variable is a reference. |
public boolean | isNonDeterministic() Checks if the thread is waiting to execute a nondeterministic choice,
due to the use of Verify.random... |
public boolean | isOperandRef() Checks if the top operand is a reference. |
public boolean | isOperandRef(int idx) Checks if an operand is a reference. |
public boolean | isRunnable() Returns true if it is possible to execute the next instruction
of this thread. |
public boolean | isThis(Reference r) |
public void | lock(Ref ref) Called when a lock is acquired. |
public void | log() |
public long | longPeek() Peeks the top long value from the top stack frame. |
public long | longPeek(int n) Peeks a long value from the top stack frame. |
public long | longPop() Pops the top long value from the top stack frame. |
public void | longPush(long v) Pushes a long value of the top stack frame. |
void | markRoots() |
public ElementInfo | objectAtBlockedSynchronized() |
public int | peek() Peeks the top value from the top stack frame. |
public int | peek(int n) Peeks a int value from the top stack frame. |
public int | pop() Pops the top value from the top stack frame. |
public void | pop(int n) Pops a set of values from the top stack frame. |
public boolean | popFrame() Removes a stack frame. |
void | print(PrintWriter pw, String s) |
public void | printInternalErrorTrace(Throwable e) |
public void | printPendingExceptionOn(PrintWriter pw) |
public void | printStackContent() Prints the content of the stack. |
public void | printStackTrace(int objRef) |
public void | printStackTrace(PrintWriter pw, int objRef) |
public void | printStackTrace() Prints the trace of the stack. |
public void | push(int v, boolean ref) Pushes a value on the top stack frame. |
public void | pushFrame(StackFrame frame) Adds a new stack frame for a new called method. |
public void | removeArguments(MethodInfo mi) Removes the arguments of a method call. |
void | removeLockedObject(ElementInfo ei) |
void | resetVolatiles() reset any information that has to be re-computed in a backtrack
(i.e. |
void | setDaemon(boolean isDaemon) |
public void | setLocalVariable(int idx, int v, boolean ref) Sets the value of a local variable. |
public void | setLockCount(int l) Sets the number of locks held at the time of a wait. |
public void | setLongLocalVariable(int idx, long v) Sets the value of a long local variable. |
void | setName(String newName) |
public void | setOperandAttr(Object attr) |
public void | setPC(Instruction pc) Sets the program counter of the top stack frame. |
void | setPriority(int newPrio) |
public void | setReturnValue(long ret) |
protected void | setStackFrameIndex(int i, int idx) |
public void | setStatus(int s) Updates the status of the thread. |
public void | setTarget(int t) Sets the target of the thread. |
protected void | setThreadDataIndex(int idx) |
public void | swap() Swaps two entry on the stack. |
protected ThreadData | threadDataClone() Returns a clone of the thread data. |
public Instruction | throwException(int objref) Throws an exception throught the stack frames. |
public StackFrame | top() Returns the top stack frame. |
protected StackFrame | topClone() Returns a clone of the top stack frame. |
public void | unlock(Ref ref) Called when a lock is released. |
public boolean | usePor() |
public boolean | usePorFieldBoundaries() |
public boolean | usePorSyncDetection() |
public boolean | wasDirectCall() did we call the current method directly, i.e. |
public void | yield() |