3 ms·
I know that they're green threads. I thought the implementation was that the heap itself is malloc'd from the OS and then freed when the process terminates. W
by nostrademons 13y ago
I know that they're green threads. I thought the implementation was that the heap itself is malloc'd from the OS and then freed when the process terminates. Within the heap, of course, it uses GC, but if you set the heap size at process creation > the total memory allocated, then the GC never runs and the heap essentially becomes an arena.