Allocates nbytes bytes on the TempAlloc stack. NOT safe for real-time
* programming, since if there's not enough space on the current block,
* a new one will automatically be created. Also, very large objects
* (currently over 4MB) will simply be heap-allocated.
*
* Bugs: Memory allocated by TempAlloc is not scanned by the GC.
* This is necessary for performance and to avoid false pointer issues.
* Do not store the only reference to a GC-allocated object in
* TempAlloc-allocated memory.
Allocates nbytes bytes on the TempAlloc stack. NOT safe for real-time * programming, since if there's not enough space on the current block, * a new one will automatically be created. Also, very large objects * (currently over 4MB) will simply be heap-allocated. * * Bugs: Memory allocated by TempAlloc is not scanned by the GC. * This is necessary for performance and to avoid false pointer issues. * Do not store the only reference to a GC-allocated object in * TempAlloc-allocated memory.