Skip to content

Wasmtime debug instrumentation: remove stale comment about moving GCs. - #14095

Open
cfallin wants to merge 1 commit into
bytecodealliance:mainfrom
cfallin:fix-comment
Open

Wasmtime debug instrumentation: remove stale comment about moving GCs.#14095
cfallin wants to merge 1 commit into
bytecodealliance:mainfrom
cfallin:fix-comment

Conversation

@cfallin

@cfallin cfallin commented Aug 9, 2026

Copy link
Copy Markdown
Member

We previously noted that instrumentation slots were not seen by a GC, and only implicitly rooted (by live program values) for a non-moving GC. However as part of landing debug support, we eventually had to add proper rooting; the GC now explicitly scans instrumentation slots on the stack as well as the user stackslots. So this comment is out-of-date, and moving GCs work fine with debug (which is great, because we have one now!).

Fixes #13798.

We previously noted that instrumentation slots were not seen by a GC,
and only implicitly rooted (by live program values) for a non-moving GC.
However as part of landing debug support, we eventually had to add
proper rooting; the GC now explicitly scans instrumentation slots on the
stack as well as the user stackslots. So this comment is out-of-date,
and moving GCs work fine with debug (which is great, because we have one
now!).

Fixes bytecodealliance#13798.
@cfallin
cfallin requested a review from a team as a code owner August 9, 2026 00:28
@cfallin
cfallin requested review from alexcrichton and removed request for a team August 9, 2026 00:28
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.

Outdated comment incorrectly describes debug state slots as not compatible with moving GC

1 participant