chromium-src-build/win
Bruce Dawson 258f393554 Opt in to the Windows "segment heap"
Adding a SegmentHeap entry to the chrome.exe manifest will tell
recent-enough versions of Windows (20-04 and beyond) to opt chrome.exe
into using the segment heap instead of the legacy heap. Details are in
the bug but it appears that the default Windows heap is tuned for server
workloads where throughput is what matters most, and Chromium
(especially due to its multi-process architecture) also has to care
about memory footprint. Experiments with per-machine opting-in to the
segment heap for chrome.exe suggests that this could save hundreds of MB
in the browser and Network Service utility processes, among others, on
some machines. Actual results will vary widely, with the greatest
savings coming on many-core machines.

In order to avoid build warnings this change depends on switching to
building with the Windows 10.0.19041.0 (20-04) SDK.

The initial investigation of this is in crbug.com/982452.

Bug: 1014701
Change-Id: I217d045ee0d365ac57f7a73b0f5ed456469214c6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2163163
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Reviewed-by: Ken Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#782134}
GitOrigin-RevId: 1a9f684dad2f2620c5b88b3cea41c87143cd3c28
2020-06-25 12:58:50 -07:00
..
BUILD.gn Reland "Reland "New toolchain for Windows 10 19041 SDK"" 2020-06-25 12:56:46 -07:00
as_invoker.manifest
common_controls.manifest
compatibility.manifest
copy_cdb_to_output.py Copy all UCRT files to cdb directory 2019-11-08 19:23:29 +00:00
gn_meta_sln.py build/: Convert uses of has_key 2019-09-24 18:54:55 +00:00
message_compiler.gni Reformat all gn files in /build. 2020-01-14 04:52:17 +00:00
message_compiler.py Make a bytestring explicitly raw due to confusing use of invalid escape sequences 2019-03-21 20:20:29 +00:00
reorder-imports.py Add Windows ARM64 support to Chromium build scripts. 2018-10-16 19:37:14 +00:00
require_administrator.manifest
segment_heap.manifest Opt in to the Windows "segment heap" 2020-06-25 12:58:50 -07:00
use_ansi_codes.py Improve Python 3 support in build scripts 2019-03-19 15:04:20 +00:00