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

Issue 1663823002: If marking system stack is unknown, be more forgiving about stack depths. (Closed)

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

Description

If marking system stack is unknown, be more forgiving about stack depths. In case we're unable to determine the stack size available for the GC marking pass, a very conservative fallback size is used -- that size being used to decide if the marking pass should switch to using lazy marking instead. If the fallback size is in effect, have the debug assert intended to catch out unintentionally deep trace chains be more forgiving. R= BUG=581913 Committed: https://crrev.com/351d202395ed1754235b546447a5cc5c1ec2a8fa Cr-Commit-Position: refs/heads/master@{#373514}

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 2

Patch Set 3 : reorder logic #

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

Messages

Total messages: 11 (5 generated)
sof
please take a look. an unusual assert this one, not sure we're gaining too much ...
4 years, 10 months ago (2016-02-03 15:48:08 UTC) #2
haraken
LGTM https://codereview.chromium.org/1663823002/diff/20001/third_party/WebKit/Source/platform/heap/StackFrameDepth.h File third_party/WebKit/Source/platform/heap/StackFrameDepth.h (right): https://codereview.chromium.org/1663823002/diff/20001/third_party/WebKit/Source/platform/heap/StackFrameDepth.h#newcode53 third_party/WebKit/Source/platform/heap/StackFrameDepth.h:53: return !s_isEnabled || isSafeToRecurse() || (s_isUsingFallbackStackSize && (s_stackFrameLimit ...
4 years, 10 months ago (2016-02-04 01:31:36 UTC) #4
sof
https://codereview.chromium.org/1663823002/diff/20001/third_party/WebKit/Source/platform/heap/StackFrameDepth.h File third_party/WebKit/Source/platform/heap/StackFrameDepth.h (right): https://codereview.chromium.org/1663823002/diff/20001/third_party/WebKit/Source/platform/heap/StackFrameDepth.h#newcode53 third_party/WebKit/Source/platform/heap/StackFrameDepth.h:53: return !s_isEnabled || isSafeToRecurse() || (s_isUsingFallbackStackSize && (s_stackFrameLimit - ...
4 years, 10 months ago (2016-02-04 09:54:32 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663823002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663823002/40001
4 years, 10 months ago (2016-02-04 09:54:52 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-04 12:28:54 UTC) #9
commit-bot: I haz the power
4 years, 10 months ago (2016-02-04 12:30:01 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/351d202395ed1754235b546447a5cc5c1ec2a8fa
Cr-Commit-Position: refs/heads/master@{#373514}

Powered by Google App Engine
This is Rietveld 408576698