public abstract class ThresholdFieldLockInfo extends FieldLockInfo implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected int |
remainingChecks |
empty, tiLastCheck
Modifier | Constructor and Description |
---|---|
protected |
ThresholdFieldLockInfo(int remainingChecks) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkFailedLockAssumption(ThreadInfo ti,
ElementInfo ei,
FieldInfo fi) |
protected FieldLockInfo |
getInstance(int nRemaining)
this implements a path-local FieldLockInfo that are never mutated
this has to be overridden for search global FieldLockInfos
|
boolean |
isProtected() |
checkProtection, cleanUp, clone, getCandidateLockSet, getEmptyFieldLockInfo, isFinal, needsPindown
public boolean isProtected()
isProtected
in class FieldLockInfo
protected void checkFailedLockAssumption(ThreadInfo ti, ElementInfo ei, FieldInfo fi)
protected FieldLockInfo getInstance(int nRemaining)