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

Issue 2452413002: Make CSSPreloaderResourceClient hold weak references to its resource (Closed)

Created:
4 years, 1 month ago by Charlie Harrison
Modified:
4 years, 1 month ago
Reviewers:
Yoav Weiss, esprehn
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, kinuko+watch, loading-reviews+parser_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make CSSPreloaderResourceClient hold weak references to its resource We don't want the client to hold on to the resources for longer than necessary. This patch enforces this invariant by making the object to longer a ResourceOwner, and instead hold a WeakMember to the style resource. BUG=596676 Committed: https://crrev.com/3224ae9404f9395a7f293b57da6cebe2f2371be5 Cr-Commit-Position: refs/heads/master@{#432864}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.h View 3 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/parser/CSSPreloadScanner.cpp View 2 chunks +11 lines, -5 lines 2 comments Download

Messages

Total messages: 30 (8 generated)
Charlie Harrison
Yoav: the CSS experiment is showing an increase in counts for PreloadScanner.Counts2.Miss.CSSStyleSheet histogram, even for ...
4 years, 1 month ago (2016-10-27 17:38:05 UTC) #6
Yoav Weiss
On 2016/10/27 17:38:05, Charlie Harrison wrote: > Yoav: the CSS experiment is showing an increase ...
4 years, 1 month ago (2016-10-27 21:12:04 UTC) #7
Charlie Harrison
You may be right, but we're only seeing the weirdness for experiment groups where this ...
4 years, 1 month ago (2016-10-27 21:14:59 UTC) #8
Yoav Weiss
On 2016/10/27 21:14:59, Charlie Harrison wrote: > You may be right, but we're only seeing ...
4 years, 1 month ago (2016-10-27 21:42:44 UTC) #9
Charlie Harrison
I agree with you wrt understanding the problem. It is quite strange and I've been ...
4 years, 1 month ago (2016-10-27 21:50:09 UTC) #10
Yoav Weiss
Overall the patch looks good % missing DCHECK I'd like us to have a plan ...
4 years, 1 month ago (2016-10-27 21:59:49 UTC) #12
Charlie Harrison
Thanks. I'm not sure the steps that come after this (supposed) fix except poring over ...
4 years, 1 month ago (2016-10-27 22:34:01 UTC) #13
Charlie Harrison
Histograms are showing ~7x increase in the miss metric, so that hypothesis would only explain ...
4 years, 1 month ago (2016-10-28 00:08:20 UTC) #14
Yoav Weiss
On 2016/10/27 22:34:01, Charlie Harrison wrote: > Thanks. I'm not sure the steps that come ...
4 years, 1 month ago (2016-10-28 06:18:22 UTC) #15
Yoav Weiss
On 2016/10/28 00:08:20, Charlie Harrison wrote: > Histograms are showing ~7x increase in the miss ...
4 years, 1 month ago (2016-10-28 06:27:24 UTC) #16
Charlie Harrison
Ah, I was under the false impression that the "link preload timer" logic also removed ...
4 years, 1 month ago (2016-10-28 12:14:45 UTC) #17
esprehn
What's the status of this?
4 years, 1 month ago (2016-11-04 23:46:10 UTC) #18
Charlie Harrison
On 2016/11/04 23:46:10, esprehn wrote: > What's the status of this? I'd like to land ...
4 years, 1 month ago (2016-11-05 00:37:16 UTC) #19
Charlie Harrison
On 2016/11/05 00:37:16, Charlie Harrison wrote: > On 2016/11/04 23:46:10, esprehn wrote: > > What's ...
4 years, 1 month ago (2016-11-05 00:39:24 UTC) #20
Yoav Weiss
On 2016/11/05 00:39:24, Charlie Harrison wrote: > On 2016/11/05 00:37:16, Charlie Harrison wrote: > > ...
4 years, 1 month ago (2016-11-05 09:34:11 UTC) #21
Charlie Harrison
Thanks. I'm going to throw up another CL to see if we can fix the ...
4 years, 1 month ago (2016-11-07 18:15:33 UTC) #22
Yoav Weiss
On 2016/11/07 18:15:33, Charlie Harrison wrote: > Thanks. I'm going to throw up another CL ...
4 years, 1 month ago (2016-11-14 20:10:48 UTC) #23
Charlie Harrison
On 2016/11/14 20:10:48, Yoav Weiss wrote: > On 2016/11/07 18:15:33, Charlie Harrison wrote: > > ...
4 years, 1 month ago (2016-11-14 20:11:49 UTC) #24
Charlie Harrison
New data is not showing improvements, and since this may be causing a memory regression ...
4 years, 1 month ago (2016-11-17 12:59:48 UTC) #25
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/2452413002/1
4 years, 1 month ago (2016-11-17 13:01:45 UTC) #27
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 1 month ago (2016-11-17 14:24:51 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 14:28:35 UTC) #30
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/3224ae9404f9395a7f293b57da6cebe2f2371be5
Cr-Commit-Position: refs/heads/master@{#432864}

Powered by Google App Engine
This is Rietveld 408576698