We're yet to see how to use the allocators API to specify a replacement default allocator used by the languages intrinsic allocations, which makesit rather less exciting.
It's more a GC API issue. Did you try to replace druntime GC with your own? Then you could have the swapping API similar to gcstub.