EVERYTHING XIAOMI
Get listed

async-profiler

async-profiler is a free, self-hosted sampling profiler for Java that aims to keep profiling overhead low while avoiding safepoint bias.

Place
#18 of 29
Score
6.0
async-profiler's website

What async-profiler is

async-profiler is a free, self-hosted sampling profiler for Java that aims to keep profiling overhead low while avoiding safepoint bias. It works with OpenJDK and other runtimes based on the HotSpot JVM, and its stack traces can include non-Java threads as well as native and kernel frames. It can profile CPU time, Java-heap and native-memory allocations, leaks, contended locks, and hardware or software performance counters. Documented modes include CPU, allocation, wall-clock, Java-method, and multiple-events profiling. Results can be saved as collapsed stacks, flame graphs, HTML tree views, or text; an interactive Flame Graph can be opened in a browser. Official builds are maintained for Linux and macOS on x64 and arm64. Developers can use its Java API as a Maven dependency, and IntelliJ IDEA includes it in Java Profiler settings. It can profile Java processes in Docker or LXC, from inside a container or from the host. Building it requires make, GCC 7.5.0+ or Clang 7.0.0+, static libstdc++, and JDK 11+.

Good

  • Profiles CPU, heap, native memory, locks, and counters
  • Shows native and kernel frames in stack traces
  • Offers browser-viewable interactive Flame Graphs
  • Java API is available as a Maven dependency
  • Can profile Java processes in containers

Watch out

  • Official builds are listed for Linux and macOS only
  • Building requires JDK 11 or newer
  • Building requires GCC 7.5.0+ or Clang 7.0.0+

Who it suits

It suits Java developers who need to investigate CPU, memory, thread, or lock behavior on HotSpot-based runtimes. It is also relevant to teams profiling Java processes in Docker or LXC.

Verdict

async-profiler covers several Java performance targets and offers multiple output formats, including an interactive Flame Graph. Its build prerequisites are worth checking if you plan to build it yourself.

Plans and prices

From async-profiler's own pricing page, checked 1 Oct 2026.

All about pricing
PlanPriceWhat it gives you
Community open-sourceFreeApache License 2.0 · Linux and macOS binaries · No charge

The facts

Each one read from async-profiler's own pages, with the date it was checked.

What it does

Build requirements
Building requires make, GCC 7.5.0+ or Clang 7.0.0+, static libstdc++, and JDK 11+.checked 1 Oct 2026
Container profiling
It can profile Java processes in Docker or LXC containers from inside the container or from the host system.checked 1 Oct 2026
IDE integration
IntelliJ IDEA bundles async-profiler and exposes it through the Java Profiler settings.checked 1 Oct 2026
Java integration
A Java API is published to Maven Central and can be used as a Maven dependency.checked 1 Oct 2026
Native visibility
It monitors non-Java threads and shows native and kernel frames in stack traces.checked 1 Oct 2026
Nightly retention
Nightly binaries for previous commits are kept for 30 days.checked 1 Oct 2026
Official builds
Officially maintained builds are provided for Linux x64 and arm64 and macOS x64 and arm64.checked 1 Oct 2026
Output
The profiler can save results as an interactive Flame Graph viewable in a browser.checked 1 Oct 2026
Output formats
Supported output formats include collapsed stacks, flame graphs, HTML tree views, and text.checked 1 Oct 2026
Profiling modes
The documentation lists CPU, allocation, wall-clock, Java-method, and multiple-events profiling modes.checked 1 Oct 2026
Profiling targets
It can profile CPU time, Java-heap allocations, native-memory allocations and leaks, contended locks, and hardware or software performance counters.checked 1 Oct 2026
Purpose
async-profiler is a low-overhead sampling profiler for Java that avoids the safepoint bias problem.checked 1 Oct 2026
Runtime support
It works with OpenJDK and other Java runtimes based on the HotSpot JVM.checked 1 Oct 2026
Security reporting
Security issues should be reported to AWS/Amazon Security through its vulnerability reporting page instead of a public GitHub issue.checked 1 Oct 2026
Span API
The Span API records latency-sensitive intervals into the same JFR recording as profiling samples and is allocation-free.checked 1 Oct 2026

Alternatives to async-profiler

All alternatives
  1. 1
    8.4From $0.03 a month
  2. 2

    Grafana Alerting

    Free planWebLinuxmacOSWindows
    6.8$0.03 usage-based
  3. 3

    YourKit .NET Profiler

    Free planAPILinuxmacOSWindows
    6.8From $99 a year
  4. 4Amazon CodeGuru Profiler logo

    Amazon CodeGuru Profiler

    Free planWebAPILinuxSelf-hosted
    6.7From $0.01 a month
  5. 5

    Pyroscope

    Free planWebLinuxmacOSWindows
    6.7From $19 a month
  6. 6Parca logo

    Parca

    Free planWebAPILinuxSelf-hosted
    6.6Free plan