Stream: git-wasmtime

Topic: wasmtime / issue #12104 Wasmtime debugging: clone only `....


view this post on Zulip Wasmtime GitHub notifications bot (Dec 02 2025 at 01:24):

cfallin opened issue #12104:

In #12051 we added functionality to create private CodeMemorys per Store for each module instantiated in that store so that we could patch in breakpoints.

The functionality currently clones the whole MmapVec per store when guest-debugging is enabled. In theory we only need to clone the .text section. The clone is often cheap (when the file is mmap'd from disk) but not always, e.g. when compiled in-memory.

We should clone only .text and separate out the cloned .text in the representation of StoreCodeStorage::Private.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 15:37):

alexcrichton added the wasmtime label to Issue #12104.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 15:37):

alexcrichton added the wasmtime:debugging label to Issue #12104.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 04 2025 at 15:37):

alexcrichton added the performance label to Issue #12104.


Last updated: Dec 06 2025 at 06:05 UTC