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

Issue 2096653004: Avoid stack allocating StyleSheetCollections. (Closed)

Created:
4 years, 6 months ago by sof
Modified:
4 years, 4 months ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, blink-reviews-style_chromium.org, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid stack allocating StyleSheetCollections. StyleSheetCollection is a GarbageCollected<>-derived object, which ideally shouldn't be allocated on the stack (== outside the heap), as it leaves the door open for it being attempted marked (and traced), which it the allocation doesn't support (the allocation has no header information preceeding it.) R= BUG= Committed: https://crrev.com/e8cee140a282f837e8cf579bb571b933a7bf9e29 Cr-Commit-Position: refs/heads/master@{#413088}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -19 lines) Patch
M third_party/WebKit/Source/core/dom/DocumentStyleSheetCollection.cpp View 2 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/dom/ShadowTreeStyleSheetCollection.cpp View 2 chunks +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/dom/StyleSheetCollection.h View 2 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/StyleSheetCollection.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.cpp View 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
sof
not sure how stringent we should be about avoiding these stack allocations .. thoughts?
4 years, 6 months ago (2016-06-24 14:12:04 UTC) #2
haraken
LGTM On 2016/06/24 14:12:04, sof wrote: > not sure how stringent we should be about ...
4 years, 6 months ago (2016-06-24 14:28:28 UTC) #3
sof
On 2016/06/24 14:28:28, haraken wrote: > LGTM > > On 2016/06/24 14:12:04, sof wrote: > ...
4 years, 6 months ago (2016-06-24 15:28:28 UTC) #4
haraken
Let's land this CL :)
4 years, 4 months ago (2016-08-19 01:13:54 UTC) #5
sof
On 2016/08/19 01:13:54, haraken wrote: > Let's land this CL :) ok, let me try.
4 years, 4 months ago (2016-08-19 06:13:00 UTC) #6
Hannes Payer (out of office)
On 2016/08/19 06:13:00, sof wrote: > On 2016/08/19 01:13:54, haraken wrote: > > Let's land ...
4 years, 4 months ago (2016-08-19 06:39:16 UTC) #9
haraken
On 2016/08/19 06:39:16, Hannes Payer wrote: > On 2016/08/19 06:13:00, sof wrote: > > On ...
4 years, 4 months ago (2016-08-19 06:43:33 UTC) #10
sof
On 2016/08/19 06:43:33, haraken wrote: > On 2016/08/19 06:39:16, Hannes Payer wrote: > > On ...
4 years, 4 months ago (2016-08-19 06:46:57 UTC) #11
Hannes Payer (out of office)
On 2016/08/19 06:46:57, sof wrote: > On 2016/08/19 06:43:33, haraken wrote: > > On 2016/08/19 ...
4 years, 4 months ago (2016-08-19 06:57:27 UTC) #12
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/2096653004/1
4 years, 4 months ago (2016-08-19 08:49:32 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-19 08:53:13 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-19 08:55:04 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/e8cee140a282f837e8cf579bb571b933a7bf9e29
Cr-Commit-Position: refs/heads/master@{#413088}

Powered by Google App Engine
This is Rietveld 408576698