|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.vutbr.fit.racedetector.RDVariable
cz.vutbr.fit.racedetector.ERVariable
public class ERVariable
This class contains information gathered concerning the variable. The main Eraser algorithm is implemented in the updateStatus method.
Nested Class Summary | |
---|---|
(package private) static class |
ERVariable.State
|
Field Summary |
---|
Fields inherited from class cz.vutbr.fit.racedetector.RDVariable |
---|
healedByThreads, instance, raceAvoidLock, raceAvoidSemaphore, raceDetected, varName, varNoiseInject, varOmited |
Constructor Summary | |
---|---|
ERVariable(java.lang.Object ins,
java.lang.String str)
|
Method Summary | |
---|---|
java.lang.String |
debugPrint()
Returns string with information which can be helpful for debuging. |
java.lang.String |
getCandidateLocks()
Returns String of candidate lock set of this variable. |
java.lang.String |
getStatus()
Returns String describing the status of the variable. |
java.lang.String |
printVarReport()
This function generate report for variable represented with this object. |
boolean |
updateState(ERThread thread,
java.lang.String programLocation,
RaceDetector.Operation operation)
This method implements Race detection algorithm. |
Methods inherited from class cz.vutbr.fit.racedetector.RDVariable |
---|
prepareHealing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
ERVariable(java.lang.Object ins, java.lang.String str)
Method Detail |
---|
public boolean updateState(ERThread thread, java.lang.String programLocation, RaceDetector.Operation operation)
programLocation
- -
program location of current operationoperation
- -
read or write operation flag
public java.lang.String getStatus()
public java.lang.String getCandidateLocks()
public java.lang.String printVarReport()
public java.lang.String debugPrint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |