Stream: git-wasmtime

Topic: wasmtime / PR #9604 Store one fiber stack in a `Store<T>`


view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2024 at 05:29):

alexcrichton opened PR #9604 from alexcrichton:cache-one-stack to bytecodealliance:main:

This commit stores a single fiber stack in Store<T> as a cache to be used throughout the lifetime of the Store. This should help amortize the cost of allocating a stack for use in a store because the same stack can be used continuously throughout the lifetime of the Store<T>. This notably reduces contention on the lock used to manage the pooling allocator when possible.

<!--
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 (Nov 14 2024 at 05:29):

alexcrichton requested pchickey for a review on PR #9604.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2024 at 05:29):

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

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2024 at 06:05):

alexcrichton updated PR #9604.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2024 at 18:23):

pchickey submitted PR review:

Love it!

view this post on Zulip Wasmtime GitHub notifications bot (Nov 14 2024 at 21:08):

alexcrichton merged PR #9604.


Last updated: Dec 23 2024 at 13:07 UTC