fitzgen opened PR #13422 from fitzgen:wasmtime-drc-over-approx-force-gc to bytecodealliance:main:
This should trigger collection in more situations than just filling up the heap from allocation.
Fixes https://github.com/bytecodealliance/wasmtime/issues/13403 in theory, but I haven't been able to measure sweep times reported in that issue without this fix on my laptop. FWIW, that issue does refer to Android, and so is probably using radically different hardware.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
fitzgen requested cfallin for a review on PR #13422.
fitzgen requested wasmtime-compiler-reviewers for a review on PR #13422.
fitzgen requested wasmtime-core-reviewers for a review on PR #13422.
fitzgen updated PR #13422.
github-actions[bot] added the label wasmtime:api on PR #13422.
github-actions[bot] added the label wasmtime:ref-types on PR #13422.
github-actions[bot] commented on PR #13422:
Subscribe to Label Action
cc @fitzgen
<details>
This issue or pull request has been labeled: "wasmtime: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>
:thumbs_up: cfallin submitted PR review:
LGTM!
:speech_balloon: cfallin created PR review comment:
Comment here why this can't overflow? (Presumably because we'd run out of memory long before?)
fitzgen updated PR #13422.
fitzgen has enabled auto merge for PR #13422.
fitzgen added PR #13422 Trigger GC in the DRC collector when the OASR list is twice the size it was after the last GC to the merge queue.
:check: fitzgen merged PR #13422.
fitzgen removed PR #13422 Trigger GC in the DRC collector when the OASR list is twice the size it was after the last GC from the merge queue.
Last updated: Jun 01 2026 at 09:49 UTC