Stream: git-wasmtime

Topic: wasmtime / PR #9180 Do not deallocate disabled GC heaps v...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 19:03):

fitzgen opened PR #9180 from fitzgen:dont-dealloc-disabled-gc-heap to bytecodealliance:main:

When the reference types proposal is disabled, we don't allocate a GC heap from the instance allocator, we instead create a DisabledGcHeap. Rather than returning this to the instance allocator when we're done with it, which won't even know what to do with it since the instance allocator didn't create the GC heap, we simply rely on the DisabledGcHeap's Drop implementation.

<!--
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 (Aug 28 2024 at 19:03):

fitzgen requested alexcrichton for a review on PR #9180.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 19:03):

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

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 19:54):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 19:54):

alexcrichton created PR review comment:

While you're here mind handling https://github.com/bytecodealliance/wasmtime/pull/9162 here as well and renaming reference_types in this PR to gc_types instead?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 20:00):

fitzgen updated PR #9180.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 20:01):

fitzgen has enabled auto merge for PR #9180.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 28 2024 at 20:36):

fitzgen merged PR #9180.


Last updated: Nov 22 2024 at 17:03 UTC