# alibaba/arthas

Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas

Repository: https://github.com/alibaba/arthas
Canonical: https://ross.abutalabs.com/products/arthas
Homepage: https://arthas.aliyun.com/
Language: Java
License: Apache-2.0
License Family: permissive
Topics: java, agent, trace, jvm, arthas, trouble-shooting, diagnosis, classloader, alibaba
Last push: 2026-08-26T05:11:40+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 97, longevity 100
- inputs: {"age_days": 2926, "days_push": 7, "days_rel": 20, "gap_med": 14, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 37497, forks 7642 (observed 2026-08-28T04:12:01.425972+00:00)

## What it is
Arthas is Alibaba's open-source Java diagnostic tool for troubleshooting production issues without modifying code or restarting the JVM. It attaches to a running Java process and provides an interactive CLI/WebConsole for inspecting classes, methods, classloaders, and performance hotspots.

## Use cases
- diagnose production java issues without restarting the jvm
- find where a class is loaded to resolve jar conflicts
- inspect method parameters, return values, and exceptions at runtime
- generate flame graphs to find performance hotspots
- hot-reload code in a running java application
- detect classloader leaks
- watch stack traces of specific method invocations

## When to choose
- you need to debug a java app in production where IDE remote debugging is impossible or unsafe
- you suspect jar/class conflicts and need to trace classloading
- you want runtime method-level tracing without code changes or restarts

## When to avoid
- you need a general-purpose APM/monitoring solution with dashboards and alerting
- your application is not running on a JVM
- you only need local development debugging, where an IDE debugger is simpler

## Facets
- artifact type: cli-tool
- maturity: active
- function: monitoring, tracing, developer-tools, logging
- domain: developer-tools, performance
- platform: cli, jvm, cross-platform
- tags: java-agent, jvm-diagnostics, production-troubleshooting, hotswap, classloader-analysis, flame-graph, web-console, debugging, jvm

## Member repositories
- alibaba/arthas (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:01.425972+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-29T16:25:38.173516+00:00, confidence not recorded.
  - readme: https://github.com/alibaba/arthas (fetched 2026-08-28T04:12:01.425972+00:00, sha 25ad8c4de4ad)
  - homepage: https://arthas.aliyun.com/ (fetched 2026-08-29T07:47:16.921553+00:00, sha d110003bebf5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
