Stream: git-wasmtime

Topic: wasmtime / PR #3964 Enable explicitly initializating copy...


view this post on Zulip Wasmtime GitHub notifications bot (Mar 28 2022 at 15:31):

alexcrichton opened PR #3964 from more-module-knobs to main:

This commit adds a method, Module::initialize_copy_on_write_image,
which will explicitly create the copy-on-write image during the method
call instead of lazily deferring it until the first instantiation of a
module. Given the relative expense of creation of a memfd on Linux this
can otherwise run the risk of unnaturally perturbing the
time-of-instantiation of a module. Additionally whenever lazy
initialization is provided in an API it's typically good practice to
also have an optionally-called forced initialization.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Mar 28 2022 at 16:35):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 11 2022 at 17:51):

alexcrichton merged PR #3964.


Last updated: Nov 22 2024 at 17:03 UTC