Stream: git-wasmtime

Topic: wasmtime / issue #11162 Remove hash sets and bump chunk f...


view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2025 at 19:53):

fitzgen opened issue #11162:

Hashing is expensive and the fact that the bump chunk can fill and needs draining conflates "need GC" with "the bump chunk is full" and "the GC heap is at capacity".

Instead, we should:

With that, DRC sweeping is still logically the same: walk over the over-approximation set, decref any object that is not in the precise set, and reset the over-approximation set to be the precise set. However, this will now be implemented as a mutable traversal of the over-approximation linked list.

This should result in a large speed up for test cases like #11141

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2025 at 19:53):

fitzgen added the wasm-proposal:gc label to Issue #11162.

view this post on Zulip Wasmtime GitHub notifications bot (Jun 30 2025 at 19:53):

fitzgen added the performance label to Issue #11162.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 03 2025 at 17:43):

fitzgen closed issue #11162:

Hashing is expensive and the fact that the bump chunk can fill and needs draining conflates "need GC" with "the bump chunk is full" and "the GC heap is at capacity".

Instead, we should:

With that, DRC sweeping is still logically the same: walk over the over-approximation set, decref any object that is not in the precise set, and reset the over-approximation set to be the precise set. However, this will now be implemented as a mutable traversal of the over-approximation linked list.

This should result in a large speed up for test cases like #11141


Last updated: Dec 06 2025 at 06:05 UTC