Update Multi-Core JIT to use the default stack size for the JIT playback thread.
authorBrian Robbins <brianrob@microsoft.com>
Fri, 11 Mar 2016 06:35:56 +0000 (22:35 -0800)
committerBrian Robbins <brianrob@microsoft.com>
Fri, 11 Mar 2016 06:35:56 +0000 (22:35 -0800)
src/vm/multicorejitplayer.cpp

index 5d35d51..44a1f4f 100644 (file)
@@ -1469,13 +1469,7 @@ HRESULT MulticoreJitProfilePlayer::ProcessProfile(const wchar_t * pFileName)
 
         _ASSERTE(m_pThread != NULL);
 
-        unsigned stackSize = 64 * sizeof(SIZE_T) * 1024; // 256 Kb for 32-bit, 512 Kb for 64-bit
-
-#ifdef _DEBUG
-        stackSize *= 2;   // Double it for CHK build
-#endif
-
-        if (m_pThread->CreateNewThread(stackSize, StaticJITThreadProc, this))
+        if (m_pThread->CreateNewThread(0, StaticJITThreadProc, this))
         {
             int t = (int) m_pThread->StartThread();