transient_heap_evacuate() disables GC using rb_gc_disable()
to prohibt GC invocation because of new allocation for evacuated
memory. However, rb_gc_disable() sweep all rest of unswept pages.
We don't need to cancel lazy sweep so this patch introduce rb_gc_disable_no_rest() which doesn't cancel lazy sweep.
don't need to sweep rest.
transient_heap_evacuate()
disables GC usingrb_gc_disable()
to prohibt GC invocation because of new allocation for evacuated
memory. However,
rb_gc_disable()
sweep all rest of unswept pages.We don't need to cancel lazy sweep so this patch introduce
rb_gc_disable_no_rest()
which doesn't cancel lazy sweep.