The profiler works with OpenJDK and other Java runtimes based on the HotSpot JVM. It features HotSpot-specific API to collect stack traces and to track memory allocations. Unlike traditional Java profilers, async-profiler monitors non-Java threads (e.g., GC and JIT compiler threads) and shows native and kernel frames in stack traces.
The profiler works with OpenJDK and other Java runtimes based on the HotSpot JVM. It features HotSpot-specific API to collect stack traces and to track memory allocations. Unlike traditional Java profilers, async-profiler monitors non-Java threads (e.g., GC and JIT compiler threads) and shows native and kernel frames in stack traces.
To install async-profiler, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install async-profiler
To see what files were installed by async-profiler, run:
port contents async-profiler
To later upgrade async-profiler, run:
sudo port selfupdate && sudo port upgrade async-profiler
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.