News for hackers. Stuff that matters.
Re:macOS Sonoma 14.4 might break Java on your machine by mort96 on Monday March 18, 2024 @04:47AM (#39741607)
Which other JITs behave like this? AFAIK neither V8 nor Spidermonkey nor LuaJIT rely on segfaults as a normal part of their operation?
Re:macOS Sonoma 14.4 might break Java on your machine by silon42 on Monday March 18, 2024 @05:35AM (#39741889)
Personally I'd expect this would affect the GC more than the JIT. But I'm not surprised that the JVM uses every trick for speed.
Re:macOS Sonoma 14.4 might break Java on your machine by quotemstr on Monday March 18, 2024 @06:22AM (#39742141)
Android ART uses this mode of operation too. There's absolutely nothing wrong with relying on SIGSEGV and other synchronous signals in this manner and POSIX should make it easier and safer instead of trying to pretend signals are bad and useless.