public abstract class GenericSGOIDHeap extends GenericHeap
GenericHeap.ElementInfoMarker| Modifier and Type | Field and Description |
|---|---|
protected IntTable<AllocationContext> |
allocCounts |
protected int |
nextSgoid |
protected IntTable<Allocation> |
sgoids |
attributes, elementInfoMarker, internStringsMap, liveBitValue, markQueue, nLiveObjects, pinDownList, vm, weakRefs| Modifier | Constructor and Description |
|---|---|
protected |
GenericSGOIDHeap(Config config,
KernelState ks) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getNewElementInfoIndex(AllocationContext ctx)
this is called for newXX(..) allocations that are SUT thread specific, i.e.
|
protected AllocationContext |
getSUTAllocationContext(ClassInfo ci,
ThreadInfo ti) |
protected AllocationContext |
getSystemAllocationContext(ClassInfo ci,
ThreadInfo ti,
int anchor) |
protected void |
initAllocationContext(Config config) |
addToInternStrings, addToPinDownList, checkConsistency, cleanUpDanglingReferences, cleanupWeakRefs, createArray, createElementInfo, createObject, gc, get, getArrayClassInfo, getMemento, getMemento, getModifiable, hasChanged, initializeStringObject, isAlive, isGcEnabled, isOutOfMemory, iterator, liveObjects, mark, markChanged, markFinalizableObjects, markStaticRoot, markThreadRoot, newArray, newInternString, newObject, newString, newString, newSystemArray, newSystemObject, newSystemString, newSystemThrowable, queueMark, registerPinDown, registerWeakReference, releasePinDown, remove, removeFromPinDownList, resetVolatiles, restoreVolatiles, set, setGcEnabled, setOutOfMemory, setStored, sweep, unmarkAllprotected int nextSgoid
protected IntTable<Allocation> sgoids
protected IntTable<AllocationContext> allocCounts
protected GenericSGOIDHeap(Config config, KernelState ks)
protected void initAllocationContext(Config config)
protected AllocationContext getSUTAllocationContext(ClassInfo ci, ThreadInfo ti)
getSUTAllocationContext in class GenericHeapprotected AllocationContext getSystemAllocationContext(ClassInfo ci, ThreadInfo ti, int anchor)
getSystemAllocationContext in class GenericHeapprotected int getNewElementInfoIndex(AllocationContext ctx)
GenericHeapgetNewElementInfoIndex in class GenericHeap