You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add separate GC heap tunables
Before this commit, the GC heap used a memory with identical tunables as regular
Wasm linear memories.
After this commit, the GC heap now uses a memory with its own
tunables (`gc_heap_reservation`, `gc_heap_guard_size`,
`gc_heap_reservation_for_growth`, and `gc_heap_may_move`) so that GC heaps can
be configured independently from linear memories. These new GC heap tunables are
also exposed as CLI flags and `Config` methods. We also generate pseudorandom
values for these tunables in our fuzzing config generator.
The pooling allocator uses the same pool for memories and GC heaps, so we
validate that if you are using GC and the pooling allocator, then the new
tunables must match the memory tunables.
* Fix pooling allocator + GC heap tests
* Addressing review feedback
* cargo fmt
* skip tests that require large memory reservations on 32-bit and qemu
* run miri wast tests with identical flags as compilation
* Fix GC heap tunables defaulting behavior
* Revert "run miri wast tests with identical flags as compilation"
Not necessary after fixing the GC heap tunables defaulting behavior
0 commit comments