public class ReferenceLocator extends ListenerAdapter
| Constructor and Description |
|---|
ReferenceLocator(Config conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
instructionExecuted(VM vm,
ThreadInfo ti,
Instruction nextInsn,
Instruction executedInsn)
VM has executed the next instruction
(can be used to analyze branches, monitor PUTFIELD / GETFIELD and
INVOKExx / RETURN instructions)
|
void |
objectCreated(VM vm,
ThreadInfo ti,
ElementInfo ei)
new object was created
|
void |
objectReleased(VM vm,
ThreadInfo ti,
ElementInfo ei)
object was garbage collected (after potential finalization)
|
protected void |
printLocation(String msg,
ThreadInfo ti) |
protected int[] |
sort(int[] a) |
choiceGeneratorAdvanced, choiceGeneratorProcessed, choiceGeneratorRegistered, choiceGeneratorSet, classLoaded, exceptionBailout, exceptionHandled, exceptionThrown, executeInstruction, gcBegin, gcEnd, loadClass, methodEntered, methodExited, objectLocked, objectNotify, objectNotifyAll, objectUnlocked, objectWait, propertyViolated, publishConstraintHit, publishFinished, publishPropertyViolation, publishStart, publishTransition, searchConstraintHit, searchFinished, searchStarted, stateAdvanced, stateBacktracked, stateProcessed, statePurged, stateRestored, stateStored, threadBlocked, threadInterrupted, threadNotified, threadScheduled, threadStarted, threadTerminated, threadWaiting, vmInitializedpublic ReferenceLocator(Config conf)
protected int[] sort(int[] a)
protected void printLocation(String msg, ThreadInfo ti)
public void objectCreated(VM vm, ThreadInfo ti, ElementInfo ei)
VMListenerobjectCreated in interface VMListenerobjectCreated in class ListenerAdapterpublic void objectReleased(VM vm, ThreadInfo ti, ElementInfo ei)
VMListenerobjectReleased in interface VMListenerobjectReleased in class ListenerAdapterpublic void instructionExecuted(VM vm, ThreadInfo ti, Instruction nextInsn, Instruction executedInsn)
VMListenerinstructionExecuted in interface VMListenerinstructionExecuted in class ListenerAdapter