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

Issue 2785043002: Increase the stack size to 2MB for x64 Windows (Closed)

Created:
3 years, 8 months ago by kojii
Modified:
3 years, 8 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Increase the stack size to 2MB for x64 Windows This patch increases the stack size to 2MB for x64 Windows to reduce stack overflow crashes. jgruber@ commented in crbug.com/704536#c25 that V8 build has this change. This patch uses the same value as V8. On other platforms, as far as GetDefaultThreadStackSize() tells: * macOS normally uses 8MB. * Linux normally uses 8 or 16MB. * Android uses 2MB. Assuming comments there are correct, this change should make Windows closer to other platforms. Tested by "dumpbin /headers" to locally built chrome.exe: 100000 size of stack reserve changes to: 200000 size of stack reserve Both numbers are in hexadecimal. BUG=704536 Review-Url: https://codereview.chromium.org/2785043002 Cr-Commit-Position: refs/heads/master@{#460828} Committed: https://chromium.googlesource.com/chromium/src/+/bc85b8b89d33b7a7b8da86268fc30ba4fac70c87

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M chrome/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
kojii
PTAL. I did my investigation as much as I can, but not really familiar with ...
3 years, 8 months ago (2017-03-30 06:48:52 UTC) #9
brucedawson
I tested this by doing a local x64 build of Chrome, before and after. I ...
3 years, 8 months ago (2017-03-30 18:09:08 UTC) #10
kojii
Thank you Bruce!!
3 years, 8 months ago (2017-03-30 18:13:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2785043002/1
3 years, 8 months ago (2017-03-30 18:14:47 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 18:23:50 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/bc85b8b89d33b7a7b8da86268fc3...

Powered by Google App Engine
This is Rietveld 408576698