From: Milos Kotlar Date: Wed, 24 May 2023 14:51:57 +0000 (+0200) Subject: Use an mrgctx for all gshared methods on iOS (#86583) X-Git-Tag: accepted/tizen/unified/riscv/20231226.055536~2004 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7c3a57244640ac6bb39f187fc5cc0cd41c80aa3e;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Use an mrgctx for all gshared methods on iOS (#86583) --- diff --git a/src/mono/mono/utils/options-def.h b/src/mono/mono/utils/options-def.h index 29cf845..679fe9d 100644 --- a/src/mono/mono/utils/options-def.h +++ b/src/mono/mono/utils/options-def.h @@ -147,7 +147,7 @@ DEFINE_INT(jiterpreter_interp_entry_queue_flush_threshold, "jiterpreter-interp-e DEFINE_INT(jiterpreter_wasm_bytes_limit, "jiterpreter-wasm-bytes-limit", 6 * 1024 * 1024, "Disable jiterpreter code generation once this many bytes of WASM have been generated") #endif // HOST_BROWSER -#ifdef TARGET_WASM +#if defined(TARGET_WASM) || defined(TARGET_IOS) || defined(TARGET_TVOS) || defined (TARGET_MACCAT) DEFINE_BOOL_READONLY(experimental_gshared_mrgctx, "experimental-gshared-mrgctx", TRUE, "Use a mrgctx for all gshared methods") #else DEFINE_BOOL(experimental_gshared_mrgctx, "experimental-gshared-mrgctx", FALSE, "Use a mrgctx for all gshared methods")