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, vmInitialized
public ReferenceLocator(Config conf)
protected int[] sort(int[] a)
protected void printLocation(String msg, ThreadInfo ti)
public void objectCreated(VM vm, ThreadInfo ti, ElementInfo ei)
VMListener
objectCreated
in interface VMListener
objectCreated
in class ListenerAdapter
public void objectReleased(VM vm, ThreadInfo ti, ElementInfo ei)
VMListener
objectReleased
in interface VMListener
objectReleased
in class ListenerAdapter
public void instructionExecuted(VM vm, ThreadInfo ti, Instruction nextInsn, Instruction executedInsn)
VMListener
instructionExecuted
in interface VMListener
instructionExecuted
in class ListenerAdapter