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, initprotected SparseObjVector<ThreadInfoSet> globalCache
protected ThreadInfoSet getRegisteredSet(int key, ThreadInfo allocThread)
public ThreadInfoSet getThreadInfoSet(ThreadInfo allocThread, DynamicElementInfo ei)
getThreadInfoSet in class SharedObjectPolicypublic ThreadInfoSet getThreadInfoSet(ThreadInfo allocThread, StaticElementInfo ei)
getThreadInfoSet in class SharedObjectPolicypublic boolean isShared(ElementInfo ei, ThreadInfoSet set)
isShared in class SharedObjectPolicypublic Memento<ThreadInfoSet> getMemento(ThreadInfoSet set)
getMemento in class SharedObjectPolicypublic void cleanupThreadTermination(ThreadInfo ti)
cleanupThreadTermination in class SharedObjectPolicy