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, vmInitializedprotected void markMatchingInstructions(MethodInfo mi, LocationSpec locSpec)
public void classLoaded(VM vm, ClassInfo loadedClass)
VMListenerclassLoaded in interface VMListenerclassLoaded in class ListenerAdapterprotected boolean checkCallerForOOM(StackFrame frame, Instruction insn)
public void executeInstruction(VM vm, ThreadInfo ti, Instruction insnToExecute)
VMListenerexecuteInstruction in interface VMListenerexecuteInstruction in class ListenerAdapterpublic void instructionExecuted(VM vm, ThreadInfo ti, Instruction insn, Instruction executedInsn)
VMListenerinstructionExecuted in interface VMListenerinstructionExecuted in class ListenerAdapter