summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-02-25 11:03:17 +0900
committerKoichi Sasada <ko1@atdot.net>2020-02-25 12:57:10 +0900
commit7ec23593746c8ccabd6c005cc34dde77d564c6c9 (patch)
treeb1979d603edb1808217db5d2b632a9ed24be41b3 /vm_insnhelper.c
parent82d27604adba94e147c1e848f80329a8286bde5c (diff)
prevent GC from mjit worker.
ALLOC_N() can causes GC. Sometimes `mjit_copy_job_handler()` can be called by mjit_worker thread which is not a Ruby thread, so we need to prevent GC in this function. This patch has some issues, but I introduce it to pass the tests.
Diffstat (limited to 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions