rts: retainer: Pull retainer specific code into a callback
This essentially turns the heap traversal code into a visitor. You add a bunch of roots to the work-stack and then the callback you give to traverseWorkStack() will be called with every reachable closure at least once.
Showing
This diff is collapsed.
Please register or sign in to comment