We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2db9fdf commit 49f5984Copy full SHA for 49f5984
src/coreclr/nativeaot/Runtime/RhConfig.cpp
@@ -205,7 +205,7 @@ size_t GetDefaultStackSizeSetting()
205
if (g_pRhConfig->ReadConfigValue("Thread_DefaultStackSize", &uiStacksize)
206
|| g_pRhConfig->ReadKnobUInt64Value("System.Threading.DefaultStackSize", &uiStacksize))
207
{
208
- if (uiStacksize < maxStack || uiStacksize >= minStack)
+ if (uiStacksize < maxStack && uiStacksize >= minStack)
209
210
return (size_t)uiStacksize;
211
}
0 commit comments