mirror of https://github.com/python/cpython
gh-113655: Revert extra stack reserve in PGO builds unless UseExtraStackReserve=true (GH-114263)
This commit is contained in:
parent
412920a41e
commit
665b8f365e
|
@ -99,7 +99,7 @@
|
||||||
<StackReserveSize Condition="$(Configuration) == 'Debug'">12000000</StackReserveSize>
|
<StackReserveSize Condition="$(Configuration) == 'Debug'">12000000</StackReserveSize>
|
||||||
<StackReserveSize Condition="$(Configuration) == 'PGInstrument'">12000000</StackReserveSize>
|
<StackReserveSize Condition="$(Configuration) == 'PGInstrument'">12000000</StackReserveSize>
|
||||||
<!-- HACK: Need additional memory to avoid crashing until gh-113655 is fixed -->
|
<!-- 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>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -94,7 +94,7 @@
|
||||||
<StackReserveSize Condition="$(Configuration) == 'Debug'">12000000</StackReserveSize>
|
<StackReserveSize Condition="$(Configuration) == 'Debug'">12000000</StackReserveSize>
|
||||||
<StackReserveSize Condition="$(Configuration) == 'PGInstrument'">12000000</StackReserveSize>
|
<StackReserveSize Condition="$(Configuration) == 'PGInstrument'">12000000</StackReserveSize>
|
||||||
<!-- HACK: Need additional memory to avoid crashing until gh-113655 is fixed -->
|
<!-- 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>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue