wasm-micro-runtime/core/iwasm
YAMAMOTO Takashi 91592429f4
Fix memory sharing (#2415)
- Inherit shared memory from the parent instance, instead of
  trying to look it up by the underlying module. The old method
  works correctly only when every cluster uses different module.
- Use reference count in WASMMemoryInstance/AOTMemoryInstance
  to mark whether the memory is shared or not
- Retire WASMSharedMemNode
- For atomic opcode implementations in the interpreters, use
  a global lock for now
- Update the internal API users
  (wasi-threads, lib-pthread, wasm_runtime_spawn_thread)

Fixes https://github.com/bytecodealliance/wasm-micro-runtime/issues/1962
2023-08-04 10:18:13 +08:00
..
aot Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
common Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
compilation Fix ExpandMemoryOpPass doesn't work properly (#2399) 2023-07-29 10:28:09 +08:00
doc Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00
fast-jit Fix some check issues on table operations (#2392) 2023-07-27 21:53:48 +08:00
include Fix typo (dwarf) in the codebase (#2367) 2023-07-19 17:58:52 +08:00
interpreter Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
libraries Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
README.md Add architecture diagram for wasm globals and classic-interp stack frame (#2058) 2023-03-25 09:39:20 +08:00