Re:A Practical Guide to Memory Leaks in Node.js
by sweeneyrod on Tuesday March 31, 2020 @08:26AM
(#22736819)
Yep, you're right. I should've just said that the condition of the if statement can in general be undecidable.
Dynamic code is where the GC can't know if something simply has a stale reference or if the codepath that calls it simply doesn't exist yet. It's be interesting to need to tag such data appropriately as that opens up a lot of leak protection.