public class GlobalSharednessPolicy extends GenericSharednessPolicy
Modifier and Type | Field and Description |
---|---|
protected SparseObjVector<FieldLockInfo> |
globalFliCache |
protected SparseObjVector<ThreadInfoSet> |
globalTisCache |
alwaysBreakOnFields, alwaysBreakOnTypes, breakOnExposure, lockThreshold, logger, neverBreakInMethods, neverBreakOnFields, neverBreakOnTypes, skipConstructedFinals, skipFinals, skipInits, skipStaticFinals, useSyncDetection, vm
Constructor and Description |
---|
GlobalSharednessPolicy(Config config) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkOtherRunnables(ThreadInfo ti) |
protected FieldLockInfo |
createFieldLockInfo(ThreadInfo ti,
ElementInfo ei,
FieldInfo fi)
static attribute filters that determine if the check..Access() and check..Exposure() methods should be called.
|
protected FieldLockInfo |
getRegisteredFieldLockInfo(int key,
ThreadInfo ti) |
protected ThreadInfoSet |
getRegisteredThreadInfoSet(int key,
ThreadInfo allocThread) |
void |
initializeClassSharedness(ThreadInfo allocThread,
StaticElementInfo ei)
initializeSharednessPolicy class specific sharedness data
|
void |
initializeObjectSharedness(ThreadInfo allocThread,
DynamicElementInfo ei)
initializeSharednessPolicy object specific sharedness data
|
canHaveSharedArrayCG, canHaveSharedClassCG, canHaveSharednessCG, canHaveSharedObjectCG, cleanupThreadTermination, getRunnableCG, getRunnables, initializeSharednessPolicy, isFirstExposure, isInNeverBreakMethod, isRelevantArrayAccess, isRelevantStaticFieldAccess, setAttributes, setFieldAttributes, setNextChoiceGenerator, setsExposureCG, setsSharedArrayCG, setsSharedClassCG, setsSharedClassExposureCG, setsSharedObjectCG, setsSharedObjectExposureCG, setTypeAttributes, updateArraySharedness, updateClassSharedness, updateFieldLockInfo, updateObjectSharedness, updateSharedness
protected SparseObjVector<ThreadInfoSet> globalTisCache
protected SparseObjVector<FieldLockInfo> globalFliCache
public GlobalSharednessPolicy(Config config)
protected ThreadInfoSet getRegisteredThreadInfoSet(int key, ThreadInfo allocThread)
protected FieldLockInfo getRegisteredFieldLockInfo(int key, ThreadInfo ti)
protected boolean checkOtherRunnables(ThreadInfo ti)
checkOtherRunnables
in class GenericSharednessPolicy
public void initializeObjectSharedness(ThreadInfo allocThread, DynamicElementInfo ei)
SharednessPolicy
public void initializeClassSharedness(ThreadInfo allocThread, StaticElementInfo ei)
SharednessPolicy
protected FieldLockInfo createFieldLockInfo(ThreadInfo ti, ElementInfo ei, FieldInfo fi)
GenericSharednessPolicy
createFieldLockInfo
in class GenericSharednessPolicy