public class LockSetThresholdFli extends ThresholdFieldLockInfo
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
lockRefSet |
remainingChecksempty, 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, isProtectedclone, getEmptyFieldLockInfo, isFinal, needsPindownpublic LockSetThresholdFli(ThreadInfo ti, int[] currentLockRefs, int checkThreshold)
protected int[] getCandidateLockSet()
getCandidateLockSet in class FieldLockInfoprotected 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 FieldLockInfopublic FieldLockInfo cleanUp(Heap heap)
cleanUp in class FieldLockInfopublic java.lang.String toString()
toString in class java.lang.Object