Project

General

Profile

Feature #9761 » xrealloc-with-gc_stress.patch

wanabe (_ wanabe), 04/21/2014 03:20 PM

View differences:

gc.c
#endif
}
if (type == MEMOP_TYPE_MALLOC) {
if (type == MEMOP_TYPE_MALLOC || type == MEMOP_TYPE_REALLOC) {
if (ruby_gc_stress && !ruby_disable_gc_stress && ruby_native_thread_p()) {
garbage_collect_with_gvl(objspace, FALSE, TRUE, GPR_FLAG_MALLOC);
}
(2-2/2)