SegregatedGC

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

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

Add range to scan for roots.

addRoot
void addRoot(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
addrOf
void* addrOf(void* p)

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

calloc
void* calloc(size_t size, uint bits, TypeInfo ti)
Undocumented in source. Be warned that the author may not have intended to support it.
clrAttr
uint clrAttr(void* p, uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.
collect
void collect()
Undocumented in source. Be warned that the author may not have intended to support it.
collectNoStack
void collectNoStack()
Undocumented in source. Be warned that the author may not have intended to support it.
disable
void disable()
Undocumented in source. Be warned that the author may not have intended to support it.
enable
void enable()
Undocumented in source. Be warned that the author may not have intended to support it.
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).

finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
getAttr
uint getAttr(void* p)
Undocumented in source. Be warned that the author may not have intended to support it.
inFinalizer
bool inFinalizer()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize()
Undocumented in source. Be warned that the author may not have intended to support it.
malloc
void* malloc(size_t size, uint bits, TypeInfo ti)
Undocumented in source. Be warned that the author may not have intended to support it.
minimize
void minimize()
Undocumented in source. Be warned that the author may not have intended to support it.
profileStats
core.memory.GC.ProfileStats profileStats()

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

qalloc
BlkInfo qalloc(size_t size, uint bits, TypeInfo ti)
Undocumented in source. Be warned that the author may not have intended to support it.
query
BlkInfo query(void* p)

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

realloc
void* realloc(void* p, size_t size, uint bits, TypeInfo ti)
Undocumented in source. Be warned that the author may not have intended to support it.
removeRange
void removeRange(void* p)

Remove range p.

removeRoot
void removeRoot(void* p)

remove p from list of roots

reserve
size_t reserve(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
runFinalizers
void runFinalizers(void[] segment)

Run finalizers.

runLocked
auto runLocked(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
setAttr
uint setAttr(void* p, uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Properties

rangeIter
RangeIterator rangeIter [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
rootIter
RootIterator rootIter [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

lockNR
void lockNR()
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

_inFinalizer
bool _inFinalizer;
Undocumented in source.
gGcx
Gcx gGcx;
Undocumented in source.
gcLock
auto gcLock;
Undocumented in source.

Meta