Skip to content

Fix the copying collector bug(s) triggered by the Kotlin benchmarks - #13381

Merged
fitzgen merged 5 commits into
bytecodealliance:mainfrom
fitzgen:kotlin-benchmark-bug
May 15, 2026
Merged

fitzgen merged 5 commits into
bytecodealliance:mainfrom
fitzgen:kotlin-benchmark-bug

Conversation

@fitzgen

@fitzgen fitzgen commented May 15, 2026

Copy link
Copy Markdown
Member

See each commit for details.

fitzgen added 3 commits May 14, 2026 18:25
The imported global being non-mutable is not enough. We can only add the
`readonly` and `can_move` flags when the collector is non-moving as well. This
is only an issue for the copying collector, as it is our only moving collector.

This fixes the copying collector assertion failure from
bytecodealliance#13279 (comment)
And remove some other `readonly`/`can_move` uses that are not quite actually
buggy, but are somewhat of close calls / potential future footguns.
@fitzgen
fitzgen requested review from a team as code owners May 15, 2026 01:28
@fitzgen
fitzgen requested review from cfallin and removed request for a team May 15, 2026 01:28
fitzgen added a commit to fitzgen/wasmtime that referenced this pull request May 15, 2026
@fitzgen
fitzgen enabled auto-merge May 15, 2026 15:13
@fitzgen
fitzgen added this pull request to the merge queue May 15, 2026
Merged via the queue into bytecodealliance:main with commit 939e7c5 May 15, 2026
51 checks passed
@fitzgen
fitzgen deleted the kotlin-benchmark-bug branch May 15, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants