Stream: git-wasmtime

Topic: wasmtime / PR #7969 Avoid taking a write lock in `Registe...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 20 2024 at 22:04):

fitzgen opened PR #7969 from fitzgen:no-lock-to-clone-drop-registered-type to bytecodealliance:main:

By moving the registration count into the Arc, that is pulling the Arc outwards from containing just the WasmFuncType to the registration count as well, and turning it into an atomic, we can manipulate the registration count without a write lock. Once that is done, we have the following:

<!--
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 (Feb 20 2024 at 22:04):

fitzgen requested alexcrichton for a review on PR #7969.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 20 2024 at 22:04):

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

view this post on Zulip Wasmtime GitHub notifications bot (Feb 20 2024 at 23:19):

fitzgen updated PR #7969.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 21 2024 at 00:04):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 21 2024 at 00:33):

alexcrichton merged PR #7969.


Last updated: Nov 22 2024 at 16:03 UTC