Earlier quoted context omitted.
I think that the point rather was not to use any allocation in critical sections since allocator implementations are not lock-free or wait-free. https://github.com/jemalloc/jemalloc/blob/dev/src/mutex.c
That was their point and that was my point. Just because jemalloc has a mutex.c file, that doesn't mean that common paths aren't meant to be lock free and in the case of lots of little allocations that can go into small bucket sizes in jemalloc they should be. It is still putting your head in the sand since at some point they have to go to the OS and map in memory which should lock and lots of small allocations are a…
> Technically you could replace your allocator with jemalloc or something similar, but most people probably don't.
which suggests that the new/delete "blocking" nature can be solved just by replacing it with the jemalloc. That's nonsense because new/delete in itself is a plain stupid wrapper around the malloc/free. So, I still don't get the point of your commentary. It reads flawed and contradicting.