Аудит утечек памяти в кэше Caffeine
testing
audit-memory-retention is a Claude Code skill that traces reference retention paths in a Caffeine cache to detect defects where logically removed entries remain reachable through internal data structures, preventing garbage collection. Operating as a dedicated auditor agent with model invocation disabled, it systematically examines nine structural categories: eviction deques, timer wheel, write buffer, read buffer, removal listener queue, weak/soft references, async values, cache views and iterators, jcache EventDispatcher, and in-flight futures. For each identified retention path the skill documents the full reference chain from GC root to the retained object, classifies retention duration as bounded or unbounded, and rates severity as transient or persistent. It is aimed at Java developers and code reviewers diagnosing memory leaks in high-throughput applications built on Caffeine.
- #memory-leaks
- #garbage-collection
- #reference-retention
- #cache-internals
- #auditing