From 28862da5ee202521a200495544d9337c0b13fdd2 Mon Sep 17 00:00:00 2001 From: Jared Parsons Date: Mon, 7 Dec 2020 11:29:47 -0800 Subject: [PATCH] Revert "Increase CoreCLR dump information" --- .../Source/RunTests/ProcessTestExecutor.cs | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/Tools/Source/RunTests/ProcessTestExecutor.cs b/src/Tools/Source/RunTests/ProcessTestExecutor.cs index 15ba570a44074..beea2ab3bc66c 100644 --- a/src/Tools/Source/RunTests/ProcessTestExecutor.cs +++ b/src/Tools/Source/RunTests/ProcessTestExecutor.cs @@ -9,7 +9,6 @@ using System.Collections.Immutable; using System.IO; using System.Linq; -using System.Runtime.InteropServices; using System.Text; using System.Threading; using System.Threading.Tasks; @@ -121,7 +120,6 @@ private async Task RunTestAsyncInternal(AssemblyInfo assemblyInfo, b // Define environment variables for processes started via ProcessRunner. var environmentVariables = new Dictionary(); Options.ProcDumpInfo?.WriteEnvironmentVariables(environmentVariables); - MaybeAddStressEnvironmentVariables(); if (retry && File.Exists(resultsFilePath)) { @@ -218,23 +216,6 @@ private async Task RunTestAsyncInternal(AssemblyInfo assemblyInfo, b testResultInfo, commandLineArguments, processResults: ImmutableArray.CreateRange(processResultList)); - - void MaybeAddStressEnvironmentVariables() - { -#if NETCOREAPP - // These environment variables will generate better dump information for the runtime team - // that will help them track down a GC issue that is impacting ConcurrentDictionary - // https://github.com/dotnet/runtime/issues/45557 - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - environmentVariables.Add("COMPlus_StressLog", "1"); - environmentVariables.Add("COMPlus_LogLevel", "6"); - environmentVariables.Add("COMPlus_LogFacility", "0x00080001"); - environmentVariables.Add("COMPlus_StressLogSize", "2000000"); - environmentVariables.Add("COMPlus_TotalStressLogSize", "40000000"); - } - } -#endif } catch (Exception ex) {