Project 'TerrorJack/ghc' was moved to 'haskell-wasm/ghc'. Please update any links and bookmarks that may still have the old path.
rts: use page sized mblocks on wasm
This patch changes mblock size to page size on wasm. It allows us to simplify our wasi-libc fork, makes it much easier to test third party libc allocators like emmalloc/mimalloc, as well as experimenting with threaded RTS in wasm. (cherry picked from commit 558353f4)
Showing
- libraries/ghc-compact/tests/T18757.stdout-wasm32-unknown-wasi 1 addition, 0 deletions...aries/ghc-compact/tests/T18757.stdout-wasm32-unknown-wasi
- rts/include/rts/Constants.h 4 additions, 0 deletionsrts/include/rts/Constants.h
- rts/sm/NonMoving.h 5 additions, 0 deletionsrts/sm/NonMoving.h
- rts/wasm/OSMem.c 8 additions, 19 deletionsrts/wasm/OSMem.c
Loading
Please register or sign in to comment