It can be faster than heap as it doesn't require a synchronization.
Note:
Class destructors are called asynchronously from GC thread on
collection so threadHeap in a destructor may reflect different
thread than the one the class instance was created and used in.
An unaligned thread local allocator.
It can be faster than heap as it doesn't require a synchronization.
Note: Class destructors are called asynchronously from GC thread on collection so threadHeap in a destructor may reflect different thread than the one the class instance was created and used in.