public class ConstInsnPathTime extends ListenerAdapter implements TimeModel
| Constructor and Description |
|---|
ConstInsnPathTime(VM vm,
Config conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
choiceGeneratorAdvanced(VM vm,
ChoiceGenerator<?> currentCG)
the next choice was requested from a previously registered ChoiceGenerator
NOTE - this notification happens before the KernelState is stored, i.e.
|
void |
choiceGeneratorRegistered(VM vm,
ChoiceGenerator<?> nextCG,
ThreadInfo ti,
Instruction executedInsn)
next ChoiceGenerator was registered, which means this is the end of the current transition
the reason why we have this in addition to the choiceGeneratorSet is that listeners
can reset the registered CG and so force the current transition to continue (although the
listener in this case has to make sure the operand stack is in a consistent state for
continued execution because there might be a bottom half of an Instruction.execute() missing)
|
protected long |
computeTime() |
long |
currentTimeMillis() |
long |
nanoTime() |
choiceGeneratorProcessed, choiceGeneratorSet, classLoaded, exceptionBailout, exceptionHandled, exceptionThrown, executeInstruction, gcBegin, gcEnd, instructionExecuted, loadClass, methodEntered, methodExited, objectCreated, objectExposed, objectLocked, objectNotify, objectNotifyAll, objectReleased, objectShared, objectUnlocked, objectWait, propertyViolated, publishConstraintHit, publishFinished, publishProbe, publishPropertyViolation, publishStart, publishTransition, searchConstraintHit, searchFinished, searchProbed, searchStarted, stateAdvanced, stateBacktracked, stateProcessed, statePurged, stateRestored, stateStored, threadBlocked, threadInterrupted, threadNotified, threadScheduled, threadStarted, threadTerminated, threadWaiting, vmInitializedprotected long computeTime()
public void choiceGeneratorRegistered(VM vm, ChoiceGenerator<?> nextCG, ThreadInfo ti, Instruction executedInsn)
VMListenerchoiceGeneratorRegistered in interface VMListenerchoiceGeneratorRegistered in class ListenerAdapterpublic void choiceGeneratorAdvanced(VM vm, ChoiceGenerator<?> currentCG)
VMListenerchoiceGeneratorAdvanced in interface VMListenerchoiceGeneratorAdvanced in class ListenerAdapterpublic long currentTimeMillis()
currentTimeMillis in interface TimeModel