@bascule @thisismissem I would probably replicate the same inline assembly that Ruby uses; that (when used with a stack slot) clearly marks the stack slot address as escaping, whereas I'm not quite so sure about volatile_read
@tenderlove it seems like somebody could build a reusable library providing a rb_gc_guard!() macro with the same function, no?