Skip to content
Opensource internals
  • Posts

Weakrefs

WeakRef, FinalizationRegistry and the Ephemeron Problem

Oct 23, 2026 20 min read Jay Hubbert

V8 implements WeakRef and FinalizationRegistry on top of the ephemeron marking algorithm, with a fixpoint iteration in mark-compact and a weak remembered set for the scavenger.

V8InternalsGcWeakrefsEphemerons

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·