Project

General

Profile

Actions

Bug #14867

closed

Process.wait can wait for MJIT compiler process

Added by k0kubun (Takashi Kokubun) over 6 years ago. Updated about 6 years ago.

Status:
Closed
Target version:
-
[ruby-core:87605]

Description

If Ruby tries to wait for any child process, MJIT's gcc/clang process could be caught by the method call. It's not convenient for both Ruby's user and MJIT worker thread, so Process.wait and its families should somehow avoid waiting for it.


Files

0001-hijack-SIGCHLD-handler-for-internal-use.patch (13.8 KB) 0001-hijack-SIGCHLD-handler-for-internal-use.patch normalperson (Eric Wong), 06/23/2018 04:02 PM
JIT-test-all.log (39.9 KB) JIT-test-all.log MSP-Greg (Greg L), 06/30/2018 01:14 AM
mjit_test-all_63796.log (40.4 KB) mjit_test-all_63796.log MSP-Greg (Greg L), 06/30/2018 04:52 AM
config_ruby-loco_mingw.log (27 KB) config_ruby-loco_mingw.log ruby-loco mingw config portion of build log MSP-Greg (Greg L), 07/06/2018 01:20 AM
test_jit_results.txt (41.2 KB) test_jit_results.txt MSP-Greg (Greg L), 07/06/2018 02:03 AM
14867_91_mingw_build_log_.txt (127 KB) 14867_91_mingw_build_log_.txt MSP-Greg (Greg L), 10/29/2018 04:51 PM

Related issues 2 (0 open2 closed)

Related to Ruby master - Feature #14830: RubyVM::MJIT.pause / RubyVM::MJIT.resumeClosedk0kubun (Takashi Kokubun)Actions
Related to Ruby master - Bug #15320: IO.popen with MJIT worker thread may deadlockClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0