Stream: wamr

Topic: blog: Understand the WAMR stacks


view this post on Zulip Wang Xin (Mar 19 2023 at 01:07):

Understand the WAMR stacks
https://bytecodealliance.github.io/wamr.dev/blog/understand-the-wamr-stacks/

The status of stacks # During the WAMR executes a Wasm function, there will be a Wasm stack created and used. For interpreter mode, as the Wasm functions intercall, the Wasm stack frames will grow, while the native stack keeps unchanged. When the Wasm calls into a imported native function and the native function then call into some Wasm function, the native stack will add a frame, and an empty frame will be inserted into wasm stack to indicate the function is imported from native.

Last updated: Dec 23 2024 at 13:07 UTC