mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 09:00:17 +02:00
Move docs about allocator
This commit is contained in:
1 file changed
+4
-4
@@ -1,9 +1,9 @@
|
||||
# JEMalloc usage
|
||||
FEX-Emu uses two different jemalloc heap allocators at once, each for different purposes:
|
||||
- jemalloc: The primary heap allocator (to keep FEX's internal allocations out of the 32-bit address space used by guest applications)
|
||||
# Dual allocator usage
|
||||
FEX-Emu uses two different heap allocators at once, each for different purposes:
|
||||
- rpmalloc: The primary heap allocator (to keep FEX's internal allocations out of the 32-bit address space used by guest applications)
|
||||
- jemalloc_glibc: The second heap allocator (to add allocation introspection features used by thunks)
|
||||
|
||||
## jemalloc - primary heap allocator
|
||||
## rpmalloc - primary heap allocator
|
||||
This allocator overrides `mmap` and `munmap` by forwarding them to FEXCore's internal VMA region allocator.
|
||||
|
||||
All of FEXCore's `fextl::` namespaced objects allocate memory with this method.
|
||||
Reference in new issue
Block a user