SegregatedGC

Members

Functions

addRange
void addRange(void* p, size_t sz, TypeInfo ti)

Add range to scan for roots.

addrOf
void* addrOf(void* p)

Determine the base address of the block containing p. If p is not a gc allocated pointer, return null.

extend
size_t extend(void* p, size_t minsize, size_t maxsize, TypeInfo ti)

Attempt to in-place enlarge the memory block pointed to by p by at least minsize bytes, up to a maximum of maxsize additional bytes. This does not attempt to move the memory block (like realloc() does).

profileStats
core.memory.GC.ProfileStats profileStats()

Retrieve profile statistics about garbage collection. Useful for debugging and tuning.

query
BlkInfo query(void* p)

Determine the base address of the block containing p. If p is not a gc allocated pointer, return null.

removeRange
void removeRange(void* p)

Remove range p.

removeRoot
void removeRoot(void* p)

remove p from list of roots

runFinalizers
void runFinalizers(void[] segment)

Run finalizers.

sizeOf
size_t sizeOf(void* p)

Determine the allocated size of pointer p. If p is an interior pointer or not a gc allocated pointer, return 0.

stats
core.memory.GC.Stats stats()

Retrieve statistics about garbage collection. Useful for debugging and tuning.

Meta