public class OOMEInjector extends ListenerAdapter
Constructor and Description |
---|
OOMEInjector(Config config,
JPF jpf) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkCallerForOOM(StackFrame frame,
Instruction insn) |
void |
classLoaded(VM vm,
ClassInfo loadedClass)
new class was loaded.
|
void |
executeInstruction(VM vm,
ThreadInfo ti,
Instruction insnToExecute)
VM is about to execute the next instruction
|
void |
instructionExecuted(VM vm,
ThreadInfo ti,
Instruction insn,
Instruction executedInsn)
VM has executed the next instruction
(can be used to analyze branches, monitor PUTFIELD / GETFIELD and
INVOKExx / RETURN instructions)
|
protected void |
markMatchingInstructions(MethodInfo mi,
LocationSpec locSpec) |
choiceGeneratorAdvanced, choiceGeneratorProcessed, choiceGeneratorRegistered, choiceGeneratorSet, exceptionBailout, exceptionHandled, exceptionThrown, gcBegin, gcEnd, loadClass, methodEntered, methodExited, objectCreated, objectLocked, objectNotify, objectNotifyAll, objectReleased, 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
protected void markMatchingInstructions(MethodInfo mi, LocationSpec locSpec)
public void classLoaded(VM vm, ClassInfo loadedClass)
VMListener
classLoaded
in interface VMListener
classLoaded
in class ListenerAdapter
protected boolean checkCallerForOOM(StackFrame frame, Instruction insn)
public void executeInstruction(VM vm, ThreadInfo ti, Instruction insnToExecute)
VMListener
executeInstruction
in interface VMListener
executeInstruction
in class ListenerAdapter
public void instructionExecuted(VM vm, ThreadInfo ti, Instruction insn, Instruction executedInsn)
VMListener
instructionExecuted
in interface VMListener
instructionExecuted
in class ListenerAdapter