[jit, exception] use shared mutex to reduce thread contention of cached code blocks in fastmem trap handler #320

Merged
Shinmegumi merged 1 commit from usesharedmutexinsteadofhardmutex into master 2025-09-16 20:54:00 +02:00
Member

ankerl::unordered_dense::map will provide better lookup times, theoretically.
fastmem trap handler usually had mutex contention for non-linkable series of blocks (block linking failures); so just use shared_mutex

Signed-off-by: lizzie lizzie@eden-emu.dev

ankerl::unordered_dense::map will provide better lookup times, theoretically. fastmem trap handler usually had mutex contention for non-linkable series of blocks (block linking failures); so just use shared_mutex Signed-off-by: lizzie <lizzie@eden-emu.dev>
Lizzie added 1 commit 2025-08-26 12:20:02 +02:00
[jit, exception] use shared mutex to reduce thread contention of cached code blocks in fastmem trap handler
All checks were successful
eden-license / license-header (pull_request) Successful in 22s
55335b7f9f
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Lizzie force-pushed usesharedmutexinsteadofhardmutex from 55335b7f9f to 8e4bbf0d5b 2025-08-27 06:50:50 +02:00 Compare
Lizzie force-pushed usesharedmutexinsteadofhardmutex from 8e4bbf0d5b to 8d64521d7f 2025-08-27 07:02:31 +02:00 Compare
Lizzie force-pushed usesharedmutexinsteadofhardmutex from 8d64521d7f to 9ca5804990 2025-08-27 07:02:42 +02:00 Compare
Lizzie force-pushed usesharedmutexinsteadofhardmutex from 8d64521d7f to 61e56a037d 2025-08-27 07:03:52 +02:00 Compare
Lizzie force-pushed usesharedmutexinsteadofhardmutex from 61e56a037d to f23a55bb69 2025-08-27 07:28:05 +02:00 Compare
Lizzie force-pushed usesharedmutexinsteadofhardmutex from f23a55bb69 to 170401b3d3 2025-08-30 00:50:08 +02:00 Compare
Lizzie force-pushed usesharedmutexinsteadofhardmutex from 170401b3d3 to 440625f8af 2025-08-30 07:58:41 +02:00 Compare
Lizzie force-pushed usesharedmutexinsteadofhardmutex from 440625f8af to 063a240195 2025-08-31 05:16:41 +02:00 Compare
Lizzie force-pushed usesharedmutexinsteadofhardmutex from 063a240195 to 7d7f319901 2025-09-03 18:58:33 +02:00 Compare
Owner

No issues with this on Windows. Did the best to test with the games I had. No regressions or issues found.

No issues with this on Windows. Did the best to test with the games I had. No regressions or issues found.
Shinmegumi force-pushed usesharedmutexinsteadofhardmutex from 7d7f319901 to a6c594c364 2025-09-04 18:26:08 +02:00 Compare
Lizzie force-pushed usesharedmutexinsteadofhardmutex from a6c594c364 to 4c029ad345 2025-09-06 10:06:11 +02:00 Compare
MaranBr approved these changes 2025-09-10 22:16:52 +02:00
MaranBr force-pushed usesharedmutexinsteadofhardmutex from 4c029ad345 to c8fcafbb2a 2025-09-12 03:15:35 +02:00 Compare
Shinmegumi force-pushed usesharedmutexinsteadofhardmutex from c8fcafbb2a to 2e47f4c857 2025-09-16 18:08:22 +02:00 Compare
crueter approved these changes 2025-09-16 20:37:17 +02:00
Shinmegumi force-pushed usesharedmutexinsteadofhardmutex from 2e47f4c857 to 67f5a76f09 2025-09-16 20:53:30 +02:00 Compare
Shinmegumi merged commit 3b3278f44b into master 2025-09-16 20:54:00 +02:00
Shinmegumi deleted branch usesharedmutexinsteadofhardmutex 2025-09-16 20:54:01 +02:00
Sign in to join this conversation.
No description provided.