Page 1 of 1

Stability with JIT Compiler Not Enabled (Windows)

Posted: Fri Sep 25, 2020 4:22 am
by ClockWise
Would you say that Basilisk II in Windows is more stable with the JIT Compiler disabled? Or is that just my long-term imagination?

Re: Stability with JIT Compiler Not Enabled (Windows)

Posted: Fri Sep 25, 2020 4:47 am
by Cat_7
The JIT has always introduced some level of stability issues on all platforms.
With current-day computer performance I guess the speed boost is not strictly needed any more.
I mostly run with jit disabled (also because otherwise I cannot keep up with Basilisks speed). ;-)

I now write this in the SheepShaver guide: Enabling the JIT Compiler greatly improves performance. It might, however, cause some sporadic crashes, so you can disable it.

Best,
Cat_7

Re: Stability with JIT Compiler Not Enabled (Windows)

Posted: Fri Sep 25, 2020 5:02 am
by ClockWise
I'll write the same in the Basilisk II guide, and continue to randomly test. Since trying the new build, I haven't had any random crashes since disabling the JIT.

I wonder if anyone who contributes to the code has the ability to slightly adjust some of the default settings in the GUI. Perhaps that could be turned off by default (and a few other common settings adjusted as well).

Re: Stability with JIT Compiler Not Enabled (Windows)

Posted: Fri Sep 25, 2020 6:40 am
by Cat_7
Since trying the new build, I haven't had any random crashes since disabling the JIT
Did you experience crashes?

The code for the current builds comes from: https://github.com/kanjitalk755/macemu
This (for me) is both the most advanced and maintained code. It is also the only code I get compiled ;-)

You can raise an issue there, asking to set the default to disabled. This will then probably also affect MacOS and Linux builds.

Best,
Cat_7

Re: Stability with JIT Compiler Not Enabled (Windows)

Posted: Fri Sep 25, 2020 7:38 am
by ClockWise
I've always had some random crashes running B2 in Windows. They just happen when running some program or another. I think the emulator went down when I tried to load the "About" screen in iCab, and when I launched "Doom." I haven't been able to bring about a crash since disabling JIT yesterday, but I will keep trying.

Re: Stability with JIT Compiler Not Enabled (Windows)

Posted: Fri Sep 25, 2020 10:44 am
by Ronald P. Regensburg
I run BasiliskII for OSX/macOS (now also from kanjitalk755 source) always with JIT compiler disabled because of stability issues. SheepShaver seems to be not affected. Recently kanjitalk755 even had the JIT compiler disabled in BasiliskII source for some time because of serious stability issues. It is now back to be enabled, but it is still better not used. And the JIT compiler is not really needed anymore now that on todays fast hosts BasiliskII often runs faster than real 68k Macs used to do, even without the JIT compiler.

Re: Stability with JIT Compiler Not Enabled (Windows)

Posted: Fri Sep 25, 2020 11:35 am
by ClockWise
I'll make a suggestion on the Github page, as Cat_7 suggested. Maybe we can get that disabled by default once again.