Combining these two functions, it is possible to take control of the GC to make sure it runs only when it is acceptable to do so.
I'm conflicted on this. My gut tells me if I'm going to manually take control over the garbage collector I should reconsider my design decisions.
Disclaimer, I don't know the first thing about PyPy or Gambit Research, so probably this is the right approach for them?