Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Glossary

TermMeaning
block32 KiB aligned unit of heap memory
line256 B unit of reuse inside a block
granule8 B, the allocation alignment
epochthe number a collection writes into mark words and line marks; never cleared
mutateHeap::mutate, a call during which the thread may allocate and use Gc handles
brandthe 'gc lifetime tying a Gc to one mutate; also the brand! type mapping it back
rootRoot<B>, a handle with no lifetime that keeps its object alive
entrya root-table slot claimed for a reference from outside the heap (Far, cross-heap entries)
tlabthread-local allocation buffer
overflow cursorsecond allocation cursor for medium objects that do not fit the current run
black allocationgiving new objects the marking epoch during concurrent marking
SATBsnapshot at the beginning: the write barrier marks overwritten values during concurrent marking
evacuationcopying live objects out of sparse blocks while marking
forwarding addressthe new address left in an old header after a move
young / oldnot yet / already marked with the last finished epoch (sticky mark bits)
remembered setslots of old objects that were written with young values
promotiona young object becoming old: in place, by move, or into an attached cross-heap
RCreference count of edges from old objects
paritythe bit that tells current counts from the previous generation’s
Fara direct reference from one private heap into another
group collectioncollecting several heaps together to reclaim cycles across them
cross-heapa heap in a shared-memory file, usable by several processes
region / windowthe reserved address range for cross-heaps / one heap’s 16 GiB slice of it
fixed regionthe region at 64 TiB, the same address in every process
superblockthe first page of a cross-heap
attachmenta process’s slot in a cross-heap’s superblock
incarnationa random identity a cross-heap gets at creation
birth stamp32-bit tag in a cross-heap header from the incarnation and the allocation epoch
type keyhash of a shareable type’s name, size and pointer map
pointer mapoffsets of the pointer fields of a shareable type
signature32 bytes (weak word, incarnation, type key) that identify a cross-heap object to another process
owner-onlya cross-heap only its owner may collect (an attached old generation)
mailboxa stack in the superblock where other processes post objects for the owner to act on