core.internal.gc.proxy

Contains the external GC interface.

Functions 40

fnGC instance() @trusted @nogc nothrow
fnvoid * register_default_gcs() @weak
fnvoid gc_init()
fnvoid gc_init_nothrow() nothrow
fnvoid gc_term()
fnvoid gc_enable()
fnvoid gc_disable()
fnvoid gc_collect() nothrow
fnvoid gc_minimize() nothrow
fnuint gc_getAttr( void * p ) nothrow
fnuint gc_setAttr( void * p, uint a ) nothrow
fnuint gc_clrAttr( void * p, uint a ) nothrow
fnvoid * gc_malloc( size_t sz, uint ba = 0, const scope TypeInfo ti = null ) nothrow
fnBlkInfo gc_qalloc( size_t sz, uint ba = 0, const scope TypeInfo ti = null ) nothrow
fnvoid * gc_calloc( size_t sz, uint ba = 0, const scope TypeInfo ti = null ) nothrow
fnvoid * gc_realloc( void * p, size_t sz, uint ba = 0, const scope TypeInfo ti = null ) nothrow
fnsize_t gc_extend( void * p, size_t mx, size_t sz, const scope TypeInfo ti = null ) nothrow
fnsize_t gc_reserve( size_t sz ) nothrow
fnvoid gc_free( void * p ) nothrow @nogc
fnvoid * gc_addrOf( void * p ) nothrow @nogc
fnsize_t gc_sizeOf( void * p ) nothrow @nogc
fnBlkInfo gc_query( void * p ) nothrow
fncore.memory.GC.Stats gc_stats() @safe nothrow @nogc
fncore.memory.GC.ProfileStats gc_profileStats() @safe nothrow @nogc
fnvoid gc_addRoot( void * p ) nothrow @nogc
fnvoid gc_addRange( void * p, size_t sz, const TypeInfo ti = null ) nothrow @nogc
fnvoid gc_removeRoot( void * p ) nothrow
fnvoid gc_removeRange( void * p ) nothrow
fnvoid gc_runFinalizers(const scope void[] segment ) nothrow
fnbool gc_inFinalizer() nothrow @nogc @safe
fnulong gc_allocatedInCurrentThread() nothrow
fnvoid[] gc_getArrayUsed(void * ptr, bool atomic) nothrow
fnbool gc_expandArrayUsed(void[] slice, size_t newUsed, bool atomic) nothrow
fnsize_t gc_reserveArrayCapacity(void[] slice, size_t request, bool atomic) nothrow
fnbool gc_shrinkArrayUsed(void[] slice, size_t existingUsed, bool atomic) nothrow
fnGC gc_getProxy() nothrow @nogc
fnvoid gc_setProxy( GC proxy )
fnvoid gc_clrProxy()

Variables 4

varSpinLock instanceLock
varbool isInstanceInit
varGC _instance
varGC proxiedGC