Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Issue 1842203003: Shard webcore_dom to avoid MSVS 2 GB limitation (Closed)

Created:
4 years, 8 months ago by brucedawson
Modified:
4 years, 8 months ago
Reviewers:
esprehn, dcheng, Wez
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Shard webcore_dom to avoid MSVS 2 GB limitation A change to tempoarily enable DCHECK on official builds caused webcore_dom to expand beyond 2 GB which caused these errors: obj\third_party\WebKit\Source\core\webcore_dom.lib : fatal error LNK1107: invalid or corrupt file: cannot read at 0x62884508 msvs_shard is a way of breaking up a library to avoid this limitation. webcore_dom was already at about 2.08 billion bytes, so very close to the 2 GiB limit, and enabling DCHECK's on official builds pushed it over. There are no other .lib files which appear to be in danger of hitting the limit, although I did not check x64 builds. This change also fixes a repeated spelling error which confused me. BUG=599186 Committed: https://crrev.com/529f6f50e463a2469cda86b6363035114264bcbe Cr-Commit-Position: refs/heads/master@{#384177}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M third_party/WebKit/Source/core/core.gyp View 3 chunks +9 lines, -2 lines 2 comments Download

Messages

Total messages: 17 (9 generated)
brucedawson
Building now - I don't know how long it will take to get results. 15977 ...
4 years, 8 months ago (2016-03-30 23:01:03 UTC) #3
Wez
lgtm
4 years, 8 months ago (2016-03-30 23:07:23 UTC) #4
dcheng
lgtm https://codereview.chromium.org/1842203003/diff/1/third_party/WebKit/Source/core/core.gyp File third_party/WebKit/Source/core/core.gyp (right): https://codereview.chromium.org/1842203003/diff/1/third_party/WebKit/Source/core/core.gyp#newcode296 third_party/WebKit/Source/core/core.gyp:296: 'msvs_shard': 5, Out of curiosity, why 5?
4 years, 8 months ago (2016-03-30 23:17:25 UTC) #6
esprehn
lgtm, but please note that DCHECK builds are very slow. Blink does a lot of ...
4 years, 8 months ago (2016-03-30 23:23:04 UTC) #8
brucedawson
https://codereview.chromium.org/1842203003/diff/1/third_party/WebKit/Source/core/core.gyp File third_party/WebKit/Source/core/core.gyp (right): https://codereview.chromium.org/1842203003/diff/1/third_party/WebKit/Source/core/core.gyp#newcode296 third_party/WebKit/Source/core/core.gyp:296: 'msvs_shard': 5, On 2016/03/30 23:17:25, dcheng wrote: > Out ...
4 years, 8 months ago (2016-03-30 23:32:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1842203003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1842203003/1
4 years, 8 months ago (2016-03-30 23:32:39 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-03-31 01:10:30 UTC) #15
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 01:12:49 UTC) #17
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/529f6f50e463a2469cda86b6363035114264bcbe
Cr-Commit-Position: refs/heads/master@{#384177}

Powered by Google App Engine
This is Rietveld 408576698