Revert "Pause an MJIT worker when JIT is cancelled"

This reverts commit b64f81c817.

It seems to cause a problem in --jit / --jit-wait CIs. Reverting for now.
This commit is contained in:
Takashi Kokubun 2021-08-13 09:13:09 -07:00
Родитель 15c9c7845d
Коммит ee362302c0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 6FFC433B12EE23DD
2 изменённых файлов: 0 добавлений и 5 удалений

Просмотреть файл

@ -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

3
mjit.c
Просмотреть файл

@ -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