Re-enable automatic gc safe transitions in threaded wasm mode (#71229)
authorKatelyn Gadd <kg@luminance.org>
Wed, 29 Jun 2022 03:46:14 +0000 (20:46 -0700)
committerGitHub <noreply@github.com>
Wed, 29 Jun 2022 03:46:14 +0000 (20:46 -0700)
commit8be6ee0875788e19c5be2cec547456f049c44847
tree62f16ff4731e18cae83182629d3e6f7b2e355b0b
parent4537ce8b0d3a6e60d7d90fc146e6b4c4e4a23371
Re-enable automatic gc safe transitions in threaded wasm mode (#71229)

Gc safe transitions and memory barriers were disabled for wasm, now they are enabled if the wasm_gc_safepoints AOT compiler option is set or the DISABLE_THREADS define is not active
src/mono/mono/metadata/marshal-lightweight.c
src/mono/mono/mini/interp/transform.c
src/mono/mono/mini/mini.h
src/mono/mono/utils/mono-membar.h