Stream: git-wasmtime

Topic: wasmtime / PR #13860 Cache GC subtype checks per-store


view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 16:36):

alexcrichton requested fitzgen for a review on PR #13860.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 16:36):

alexcrichton opened PR #13860 from alexcrichton:store-subtype-check-cache to bytecodealliance:main:

This is the final commit extracted from https://github.com/bytecodealliance/wasmtime/pull/13822 with some edits here. Notably:

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 16:36):

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

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

:thumbs_up: fitzgen submitted PR review.

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

:speech_balloon: fitzgen created PR review comment:

FWIW, even with inline supertype arrays, we will still need to consult the type registry in the limit: for example, when a module defines a non-final type and is checking whether another type defined outside that module (perhaps a last-minute host-defined type or a type in a module that wasn't even loaded into the engine until after the first module was instantiated) is a subtype of the non-final type.

Not sure a cache will still be worth it at that point; just noting that inline supertype arrays won't Solve All The Problems

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

:speech_balloon: fitzgen created PR review comment:

This shouldn't be necessary inside this GC-specific file, no?

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 17:54):

alexcrichton updated PR #13860.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 17:54):

:memo: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 17:54):

:speech_balloon: alexcrichton created PR review comment:

Agreed yeah, and I would agree that in that case the cache here should still get deleted. The main purpose here is to avoid horizontal scaling bottlenecks for idiomatic code, which the inline supertype arrays would solve.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 17:54):

alexcrichton has enabled auto merge for PR #13860.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 18:04):

alexcrichton added PR #13860 Cache GC subtype checks per-store to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 18:29):

:check: alexcrichton merged PR #13860.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 10 2026 at 18:29):

alexcrichton removed PR #13860 Cache GC subtype checks per-store from the merge queue.


Last updated: Jul 29 2026 at 05:03 UTC