i need this for a realtime game application which has embedded ruby -- after
destroying all objects in my scene and recreating everything, ruby gc takes
about 10seconds to 'think it through' and collect all garbage... during
which time the framerate drops in half

i'd much rather it was all done in one hit in between levels, but i cannot
find an API to do this, and GC.start seems async

so,

assuming GC.start is asynchronous, is there a way to force mark/sweep GC to
occur, blocking for however long it takes to complete?

cheers all