# JVM-Sandbox

Real - time non-invasive AOP framework container based on JVM

Repository: https://github.com/alibaba/jvm-sandbox
Canonical: https://ross.abutalabs.com/products/jvm-sandbox
Language: Java
License: LGPL-3.0
License Family: copyleft
Last push: 2025-12-05T07:08:08+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 55, release rhythm 8, longevity 100
- inputs: {"age_days": 3317, "days_push": 271, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6953, forks 1585 (observed 2026-08-28T04:09:51.726091+00:00)

## What it is
JVM-Sandbox is a real-time, non-invasive AOP framework container for the JVM, built on Java Instrumentation to dynamically enhance methods without restarting or modifying the target application. It provides a pluggable, class-isolated module system for building tools like dynamic logging, fault injection, and request record/replay.

## Use cases
- dynamically add logging to a running Java application without restart
- inject faults or simulate exceptions inside a live JVM service
- record method requests and replay results for debugging
- trace method call chains for coverage analysis
- monitor and intercept method parameters and return values in production
- build pluggable JVM instrumentation modules that can load and unload at runtime

## When to choose
- you need runtime AOP on a JVM app you cannot restart or modify
- you want to build diagnostic tools like dynamic logging or fault injection on the JVM
- you need class isolation so instrumentation does not pollute the target application
- you want hot-pluggable modules that can be attached and detached without side effects

## When to avoid
- you only need simple compile-time AOP in a Spring-managed codebase
- your target runs outside the JVM or on non-Java languages
- you need a supported, officially maintained product with enterprise support
- you require JDK versions beyond the supported range (JDK 6-11)

## Facets
- artifact type: framework
- maturity: active
- function: middleware, monitoring, testing, developer-tools
- domain: developer-tools, monitoring, testing, performance
- platform: jvm, cross-platform
- tags: aop, bytecode-instrumentation, java-agent, runtime-enhancement, fault-injection, class-isolation, hotswap

## Member repositories
- alibaba/jvm-sandbox (main) score 48
- alibaba/jvm-sandbox-repeater (plugin) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:51.726091+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:41:12.003739+00:00, confidence not recorded.
  - readme: https://github.com/alibaba/jvm-sandbox (fetched 2026-08-28T04:09:51.726091+00:00, sha 2da92f385a01)
- Data as of 2026-08-30T08:39:29.467469+00:00.
