public class PathSharednessPolicy extends GenericSharednessPolicy
alwaysBreakOnFields, alwaysBreakOnTypes, breakOnExposure, lockThreshold, logger, neverBreakInMethods, neverBreakOnFields, neverBreakOnTypes, skipConstructedFinals, skipFinals, skipInits, skipStaticFinals, useSyncDetection, vm| Constructor and Description |
|---|
PathSharednessPolicy(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.
|
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, updateSharednesspublic PathSharednessPolicy(Config config)
public void initializeObjectSharedness(ThreadInfo allocThread, DynamicElementInfo ei)
SharednessPolicypublic void initializeClassSharedness(ThreadInfo allocThread, StaticElementInfo ei)
SharednessPolicyprotected FieldLockInfo createFieldLockInfo(ThreadInfo ti, ElementInfo ei, FieldInfo fi)
GenericSharednessPolicycreateFieldLockInfo in class GenericSharednessPolicyprotected boolean checkOtherRunnables(ThreadInfo ti)
checkOtherRunnables in class GenericSharednessPolicy