Repository navigation
Skip Equinox splash updates for JDT LS on macOS - #4576
Conversation
Signed-off-by: hunter <11315620+anyerqi@users.noreply.github.com>
|
I can't replicate the original issue; it looks the same in Activity Monitor before and after this change for me. I'm testing on macOS 15.7.9. @shin19991207 are you able to replicate this? If so, does this fix it for you? |
|
@datho7561 Thanks for checking on macOS 15.7.9. I found a trigger using normal desktop activity on macOS 27.0.1 (Apple Silicon, Java extension Steps to reproduce
What I observed Equinox can call its splash update callback even when no splash screen is shown. On macOS that callback enters the Cocoa event dispatcher, which calls A listen-only Quartz tap on the unpatched PID captured a I haven't verified the hotplug repro on macOS 15.7.9. |
|
@datho7561 I was able to reproduce the issue on macOS 26.6.2. I tried launching JDT.LS through PDE with |
datho7561
left a comment
There was a problem hiding this comment.
I think it's safe to go ahead with merging this, then. Thanks for checking, Morgan!
Refs #4292, specifically the case where macOS marks the process as unresponsive while Java language requests still succeed.
What changes
Pass Equinox's
-nosplashlauncher argument on macOS for both the standard and syntax servers. Even when no splash window is configured, Equinox's startup monitor can still invokeupdateSplash(). On macOS that calls the native event dispatcher, which calls[NSApplication sharedApplication]and registers a WindowServer connection for JDT LS.-nosplashskips that update path.In the affected session, WindowServer reported
connectionIsUnresponsive: 1for the original process. The same PID still handled a new Java validation request in VS Code.Verification
-nosplashadded, neither mode registered a connection during the observation window.initializeandtextDocument/documentSymbolpassed for all four test launches. The standard mode used the Unix socket transport and syntax mode used stdio.-Djava.awt.headless=truealone still produced a WindowServer connection in a separate control.git diff --checkpassed.-nosplash.