What happens if you replace the glibc malloc used in implementations of higher level languages like python/ruby/js? Aren’t these languages big on allocating small objects very often?
The Ruby Core team has decided against [2] shipping jemalloc by default, but will use it when it is available. Which ultimately led to some work on SleepyGC [3] and Transient heap [4].
[1] https://www.mikeperham.com/2018/04/25/taming-rails-memory-bl...
[2] https://bugs.ruby-lang.org/issues/14718