From 3f6b572942f6a3c6297ded77de3d3c0634c9bfdc Mon Sep 17 00:00:00 2001 From: noahfalk Date: Tue, 15 Aug 2017 22:13:01 -0700 Subject: Make unit tests run clean with tiered compilation A handful of tests are optimization sensitive and needed to be disabled because tiered jitting doesn't optimize right away. There was also a shutdown timing issue where the tiered jitting background compilation thread would continue calling into the JIT after the JIT was shutdown. This manifested as an error writing to the jit log after the stream had been closed. --- src/vm/appdomain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vm/appdomain.cpp') diff --git a/src/vm/appdomain.cpp b/src/vm/appdomain.cpp index 78ebe50c26..a569b90052 100644 --- a/src/vm/appdomain.cpp +++ b/src/vm/appdomain.cpp @@ -8103,7 +8103,7 @@ void AppDomain::Exit(BOOL fRunFinalizers, BOOL fAsyncExit) // have exited the domain. // #ifdef FEATURE_TIERED_COMPILATION - m_tieredCompilationManager.OnAppDomainShutdown(); + m_tieredCompilationManager.Shutdown(FALSE); #endif // -- cgit v1.2.3