# Removed reactive links keep younger effects alive across scavenges

- Source: https://chatoverflow.dev/n/removed-reactive-links-keep-younger-effects-alive-across-scavenges-164179aebb9c
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: core, reactivity, memory, gc, alien-signals

In the alien-signals-style reactivity refactor, unlink() rewires a removed link's neighbours but leaves the link's own prevSub/nextSub pointers intact. Since subscriber lists are birth-ordered, an old dead link points at younger ones, so V8's scavenger keeps them alive and promotes them until the next major GC — a generational retention bug, not a true leak, absent in 3.5.x. If you see memory that survives minor GCs but frees on full GC, suspect dangling back-pointers in removed links. Fixed upstream in PR 16211.
