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 |
elementInfoMarker, internStrings, liveBitValue, markQueue, 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, markStaticRoot, markThreadRoot, newArray, newInternString, newObject, newString, newString, newSystemArray, newSystemObject, newSystemString, newSystemThrowable, queueMark, registerPinDown, registerWeakReference, releasePinDown, remove, removeFromPinDownList, resetVolatiles, restoreVolatiles, set, setGcEnabled, setOutOfMemory, setStored, sweep, unmarkAll
protected 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 GenericHeap
protected AllocationContext getSystemAllocationContext(ClassInfo ci, ThreadInfo ti, int anchor)
getSystemAllocationContext
in class GenericHeap
protected int getNewElementInfoIndex(AllocationContext ctx)
GenericHeap
getNewElementInfoIndex
in class GenericHeap