public class GlobalTrackingPolicy extends SharedObjectPolicy
Modifier and Type | Field and Description |
---|---|
protected SparseObjVector<ThreadInfoSet> |
globalCache |
singleton
Constructor and Description |
---|
GlobalTrackingPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
cleanupThreadTermination(ThreadInfo ti) |
Memento<ThreadInfoSet> |
getMemento(ThreadInfoSet set) |
protected ThreadInfoSet |
getRegisteredSet(int key,
ThreadInfo allocThread) |
ThreadInfoSet |
getThreadInfoSet(ThreadInfo allocThread,
DynamicElementInfo ei) |
ThreadInfoSet |
getThreadInfoSet(ThreadInfo allocThread,
StaticElementInfo ei) |
boolean |
isShared(ElementInfo ei,
ThreadInfoSet set) |
getPolicy, init
protected SparseObjVector<ThreadInfoSet> globalCache
protected ThreadInfoSet getRegisteredSet(int key, ThreadInfo allocThread)
public ThreadInfoSet getThreadInfoSet(ThreadInfo allocThread, DynamicElementInfo ei)
getThreadInfoSet
in class SharedObjectPolicy
public ThreadInfoSet getThreadInfoSet(ThreadInfo allocThread, StaticElementInfo ei)
getThreadInfoSet
in class SharedObjectPolicy
public boolean isShared(ElementInfo ei, ThreadInfoSet set)
isShared
in class SharedObjectPolicy
public Memento<ThreadInfoSet> getMemento(ThreadInfoSet set)
getMemento
in class SharedObjectPolicy
public void cleanupThreadTermination(ThreadInfo ti)
cleanupThreadTermination
in class SharedObjectPolicy