core.internal.gc.impl.proto.gc
class ProtoGC
Types 1
Methods
void transferRangesAndRoots()void Dtor()void enable()void disable()void collect() nothrowvoid minimize() nothrowuint getAttr(void * p) nothrowuint setAttr(void * p, uint mask) nothrowuint clrAttr(void * p, uint mask) nothrowsize_t reserve(size_t size) nothrowcore.memory.GC.Stats stats() nothrowcore.memory.GC.ProfileStats profileStats() nothrowprivate
int rootsApply(scope int delegate(ref Root) nothrow dg)private
int rangesApply(scope int delegate(ref Range) nothrow dg)void runFinalizers(const scope void[] segment) nothrowbool inFinalizer() nothrowulong allocatedInCurrentThread() nothrowvoid[] getArrayUsed(void * ptr, bool atomic = false) nothrowbool shrinkArrayUsed(void[] slice, size_t existingUsed, bool atomic = false) nothrowvoid initThread(ThreadBase thread) nothrowvoid cleanupThread(ThreadBase thread)Constructors
this()Functions 12
fn
noreturn onOutOfMemoryError(void * pretend_sideffect = null, string file = __FILE__, size_t line = __LINE__) @trusted pure nothrow @nogcfn
void gc_term()fn
void * gc_realloc(return scope void * p, size_t sz, uint ba = 0, const scope TypeInfo = null ) pure nothrow;