public class PSIMHeap extends GenericSGOIDHeap
GenericHeap.ElementInfoMarkerallocCounts, nextSgoid, sgoidsattributes, elementInfoMarker, internStringsMap, liveBitValue, markQueue, nLiveObjects, pinDownList, vm, weakRefs| Constructor and Description |
|---|
PSIMHeap(Config config,
KernelState ks) |
| Modifier and Type | Method and Description |
|---|---|
ElementInfo |
get(int ref)
public getter to access but not change ElementInfos
|
Memento<Heap> |
getMemento() |
Memento<Heap> |
getMemento(MementoFactory factory) |
ElementInfo |
getModifiable(int ref)
public getter to access modifiable ElementInfos;
|
java.util.Iterator<ElementInfo> |
iterator()
return Iterator for all non-null ElementInfo entries
|
java.lang.Iterable<ElementInfo> |
liveObjects() |
protected void |
remove(int ref)
internal remover used by generic sweep
|
void |
resetVolatiles() |
void |
restoreVolatiles() |
protected void |
set(int index,
ElementInfo ei)
internal setter used during allocation
|
int |
size() |
protected void |
sweep()
this implementation uses a generic ElementInfo iterator, it can be replaced
with a more efficient container specific version
|
getNewElementInfoIndex, getSUTAllocationContext, getSystemAllocationContext, initAllocationContextaddToInternStrings, addToPinDownList, checkConsistency, cleanUpDanglingReferences, cleanupWeakRefs, createArray, createElementInfo, createObject, gc, getArrayClassInfo, hasChanged, initializeStringObject, isAlive, isGcEnabled, isOutOfMemory, mark, markChanged, markFinalizableObjects, markStaticRoot, markThreadRoot, newArray, newInternString, newObject, newString, newString, newSystemArray, newSystemObject, newSystemString, newSystemThrowable, queueMark, registerPinDown, registerWeakReference, releasePinDown, removeFromPinDownList, setGcEnabled, setOutOfMemory, setStored, unmarkAllpublic PSIMHeap(Config config, KernelState ks)
public int size()
protected void set(int index,
ElementInfo ei)
GenericHeapset in class GenericHeappublic ElementInfo get(int ref)
GenericHeapget in interface Heapget in class GenericHeappublic ElementInfo getModifiable(int ref)
GenericHeapgetModifiable in interface HeapgetModifiable in class GenericHeapprotected void remove(int ref)
GenericHeapremove in class GenericHeapprotected void sweep()
GenericHeapsweep in class GenericHeappublic java.util.Iterator<ElementInfo> iterator()
GenericHeapiterator in interface java.lang.Iterable<ElementInfo>iterator in class GenericHeappublic java.lang.Iterable<ElementInfo> liveObjects()
liveObjects in interface HeapliveObjects in class GenericHeappublic void resetVolatiles()
resetVolatiles in interface HeapresetVolatiles in class GenericHeappublic void restoreVolatiles()
restoreVolatiles in interface HeaprestoreVolatiles in class GenericHeappublic Memento<Heap> getMemento(MementoFactory factory)
getMemento in interface HeapgetMemento in class GenericHeappublic Memento<Heap> getMemento()
getMemento in interface HeapgetMemento in class GenericHeap