Lines Matching refs:GC
2 * Contains a registry for GC factories.
10 import core.gc.gcinterface : GC;
15 * A factory function that instantiates an implementation of the GC interface.
20 * cannot successfully initialize the GC instance.
22 alias GCFactory = GC function();
25 * Register a GC factory under the given `name`. This function must be called
28 * To use the registered GC, it's name must be specified gcopt runtime option,
32 * name = name of the GC implementation; should be unique
49 * Called during runtime initialization to initialize a GC instance of given `name`.
52 * name = name of the GC to instantiate
54 * The created GC instance or `null` if no factory for that name was registered
56 GC createGCInstance(string name)
65 // only one GC at a time for now, so free the registry to not leak