Chunk

Undocumented in source.

Alias This

header

Members

Functions

collect
void collect()
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
getPageID
uint getPageID(void* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
getRunID
uint getRunID(void* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
mark
bool mark(void* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
maybeGetRunID
uint maybeGetRunID(void* ptr)
Undocumented in source. Be warned that the author may not have intended to support it.
prepare
void prepare()

GC facilities.

scan
bool scan()
Undocumented in source. Be warned that the author may not have intended to support it.
splitLargeRun
uint splitLargeRun(size_t size, uint runID, ubyte binID, bool zero)
Undocumented in source. Be warned that the author may not have intended to support it.
splitSmallRun
uint splitSmallRun(uint runID, ubyte binID)

Split run from free space.

Static functions

allocate
Chunk* allocate(Arena* a)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

datas
ulong[PageSize / ulong.sizeof][DataPages] datas;
Undocumented in source.
header
Header header;
Undocumented in source.
pad0
PageDescriptor[Pad0Size] pad0;
Undocumented in source.
pad1
uint[Pad1Size] pad1;
Undocumented in source.
pages
PageDescriptor[DataPages] pages;
Undocumented in source.
runs
RunDesc[DataPages] runs;
Undocumented in source.

Meta