cfallin requested fitzgen for a review on PR #15341.
cfallin opened PR #15341 from cfallin:debug-readonly-apis to bytecodealliance:main:
Several APIs that only read a store's state take mutable access to it, which makes them unusable where only shared access is available, such as in an eventual record/replay/snapshot mechanism. Now that GC values can be read as
Unrootedreferences, with only shared access, several more APIs can takeimpl AsContextinstead ofimpl AsContextMut: getters onInstancefor tables, memories, and globals; debug getters; the debug FrameHandle API; andFunc::to_raw(which I'll use in tests in later PRs). To make the frame-handle bit work, we need internal locking for theFrameDataCache(which avoids re-parsing the frame table when frame handles are re-obtained at each debug event).
cfallin requested wasmtime-core-reviewers for a review on PR #15341.
cfallin commented on PR #15341:
(Stacked on #15191 until that merges; only last commit is new)
github-actions[bot] added the label wasmtime:api on PR #15341.
github-actions[bot] added the label wasmtime:c-api on PR #15341.
github-actions[bot] added the label wasmtime:ref-types on PR #15341.
github-actions[bot] commented on PR #15341:
Subscribe to Label Action
cc @fitzgen
<details>
This issue or pull request has been labeled: "wasmtime:api", "wasmtime:c-api", "wasmtime:ref-types"Thus the following users have been cc'd because of the following labels:
- fitzgen: wasmtime:ref-types
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
cfallin updated PR #15341.
cfallin edited a comment on PR #15341:
<strike>(Stacked on #15191 until that merges; only last commit is new)</strike> (rebased)
:thumbs_up: fitzgen submitted PR review.
fitzgen added PR #15341 Take only shared store access in read-only inspection APIs. to the merge queue
:check: fitzgen merged PR #15341.
fitzgen removed PR #15341 Take only shared store access in read-only inspection APIs. from the merge queue
Last updated: Nov 19 2026 at 20:05 UTC