summaryrefslogtreecommitdiff
path: root/mjit.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-11-27 13:43:43 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-11-27 14:16:29 -0800
commit2a6dfb1cbbe0a5c3026a84ccc9170071c6465a14 (patch)
treec4308dea0d40bdfb1bc1479138d4ad32e90ee6b1 /mjit.rb
parentf93ae96b0e24a4e6101245d07d2d5c95769fe23e (diff)
Synchronously run the MJIT compiler in the parent
process. Completely isolating the MJIT compilation process complicates a lot of things for ensuring consistency before and after the fork. Just running this synchronously makes things a lot easier, for example the race condition of capture_cc_entries could be fixed by this patch alone. Hopefully, the bottleneck is the C compiler and not this Ruby code. Also, this change doesn't negatively impact MJIT's final numbers on yjit-bench while "1st itr" is degraded for sure.
Diffstat (limited to 'mjit.rb')
0 files changed, 0 insertions, 0 deletions