public class HeapTracker extends PropertyListenerAdapter
| Constructor and Description |
|---|
HeapTracker(Config config,
JPF jpf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Search search,
VM vm)
return 'false' if property is violated
|
void |
gcBegin(VM vm)
VMListener interface
|
void |
gcEnd(VM vm) |
String |
getErrorMessage() |
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 |
printElementInfo(ElementInfo ei)
private stuff
|
void |
publishFinished(Publisher publisher)
PublisherExtension interface
|
void |
searchStarted(Search search)
SearchListener interface
|
void |
stateAdvanced(Search search)
got the next state
Note - this will be notified before any potential propertyViolated, in which
case the currentError will be already set
|
void |
stateBacktracked(Search search)
state was backtracked one step
|
choiceGeneratorAdvanced, choiceGeneratorProcessed, choiceGeneratorRegistered, choiceGeneratorSet, classLoaded, exceptionBailout, exceptionHandled, exceptionThrown, executeInstruction, instructionExecuted, loadClass, methodEntered, methodExited, objectLocked, objectNotify, objectNotifyAll, objectUnlocked, objectWait, propertyViolated, publishConstraintHit, publishPropertyViolation, publishStart, publishTransition, reset, searchConstraintHit, searchFinished, stateProcessed, statePurged, stateRestored, stateStored, threadBlocked, threadInterrupted, threadNotified, threadScheduled, threadStarted, threadTerminated, threadWaiting, vmInitializedgetExplanation, printOnpublic boolean check(Search search, VM vm)
check in interface Propertycheck in class PropertyListenerAdapterpublic String getErrorMessage()
getErrorMessage in interface PropertygetErrorMessage in class GenericPropertypublic void searchStarted(Search search)
searchStarted in interface SearchListenersearchStarted in class PropertyListenerAdapterpublic void stateAdvanced(Search search)
SearchListenerstateAdvanced in interface SearchListenerstateAdvanced in class PropertyListenerAdapterpublic void stateBacktracked(Search search)
SearchListenerstateBacktracked in interface SearchListenerstateBacktracked in class PropertyListenerAdapterpublic void publishFinished(Publisher publisher)
publishFinished in interface PublisherExtensionpublishFinished in class PropertyListenerAdapterpublic void gcBegin(VM vm)
gcBegin in interface VMListenergcBegin in class PropertyListenerAdapterpublic void gcEnd(VM vm)
gcEnd in interface VMListenergcEnd in class PropertyListenerAdapterpublic void objectCreated(VM vm, ThreadInfo ti, ElementInfo ei)
VMListenerobjectCreated in interface VMListenerobjectCreated in class PropertyListenerAdapterpublic void objectReleased(VM vm, ThreadInfo ti, ElementInfo ei)
VMListenerobjectReleased in interface VMListenerobjectReleased in class PropertyListenerAdapterprotected void printElementInfo(ElementInfo ei)