Stream: git-wasmtime

Topic: wasmtime / PR #13180 Always use mmap in cranelift-jit


view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 15:05):

bjorn3 opened PR #13180 from bjorn3:cranelift_jit_memory_cleanup to bytecodealliance:main:

This was previously not done with the theory that using the regular heap allocator could be faster. We now have an arena memory provider and using mmap is necessary anyway when SELinux is enabled. I don't think the benefits outweight the code complexity cost. Also use memmap2 on Windows too in cranelift-jit.

Fixes https://github.com/bytecodealliance/wasmtime/issues/4986

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 15:05):

bjorn3 requested fitzgen for a review on PR #13180.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 15:05):

bjorn3 requested wasmtime-compiler-reviewers for a review on PR #13180.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 15:08):

fitzgen submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 15:14):

bjorn3 updated PR #13180.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 16:03):

bjorn3 commented on PR #13180:

CI passed

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 18:04):

github-actions[bot] added the label cranelift on PR #13180.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 20:14):

alexcrichton added PR #13180 Always use mmap in cranelift-jit to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 20:43):

alexcrichton merged PR #13180.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 23 2026 at 20:43):

alexcrichton removed PR #13180 Always use mmap in cranelift-jit from the merge queue.


Last updated: May 03 2026 at 22:13 UTC