As others have noted this sounds like a contention issue that you should fix by not allocating in your hot path if at all possible.
The easiest fix would probably be to try to switch out your global allocator for something like
https://github.com/gnzlbg/jemallocator and see if that doesn't give you a nice performance boost.