alexcrichton opened issue #13798:
Right now debug state slot management is documented as not supporting moving GCs, and at the time of creation we indeed didn't have a moving GC. Nowadays though with
copyingas the default collector we do indeed have a moving GC, so either this comment needs updating or the implementation needs updating as well.
alexcrichton added the wasmtime:debugging label to Issue #13798.
alexcrichton added the wasm-proposal:gc label to Issue #13798.
cfallin closed issue #13798:
Right now debug state slot management is documented as not supporting moving GCs, and at the time of creation we indeed didn't have a moving GC. Nowadays though with
copyingas the default collector we do indeed have a moving GC, so either this comment needs updating or the implementation needs updating as well.
cfallin commented on issue #13798:
(hi from PTO -- just dropping in briefly)
That's an outdated comment fortunately; the values in debug state slots are fully rooted and will be updated by a moving GC. I'll put this on my todo list to update that comment when I'm back.
Last updated: Jul 29 2026 at 05:03 UTC