Emulator Issues #2181
closed
Unlimited Jit Cache crashes emulator (r4891)
Added by Autoran1 over 14 years ago.
Relates to performance:
No
Relates to maintainability:
No
Description
Right after merging Jit/JitIl r4891 in debugger choosing Unlimited Jit
Cache leads to imidiate emu crash
- Status changed from New to Accepted
I can reproduce this, but not as you described.
r4980 crashes when:
- Checking Unlimited JIT Cache
- Running a Game (I tried this with the Wii Menu)
- Stopping the Game
- Unchecking Unlimited JIT Cache
Step 4 crashes with something that looks like a Stack Overflow inside EMM::Handler,
PRIV_INSTRUCTION is raised again and again.
Altho, the real question should be why you still need Unlimited JIT Cache?
My understanding is that the unlimited jit cache is always enabled. I am not sure
what this option does (I didn't know it existed) but it should probably be removed
from the GUI.
well, i can't reproduce the crash, just enabling it doesn't cause a crash on head x64
build.
Also this hack should probably be removed, it doesn't really make sense anymore with
the iCache. (skidau > the "unlimited JIT cache" is not enabled by default, you may be
mistaking it with the icache, the unlimited JIT cache is just a bad hack introduced
to avoid some crashes when "clearing code cache" :p)
IIRC, it was added to GUI (previously just being enabled at compile-time for
development) as a workaround for some SSBB crashes. I agree, it should be removed from
GUI either way.
Who will do the honors? :)
Are there any games that still need unlimited JIT Cache (in GUI)?
If not, I'll take it and remove it.
- Status changed from Accepted to Fixed
Unlimited JIT Cache is no longer configurable.
Also available in: Atom
PDF