diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 00:27:24 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 00:27:24 -0400 |
| commit | e9f31461b6ff98643bc2bfe330914d57b5facf38 (patch) | |
| tree | ed121bcac4280784d488d86df193f6a15112f81a /src/common/fiber.cpp | |
| parent | b40ad217ab829226841cb71f6e4c5cb05977a225 (diff) | |
dynarmic: commit x64 code cache memory as code is emitted
Xbyak's default allocator commits the whole code cache up front: 512 MiB
per emulated core, 3 GiB of commit charge for six cores, of which a game
fills a small part (Mario Kart World: ~80-120 MiB per core). On Windows,
reserve the space instead and let EnsureMemoryCommitted, which already
runs before every emission, commit it in 4 MiB steps. Other platforms
keep the default allocator (their mappings commit on first touch).
Diffstat (limited to 'src/common/fiber.cpp')
0 files changed, 0 insertions, 0 deletions
