The desired allocation size in bytes.
A bitmask of the attributes to set on this block.
TypeInfo to describe the memory. The GC might use this information to improve scanning for pointers or to call finalizers.
Information regarding the allocated memory block or BlkInfo.init on error.
OutOfMemoryError on allocation failure.
Requests an aligned block of managed memory from the garbage collector. This memory may be deleted at will with a call to free, or it may be discarded and cleaned up automatically during a collection run. If allocation fails, this function will call onOutOfMemory which is expected to throw an OutOfMemoryError.