Allocates aligned memory using GC_memalign, returns null if allocation fails
Allocates memory of specified size, returns null if allocation fails
Allocates zero-initialized memory
Triggers garbage collection
Deallocates memory, safe for null buffers
Disables garbage collection
Enables incremental garbage collection
Suggests a good allocation size
Checks if pointer is GC-managed
Checks if the allocator owns the memory block
Reallocates memory to new size, handles zero-size deallocation
Global thread-safe instance
Alignment ensures proper alignment for D data types
Allocator for BDWGC-managed memory, implementing IAllocator. Thread-safe and compatible with -betterC. Requires thread registration for multi-threaded use when GCThreads is enabled.