summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-03-11 23:26:24 -0800
committerJan Kotas <jkotas@microsoft.com>2016-03-11 23:26:24 -0800
commitd9b108e0e0a6ff0f6653874d743cd13c926bf473 (patch)
treef2ae4a87f541fcde3b4cf691c5952f64f649be05
parent4bee2d8ec820c2edf29e7d483629c091e2a4928e (diff)
parent46f6e3abbb9898bc212dcf4a20827335538ee575 (diff)
downloadcoreclr-d9b108e0e0a6ff0f6653874d743cd13c926bf473.tar.gz
coreclr-d9b108e0e0a6ff0f6653874d743cd13c926bf473.tar.bz2
coreclr-d9b108e0e0a6ff0f6653874d743cd13c926bf473.zip
Merge pull request #3671 from brianrob/multicorejitthread
Use Default Stack Size for Multi-Core JIT Playback Thread
-rw-r--r--src/vm/multicorejitplayer.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/vm/multicorejitplayer.cpp b/src/vm/multicorejitplayer.cpp
index 5d35d51a60..44a1f4fd83 100644
--- a/src/vm/multicorejitplayer.cpp
+++ b/src/vm/multicorejitplayer.cpp
@@ -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();