|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.vutbr.fit.racedetector.ERThreadInfo
class ERThreadInfo
This class is used for keeping information about threads accessing concrete variable. The data are used for understandable reporting of bugs.
Constructor Summary | |
---|---|
ERThreadInfo(java.lang.String programLocation,
RaceDetector.Operation mode)
constructor |
Method Summary | |
---|---|
void |
addThreadCandidateLocks(java.util.Set<javolution.util.Index> locks)
Adds set of locks that are used in the combination of thread/variable. |
Access |
getAtomAccess()
Returns string of program location where the last access to the variable took place and the access mode. |
java.util.Set<javolution.util.Index> |
getThreadCandidateLocks()
Returns a shapshot candidate lock set of the thread with this variable. |
void |
retainThreadCandidateLocks(java.util.Set<javolution.util.Index> locks)
Retains maintained candidates locks for thread/variable combination. |
void |
updateThreadInfo(java.lang.String programLocation,
RaceDetector.Operation mode)
Updates programLocation and access mode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ERThreadInfo(java.lang.String programLocation, RaceDetector.Operation mode)
programLocation
- mode
- Access mode of the variable according to
RaceDetector.READ/WRITE_OPERMethod Detail |
---|
public void addThreadCandidateLocks(java.util.Set<javolution.util.Index> locks)
locks
- public void retainThreadCandidateLocks(java.util.Set<javolution.util.Index> locks)
locks
- public void updateThreadInfo(java.lang.String programLocation, RaceDetector.Operation mode)
programLocation
- mode
- public Access getAtomAccess()
public java.util.Set<javolution.util.Index> getThreadCandidateLocks()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |