Files
javademos/gc-basics/output/05-reachability.txt
T

9 lines
312 B
Plaintext

# Reachability observed with weak references (JDK 25)
A (local variable) alive
B (static field) alive
C (child of A) alive
D (no references) collected
X (cycle with Y, no root) collected
Y (cycle with X, no root) collected
A and C are still used here: A -> C