Stream: git-wasmtime

Topic: wasmtime / PR #13774 Fix copying collector's semi-space a...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2026 at 19:41):

fitzgen opened PR #13774 from fitzgen:copying-collector-semi-space-alignment-bug to bytecodealliance:main:

For GC heaps with >= 4GiB capacity, we clamp the capacity to u32::MAX and then round it down so it is aligned. The previous rounding down only rounded to ALIGN, which produced a capacity that was an odd multiple of ALIGN, which we then split in two for each semispace, which meant that each semispace was not aligned to ALIGN (only aligned to ALIGN/2). The fix is to round down to the next multiple of 2*ALIGN.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2026 at 19:41):

fitzgen requested alexcrichton for a review on PR #13774.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2026 at 19:41):

fitzgen requested wasmtime-core-reviewers for a review on PR #13774.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2026 at 20:39):

:thumbs_up: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2026 at 20:39):

alexcrichton added PR #13774 Fix copying collector's semi-space alignment rounding to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2026 at 21:04):

:check: alexcrichton merged PR #13774.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2026 at 21:04):

alexcrichton removed PR #13774 Fix copying collector's semi-space alignment rounding from the merge queue.


Last updated: Jul 29 2026 at 05:03 UTC