Skip to content

Commit

Permalink
Drop MJIT debug code from GC.compact
Browse files Browse the repository at this point in the history
As ko1 added some improvements on GC.compact, I want to check if it
solved the problem too.
  • Loading branch information
k0kubun committed May 28, 2019
1 parent abd5569 commit 462a63c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gc.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit 462a63c

Please sign in to comment.