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

Issue 2733143004: Heap allocate PrePaintTreeWalk context object (Closed)

Created:
3 years, 9 months ago by pdr.
Modified:
3 years, 9 months ago
Reviewers:
chrishtr, Xianzhu
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Heap allocate PrePaintTreeWalk context object This patch makes the PrePaintTreeWalk context object heap allocated to avoid overflowing the stack. Using an iterative algorithm was explored in [1] but the design is complicated because of early-out and clearPaintFlags logic. This patch uses the existing recursive walk which is easier to follow, but moves the large allocation out of the heap. [1] https://codereview.chromium.org/2735823005 BUG=698653 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2733143004 Cr-Commit-Position: refs/heads/master@{#455668} Committed: https://chromium.googlesource.com/chromium/src/+/ce1b788de6382f8c3725efe1fb14e9d4c639b5ab

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -13 lines) Patch
M third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp View 1 2 chunks +17 lines, -13 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
pdr.
3 years, 9 months ago (2017-03-08 15:26:28 UTC) #7
chrishtr
lgtm
3 years, 9 months ago (2017-03-08 17:25:03 UTC) #10
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/2733143004/1
3 years, 9 months ago (2017-03-08 17:25:27 UTC) #11
Xianzhu
lgtm, though I'm a bit afraid of the performance impact. Let's land and look at ...
3 years, 9 months ago (2017-03-08 17:37:45 UTC) #12
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-03-08 18:06:05 UTC) #14
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/2733143004/20001
3 years, 9 months ago (2017-03-08 18:55:24 UTC) #17
pdr.
On 2017/03/08 at 17:37:45, wangxianzhu wrote: > lgtm, though I'm a bit afraid of the ...
3 years, 9 months ago (2017-03-08 19:12:26 UTC) #19
Xianzhu
On 2017/03/08 19:12:26, pdr. wrote: > On 2017/03/08 at 17:37:45, wangxianzhu wrote: > > lgtm, ...
3 years, 9 months ago (2017-03-08 19:14:05 UTC) #20
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/2733143004/20001
3 years, 9 months ago (2017-03-09 04:06:19 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/ce1b788de6382f8c3725efe1fb14e9d4c639b5ab
3 years, 9 months ago (2017-03-09 04:37:57 UTC) #25
pdr.
3 years, 9 months ago (2017-03-09 17:50:41 UTC) #26
Message was sent while issue was closed.
On 2017/03/09 at 04:37:57, commit-bot wrote:
> Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/ce1b788de6382f8c3725efe1fb14...

This appears to have had no effect on perf bots:
https://chromeperf.appspot.com/group_report?rev=455668

Powered by Google App Engine
This is Rietveld 408576698