From cfe4f91ebbe2adcfb75d8067fd77c6321bd0bd8a Mon Sep 17 00:00:00 2001 From: Zoltan Varga Date: Wed, 10 Jan 2024 15:48:33 -0500 Subject: [PATCH] Enable gshared-mrgctx mode by default. --- src/mono/mono/utils/options-def.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mono/mono/utils/options-def.h b/src/mono/mono/utils/options-def.h index 8f3ec6d47c4e9..25df713939e41 100644 --- a/src/mono/mono/utils/options-def.h +++ b/src/mono/mono/utils/options-def.h @@ -161,7 +161,8 @@ DEFINE_INT(jiterpreter_table_size, "jiterpreter-table-size", 6 * 1024, "Size of DEFINE_INT(jiterpreter_aot_table_size, "jiterpreter-aot-table-size", 3 * 1024, "Size of the jiterpreter AOT trampoline function tables") #endif // HOST_BROWSER -#if defined(TARGET_WASM) || defined(TARGET_IOS) || defined(TARGET_TVOS) || defined (TARGET_MACCAT) +//#if defined(TARGET_WASM) || defined(TARGET_IOS) || defined(TARGET_TVOS) || defined (TARGET_MACCAT) +#if 1 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")