summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-05-29 05:09:59 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-05-29 05:10:12 +0900
commit462a63c39e7aa20253d6256077d298458c9ef7f3 (patch)
treea96d7184274c75a0d254997c2bbdcb7a180ed70a /gc.c
parentabd556958d11321cf0a2991a86dc8b1a714fc79a (diff)
Drop MJIT debug code from GC.compact
As ko1 added some improvements on GC.compact, I want to check if it solved the problem too.
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index 0925e19cf3..cd784ef6bb 100644
--- a/gc.c
+++ b/gc.c
@@ -8369,9 +8369,7 @@ gc_verify_compaction_references(int argc, VALUE *argv, VALUE mod)
/* Ensure objects are pinned */
rb_gc();
- if (mjit_enabled) mjit_pause(false); // debugging. suspecting that JIT is triggered for a broken ISeq during `gc_compact_after_gc`.
gc_compact_after_gc(objspace, use_toward_empty, use_double_pages, TRUE);
- if (mjit_enabled) mjit_resume(); // debugging
return rb_gc_compact_stats(mod);
}