Sampling CPU & HEAP profiler for Java using AsyncGetCallTrace + perf_events
brew install async-profiler
async-profiler