summaryrefslogtreecommitdiffstats
path: root/PCbuild/pythonw.vcxproj
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2024-01-22 21:19:16 (GMT)
committerGitHub <noreply@github.com>2024-01-22 21:19:16 (GMT)
commit665b8f365efc4e0063f764e20d3cad13635232f3 (patch)
tree63aa6220e9cc4911e417e7adcc744ed6c0a923d7 /PCbuild/pythonw.vcxproj
parent412920a41efc6f3307e710d5ce61bfe00c0f3c11 (diff)
downloadcpython-665b8f365efc4e0063f764e20d3cad13635232f3.zip
cpython-665b8f365efc4e0063f764e20d3cad13635232f3.tar.gz
cpython-665b8f365efc4e0063f764e20d3cad13635232f3.tar.bz2
gh-113655: Revert extra stack reserve in PGO builds unless UseExtraStackReserve=true (GH-114263)
Diffstat (limited to 'PCbuild/pythonw.vcxproj')
-rw-r--r--PCbuild/pythonw.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/pythonw.vcxproj b/PCbuild/pythonw.vcxproj
index d6cf0c9..d08c210 100644
--- a/PCbuild/pythonw.vcxproj
+++ b/PCbuild/pythonw.vcxproj
@@ -94,7 +94,7 @@
<StackReserveSize Condition="$(Configuration) == 'Debug'">12000000</StackReserveSize>
<StackReserveSize Condition="$(Configuration) == 'PGInstrument'">12000000</StackReserveSize>
<!-- HACK: Need additional memory to avoid crashing until gh-113655 is fixed -->
- <StackReserveSize Condition="$(Configuration) == 'PGUpdate'">3000000</StackReserveSize>
+ <StackReserveSize Condition="$(Configuration) == 'PGUpdate' and $(UseExtraStackReserve) == 'true'">3000000</StackReserveSize>
</Link>
</ItemDefinitionGroup>
<ItemGroup>