mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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.
This commit is contained in:
parent
abd556958d
commit
462a63c39e
1 changed files with 0 additions and 2 deletions
2
gc.c
2
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue