From: AMWiederin@... Date: 2020-07-03T20:29:02+00:00 Subject: [ruby-core:99049] [Ruby master Bug#17008] JIT enabled on Windows can cause constant conhost pop-ups Issue #17008 has been updated by AWiederin (Aubrey Wiederin). k0kubun (Takashi Kokubun) wrote in #note-1: > I have my own MinGW environment, but I've never observed such a behavior. Could you provide at least one way to reproduce the issue? I don't know of any GUI mingw32 application embedding Ruby 2.6+. With some personal edits, https://github.com/Ancurio/mkxp. ---------------------------------------- Bug #17008: JIT enabled on Windows can cause constant conhost pop-ups https://bugs.ruby-lang.org/issues/17008#change-86423 * Author: AWiederin (Aubrey Wiederin) * Status: Feedback * Priority: Normal * Assignee: k0kubun (Takashi Kokubun) * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- I'm unsure of the min requirements for it to happen, but at least for ruby embedded in a gui mingw32 application, enabling JIT causes a conhost.exe popup for every gcc call, repeatedly stealing focus. The easy fix is to add the CREATE_NO_WINDOW flag to CreateChild calls in win32.c, line 1326 in particular. (Only somewhat related: It'd probably help performance if a single conhost could be shared among gcc calls, instead of letting Windows make a new one for each.) -- https://bugs.ruby-lang.org/ Unsubscribe: