wasm-micro-runtime/core/iwasm/aot
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
..
arch Re-organize intrinsics in aot_reloc_riscv.c to fix some FPU issues (#2414) 2023-08-01 17:28:57 +08:00
debug Fix AOT debug for macOS (#1494) 2022-09-16 18:54:04 +08:00
aot_intrinsic.c Add "--enable-builtin-intrinsics=<flags>" option to wamrc (#2341) 2023-07-06 18:20:35 +08:00
aot_intrinsic.h Implement i32.div_s (#1792) 2022-12-13 10:48:51 +08:00
aot_loader.c Bring up WAMR on esp32-s3 device (#2348) 2023-07-21 07:54:13 +08:00
aot_reloc.h Implement AOT static PGO (#2243) 2023-06-05 09:17:39 +08:00
aot_runtime.c Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
aot_runtime.h Fix memory sharing (#2415) 2023-08-04 10:18:13 +08:00
iwasm_aot.cmake Implement source debugging for interpreter and AOT (#769) 2021-09-29 13:36:46 +08:00
SConscript Add ia32 support and fix compiling issue for RT-Thread (#730) 2021-09-07 10:20:14 +08:00