Poor performance of garbage collection in multi-threaded application

It is more of an intrinsic problem. In the (g)olden days they used compacting garbage collection to fight fragmentation, but this is not an option here AFAIU (or are we?). You’ll probably have to identify the critical paths of your application and use an adequate preallocation or arena allocation strategy.

Edit: just looked it up, here another link.

No and yes.

1 Like