Project

General

Profile

« Previous | Next » 

Revision 88449100

Added by Koichi Sasada about 6 years ago

don't need to sweep rest.

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.