Generate Flame Graph from .jfr
file.
Executable jar and executable binary for Linux, Windows and macOS are provided.
Download the latest package from GitHub Release
# Run as executable jar
java -jar jfr-flamegraph-generator.jar --from /path/to/your.jfr --to flamegraph.html
# Run the executable binary
./jfr-flamegraph-generator # Linux/macOS
./jfr-flamegraph-generator.exe # Windows
./jfr-flamegraph-generator --from /path/to/your.jfr threaddump
Open x64 Native Tools Command Prompt
and run:
SET PATH=C:\path\to\graalvm\;C:\path\to\maven;%PATH%;
mvn install -Pnative