Skip to content

Commit

Permalink
Switch WT and OpenConsole to the Segment Heap (#13033)
Browse files Browse the repository at this point in the history
To quote an internal wiki:

> It generally provides improved footprint and performance over the
> existing default heap for native win32 applications.

It is apparently the default heap on ARM64, and for all UWPs.

This heap has different allocation and compaction characteristics.
I am not sure how it will impact terminal.
  • Loading branch information
DHowett authored May 4, 2022
1 parent 71cbdc8 commit 9edf55d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/cascadia/WindowsTerminal/WindowsTerminal.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<windowsSettings>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
<heapType xmlns="http://schemas.microsoft.com/SMI/2020/WindowsSettings">SegmentHeap</heapType>
</windowsSettings>
</application>
</assembly>
2 changes: 1 addition & 1 deletion src/host/exe/openconsole.exe.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
<!--Enable longPath support-->
<heapType xmlns="http://schemas.microsoft.com/SMI/2020/WindowsSettings">SegmentHeap</heapType>
</windowsSettings>
</application>

Expand Down

0 comments on commit 9edf55d

Please sign in to comment.