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_defaultto 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:
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
-->
alexcrichton requested cfallin for a review on PR #11428.
alexcrichton requested wasmtime-compiler-reviewers for a review on PR #11428.
alexcrichton requested fitzgen for a review on PR #11428.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11428.
fitzgen submitted PR review.
fitzgen merged PR #11428.
Last updated: Dec 06 2025 at 06:05 UTC