We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a177799 commit 3b19085Copy full SHA for 3b19085
1 file changed
iseq.c
@@ -412,12 +412,15 @@ rb_iseq_mark_and_move(rb_iseq_t *iseq, bool reference_updating)
412
#endif
413
}
414
else {
415
+ // TODO: check jit payload
416
+ if (!rb_gc_checking_shareable()) {
417
#if USE_YJIT
- rb_yjit_iseq_mark(body->yjit_payload);
418
+ rb_yjit_iseq_mark(body->yjit_payload);
419
420
#if USE_ZJIT
- rb_zjit_iseq_mark(body->zjit_payload);
421
+ rb_zjit_iseq_mark(body->zjit_payload);
422
423
+ }
424
425
426
0 commit comments