The background free is clearly beneficial in reducing the GC pause. However, calling free on a different thread than the the memory was allocated from could be harmful. In particular, with jemalloc it can significantly increase lock contention. So it would be nice to compare the background free with delayed deallocation when the memory is freed piеce-meal on the main thread during allocations.
You need to log in before you can comment on or make changes to this bug.