Repository navigation
v1.4.0
v1.4.0 — Architecture Documentation & Enterprise Hardening
New Documentation
-
Architecture Document (
docs/ARCHITECTURE.md) — comprehensive technical
description of the library internals: bytecode instrumentation pipeline,
freeze/restore data flow, JDWP port discovery, thread safety model,
serialization format, and error handling strategy -
Code Audit (
docs/CODE_AUDIT.md) — 19 findings across 4 severity levels
covering potential bugs, robustness improvements, simplification opportunities,
and enterprise hardening items
Bug Fixes & Hardening
- GC protection retry loop —
JdiLocalSetter.disableCollection()now retries
up to 5 times whenObjectCollectedExceptionis thrown during the narrow window
between JDI resolve and object pinning. Previously, a single retry was attempted
and if it also failed, the restore silently proceeded with an unpinned reference.
Now throws a clear error after exhausting all attempts. This hardens restore
against extreme GC pressure (e.g., ZGC with small regions under heavy allocation).
Tests
All 258 tests pass (215 unit + 43 E2E).