Hacker News new | ask | show | jobs
by willvarfar 3038 days ago
You can zero them when they are not live.
1 comments

Yeah, we've tried that. It was one of the attempts of improving conservative GC (no dead values on the stack => no false roots). Unfortunately, it causes noticeable performance degradation, so it is easier to consult with stack maps about liveness of the variable.