📝Run GC as often as possible to test it and catch bugs
- source
- I believe I got it from [Nystrom2020]
Instead of running GC when certain threshold is reached, run in before every allocation. This way you’ll quickly catch what variables are not properly rooted.