Stream: git-wasmtime

Topic: wasmtime / PR #11428 Consume fuel in `array.new_default`


view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2025 at 17:44):

alexcrichton opened PR #11428 from alexcrichton:fuel-and-epoch-in-gc-loop to bytecodealliance:main:

This commit updates the Cranelift-generated loop for array.new_default to contain fuel/epoch checks. This ensures that large arrays have an opportunity to context-switch away or otherwise interrupt the program to prevent excessively long-running executions.

cc #11427 (does not solve it though)

<!--
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 (Aug 13 2025 at 17:44):

alexcrichton requested cfallin for a review on PR #11428.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2025 at 17:44):

alexcrichton requested wasmtime-compiler-reviewers for a review on PR #11428.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2025 at 17:44):

alexcrichton requested fitzgen for a review on PR #11428.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2025 at 17:44):

alexcrichton requested wasmtime-core-reviewers for a review on PR #11428.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2025 at 20:03):

fitzgen submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 13 2025 at 20:26):

fitzgen merged PR #11428.


Last updated: Dec 06 2025 at 06:05 UTC