Skip to content

Conversation

@alexcrichton
Copy link
Member

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)

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 bytecodealliance#11427 (does not solve it though)
@alexcrichton alexcrichton requested review from a team as code owners August 13, 2025 17:44
@alexcrichton alexcrichton requested review from cfallin and fitzgen and removed request for a team August 13, 2025 17:44
@fitzgen fitzgen added this pull request to the merge queue Aug 13, 2025
Merged via the queue into bytecodealliance:main with commit 73b3075 Aug 13, 2025
44 checks passed
bongjunj pushed a commit to prosyslab/wasmtime that referenced this pull request Oct 20, 2025
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 bytecodealliance#11427 (does not solve it though)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants