Stream: git-wasmtime

Topic: wasmtime / PR #13278 Disable GC zeal allocation counter w...


view this post on Zulip Wasmtime GitHub notifications bot (May 05 2026 at 17:39):

fitzgen opened PR #13278 from fitzgen:issue-13263 to bytecodealliance:main:

With a GC zeal allocation counter of 1, we would otherwise indefinitely fail to allocate, even after we did the GC that the counter triggered, when we tried to allocate again the GC zeal counter would force-return another OOM.

Instead, we temporarily disable the GC zeal allocation counter in retry_after_gc_async on the retry path. This resets the counter after we have done our second-attempt allocation, giving the desired sequence of events for gc_zeal_alloc_counter=1 where we GC once on every retry_after_gc_async call:

Fixes https://github.com/bytecodealliance/wasmtime/issues/13263

<!--
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 (May 05 2026 at 17:39):

fitzgen requested alexcrichton for a review on PR #13278.

view this post on Zulip Wasmtime GitHub notifications bot (May 05 2026 at 17:39):

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

view this post on Zulip Wasmtime GitHub notifications bot (May 05 2026 at 17:46):

:thumbs_up: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (May 05 2026 at 18:34):

fitzgen added PR #13278 Disable GC zeal allocation counter when retrying after GC to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (May 05 2026 at 19:00):

:check: fitzgen merged PR #13278.

view this post on Zulip Wasmtime GitHub notifications bot (May 05 2026 at 19:00):

fitzgen removed PR #13278 Disable GC zeal allocation counter when retrying after GC from the merge queue.


Last updated: Jun 01 2026 at 09:49 UTC