Skip to content

Commit

Permalink
Revert "Pause an MJIT worker when JIT is cancelled"
Browse files Browse the repository at this point in the history
This reverts commit b64f81c.

It seems to cause a problem in --jit / --jit-wait CIs. Reverting for now.
  • Loading branch information
k0kubun committed Aug 13, 2021
1 parent 15c9c78 commit ee36230
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions NEWS.md
Expand Up @@ -182,8 +182,6 @@ Excluding feature bug fixes.
* `--jit-verbose` and `--jit-warning` output "JIT cancel" when JIT-ed
code is disabled because TracePoint or GC.compact is used.

* Pause an MJIT worker when JIT-ed code gets disabled.

* `RubyVM::MJIT` is renamed to `RubyVM::JIT`. [[Feature #17490]]

## Static analysis
Expand Down
3 changes: 0 additions & 3 deletions mjit.c
Expand Up @@ -94,9 +94,6 @@ 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
Expand Down

0 comments on commit ee36230

Please sign in to comment.