Fixing Node.js vm APIs, part 2 - reworking the memory management
In the last post, I wrote about how I came to work on a memory leak in the vm
compilation APIs in Node.js, attempted a fix, and reverted it because the fix turned out to be unsound and introduced a use-after-free. In this post I will write about how I got to another fix that ended up working.