Can't you just initialize and then do a NoGCRegion? It would give you everything except the monitoring I think.
It does not work the way I described. It is only for short periods and is not a guarantee, and has overheads for repeated calls.
It does not work the way I described. It is only for short periods and is not a guarantee, and has overheads for repeated calls.