2 ms·
When Java got thread local allocation pools, stdlib’s malloc was still a blocking operation that didn’t scale with thread count. It was out a couple of years be
by hinkley 2y ago
When Java got thread local allocation pools, stdlib’s malloc was still a blocking operation that didn’t scale with thread count. It was out a couple of years before I heard solid stories of someone pushing for a concurrent malloc implementation to be added to stdlob.
So however wide the gap was between stack and heap, its even wider once you had concurrency.