Stream: git-wasmtime

Topic: wasmtime / PR #13192 DRC: Use an additional stack for lar...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 24 2026 at 19:20):

fitzgen opened PR #13192 from fitzgen:wasmtime-drc-large-array-stack to bytecodealliance:main:

This commit adds an additional explicit stack for tracing and deallocating arrays with many elements. Instead of pushing all the elements onto the stack at once, we push the array onto the new stack, and push its elements onto the main stack in fixed-size chunks.

It is probably easiest to review this code while ignoring whitespace changes, as some indentation shifted around a bit.

Fixes #12958

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Apr 24 2026 at 19:20):

fitzgen requested dicej for a review on PR #13192.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 24 2026 at 19:20):

fitzgen requested wasmtime-core-reviewers for a review on PR #13192.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 24 2026 at 19:36):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 24 2026 at 19:44):

fitzgen updated PR #13192.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 24 2026 at 19:44):

fitzgen has enabled auto merge for PR #13192.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 24 2026 at 19:57):

fitzgen added PR #13192 DRC: Use an additional stack for large arrays to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 24 2026 at 20:21):

fitzgen merged PR #13192.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 24 2026 at 20:21):

fitzgen removed PR #13192 DRC: Use an additional stack for large arrays from the merge queue.


Last updated: May 03 2026 at 22:13 UTC