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

Issue 1409243011: Precisely determine Windows thread stack size (reland) (Closed)

Created:
5 years, 1 month ago by sof
Modified:
5 years, 1 month ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, oilpan-reviews, blink-reviews, kouhei+heap_chromium.org, Mads Ager (chromium)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Precisely determine Windows thread stack size (reland) The Thread Information Block (TIB)'s StackLimit records the end of the committed area of the thread's stack reservation, hence it cannot be used to determine the overall size of the reserved stack. Switch to a VirtualQuery() lookup instead, but taking care to cache the result per thread so as to avoid calling overhead. R=haraken BUG=546396 Committed: https://crrev.com/1f1a89aa631e46b43b81d2b8a212a73e1b9d337e Cr-Commit-Position: refs/heads/master@{#356521}

Patch Set 1 #

Patch Set 2 : add reqd ASSERT_UNUSED() #

Patch Set 3 : gracefully handle yellow zone at the end of the stack #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -8 lines) Patch
M third_party/WebKit/Source/platform/heap/StackFrameDepth.cpp View 1 chunk +1 line, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.h View 2 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 1 2 2 chunks +38 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (13 generated)
sof
please take a look.
5 years, 1 month ago (2015-10-27 09:14:50 UTC) #2
haraken
LGTM
5 years, 1 month ago (2015-10-27 09:32:54 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409243011/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409243011/1
5 years, 1 month ago (2015-10-27 11:09:54 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 1 month ago (2015-10-27 11:32:15 UTC) #7
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/526a3c557ee6b105ec04441221ee92ea6a447a72 Cr-Commit-Position: refs/heads/master@{#356268}
5 years, 1 month ago (2015-10-27 11:33:22 UTC) #8
Elly Fong-Jones
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1411013005/ by ellyjones@chromium.org. ...
5 years, 1 month ago (2015-10-27 11:44:32 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409243011/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409243011/20001
5 years, 1 month ago (2015-10-27 12:22:35 UTC) #12
sof
relanding with ASSERT_UNUSED() added.
5 years, 1 month ago (2015-10-27 12:26:13 UTC) #14
haraken
LGTM
5 years, 1 month ago (2015-10-27 13:08:02 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-27 13:39:55 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409243011/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409243011/20001
5 years, 1 month ago (2015-10-27 13:44:16 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-10-27 13:48:23 UTC) #20
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7a23dd77ae2fd895fac2b4dcd8a542f575b6d1ac Cr-Commit-Position: refs/heads/master@{#356287}
5 years, 1 month ago (2015-10-27 13:49:04 UTC) #21
caseq
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1430493002/ by caseq@chromium.org. ...
5 years, 1 month ago (2015-10-27 17:03:41 UTC) #22
sof
Great unit test (TraceDeepEagerly)! :) The scheme used for Windows thread stacks near the end ...
5 years, 1 month ago (2015-10-27 19:56:20 UTC) #24
haraken
LGTM
5 years, 1 month ago (2015-10-27 19:59:35 UTC) #25
sof
On 2015/10/27 19:59:35, haraken wrote: > LGTM Thanks, sorry about the repeat bounces on this ...
5 years, 1 month ago (2015-10-27 21:16:37 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409243011/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409243011/40001
5 years, 1 month ago (2015-10-27 21:17:23 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/126541)
5 years, 1 month ago (2015-10-27 23:14:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409243011/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409243011/40001
5 years, 1 month ago (2015-10-28 05:48:02 UTC) #33
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-10-28 07:10:17 UTC) #34
commit-bot: I haz the power
5 years, 1 month ago (2015-10-28 07:11:02 UTC) #35
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1f1a89aa631e46b43b81d2b8a212a73e1b9d337e
Cr-Commit-Position: refs/heads/master@{#356521}

Powered by Google App Engine
This is Rietveld 408576698