Epoch-based reclamation
A memory management technique for lock-free algorithms that marks data for deletion in "epochs" and reclaims it when all threads have passed through that epoch.
Lock-free algorithms can't take a mutex to free memory — they need a way to know when a node is safe to delete. Epoch-based reclamation partitions time into epochs. Each thread tracks which epoch it's in. When a node needs deletion, it's marked for reclamation in the current epoch. It can be safely freed once all threads have advanced to the next epoch, guaranteeing no thread still holds a reference to it.
It's fast and practical but requires threads to periodically advance their epoch. The alternative is hazard pointers, which are more flexible but slower. Most modern lock-free collections use epoch-based reclamation.