# async-profiler/async-profiler

Sampling CPU and HEAP profiler for Java featuring AsyncGetCallTrace + perf_events

Repository: https://github.com/async-profiler/async-profiler
Canonical: https://ross.abutalabs.com/products/async-profiler
Homepage: https://github.com/async-profiler/async-profiler/releases
Language: C++
License: Apache-2.0
License Family: permissive
Last push: 2026-08-24T19:57:10+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 81, longevity 100
- inputs: {"age_days": 3785, "days_push": 9, "days_rel": 44, "gap_med": 89.5, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 9124, forks 980 (observed 2026-08-28T04:10:28.504754+00:00)

## What it is
A low-overhead sampling profiler for Java applications built on HotSpot's AsyncGetCallTrace API and Linux perf_events. It profiles CPU time, heap allocations, native memory, locks, and hardware counters without safepoint bias, producing flame graphs.

## Use cases
- profile cpu usage of a running java process
- find memory allocation hotspots in a jvm application
- generate flame graphs from java stack traces
- detect native memory leaks in java
- profile contended locks in java services
- diagnose gc and jit compiler thread activity
- profile java apps without safepoint bias

## When to choose
- you need low-overhead production profiling of JVM applications
- you want to see native, kernel, GC, and JIT frames alongside Java frames
- you need flame graphs or JFR output for performance analysis
- you profile allocations, locks, or hardware counters, not just CPU

## When to avoid
- you need a GUI-based interactive profiler with visual stepping
- your application does not run on a HotSpot-based JVM
- you need profiling on platforms other than Linux or macOS
- you want source-level profiling of non-JVM languages only

## Facets
- artifact type: cli-tool
- maturity: stable
- function: monitoring, tracing, benchmarking, developer-tools
- domain: performance, developer-tools, monitoring
- platform: jvm, cli
- tags: java-profiler, flame-graph, sampling-profiler, heap-profiling, jvm, low-overhead, linux, macos

## Member repositories
- async-profiler/async-profiler (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:28.504754+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:23:25.775204+00:00, confidence not recorded.
  - readme: https://github.com/async-profiler/async-profiler (fetched 2026-08-28T04:10:28.504754+00:00, sha 9ff092259e90)
  - homepage: https://github.com/async-profiler/async-profiler/releases (fetched 2026-08-29T08:23:34.886543+00:00, sha d2bad5fc39f7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
