public class LockSetThresholdFli extends ThresholdFieldLockInfo
Modifier and Type | Field and Description |
---|---|
protected int[] |
lockRefSet |
remainingChecks
empty, tiLastCheck
Constructor and Description |
---|
LockSetThresholdFli(ThreadInfo ti,
int[] currentLockRefs,
int checkThreshold) |
Modifier and Type | Method and Description |
---|---|
FieldLockInfo |
checkProtection(ThreadInfo ti,
ElementInfo ei,
FieldInfo fi) |
FieldLockInfo |
cleanUp(Heap heap)
only called at the end of the gc on all live objects.
|
protected int[] |
getCandidateLockSet() |
protected LockSetThresholdFli |
lockSetThresholdFli(ThreadInfo ti,
int[] lockRefs,
int remainingChecks) |
protected SingleLockThresholdFli |
singleLockThresholdFli(ThreadInfo ti,
int lockRef,
int remainingChecks)
override this for search global FieldLockInfos
|
java.lang.String |
toString() |
checkFailedLockAssumption, getInstance, isProtected
clone, getEmptyFieldLockInfo, isFinal, needsPindown
public LockSetThresholdFli(ThreadInfo ti, int[] currentLockRefs, int checkThreshold)
protected int[] getCandidateLockSet()
getCandidateLockSet
in class FieldLockInfo
protected SingleLockThresholdFli singleLockThresholdFli(ThreadInfo ti, int lockRef, int remainingChecks)
protected LockSetThresholdFli lockSetThresholdFli(ThreadInfo ti, int[] lockRefs, int remainingChecks)
public FieldLockInfo checkProtection(ThreadInfo ti, ElementInfo ei, FieldInfo fi)
checkProtection
in class FieldLockInfo
public FieldLockInfo cleanUp(Heap heap)
cleanUp
in class FieldLockInfo
public java.lang.String toString()
toString
in class java.lang.Object