commit | 46ffdd5891d446b1736d3a1bf5f0872a5fdf97c4 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Jul 09 04:02:26 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 09 04:02:26 2019 |
tree | b41bb37e3757978f5fd163fa7943fa76ddf11cb1 | |
parent | e4ad3477b88445b887a8cec38269ca01a5e7116c [diff] |
Increase Windows x86 main thread stack size to 1.5MB This patch changes the stack size of Windows x86 (32 bits) to 1.5MB. x64 was changed to 8MB in r673432 (crrev.com/c/1681500). We see fair number of stack overflows on x86, primarily on Win7, and that this patch is to mitigate them. This patch changes the process default stack size because |RendererMain| runs on the main thread of the renderer process. However, to mitigate the address space pressure, this patch also changes |CreateThreadInternal| to set the reserve stack size back to 1MB unless the caller request specific size. Bug: 977387 Change-Id: I3968ec84df22631a3029fc1f0ddf525be0d329d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1682227 Reviewed-by: Bruce Dawson <brucedawson@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#675518}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .