diff options
author | Takashi Kokubun <[email protected]> | 2021-08-12 23:15:34 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2021-08-12 23:15:34 -0700 |
commit | b64f81c81729bbc248d19af01cafde88eb60fdc7 (patch) | |
tree | 0624d3ba3bc514ab9f787745639f0403adec7752 /mjit.c | |
parent | b3f8c491efefc0461ab225d062f6c64286498609 (diff) |
Pause an MJIT worker when JIT is cancelled
Diffstat (limited to 'mjit.c')
-rw-r--r-- | mjit.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -91,6 +91,9 @@ mjit_cancel_all(const char *reason) if (mjit_opts.warnings || mjit_opts.verbose) { fprintf(stderr, "JIT cancel: Disabled JIT-ed code because %s\n", reason); } + + // Currently we never re-enable JIT calls. Thus we don't need to run JIT anymore. + mjit_pause(false); } // Deal with ISeq movement from compactor |