From 361892c789e0fe5a0e7b43e18b72a4e99516718b Mon Sep 17 00:00:00 2001 From: Maoni Stephens Date: Thu, 27 Jul 2017 12:26:15 -0700 Subject: [PATCH] gcconcurrent config should be obtained from g_pConfig which takes env vars/reg values into consideration as well (#13078) --- src/vm/gcenv.ee.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/gcenv.ee.cpp b/src/vm/gcenv.ee.cpp index 6fe9a71..7ab22db 100644 --- a/src/vm/gcenv.ee.cpp +++ b/src/vm/gcenv.ee.cpp @@ -1031,7 +1031,7 @@ bool GCToEEInterface::GetBooleanConfigValue(const char* key, bool* value) if (strcmp(key, "gcConcurrent") == 0) { - *value = g_IGCconcurrent != 0; + *value = !!g_pConfig->GetGCconcurrent(); return true; } -- 2.7.4