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

Issue 2191633003: Move ResourceClient to Oilpan heap (Closed)

Created:
4 years, 4 months ago by yhirano
Modified:
4 years, 3 months ago
CC:
chromium-reviews, fs, apavlov+blink_chromium.org, kouhei+svg_chromium.org, rwlbuis, Yoav Weiss, krit, gavinp+loader_chromium.org, devtools-reviews_chromium.org, blink-reviews, gyuyoung2, pdr+svgwatchlist_chromium.org, blink-reviews-style_chromium.org, caseq+blink_chromium.org, lushnikov+blink_chromium.org, loading-reviews+fetch_chromium.org, Nate Chapin, Stephen Chennney, tyoshino+watch_chromium.org, pfeldman+blink_chromium.org, f(malita), sergeyv+blink_chromium.org, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@onheap-raw-resource-client
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ResourceClient to Oilpan heap Now Resource has its clients as weak members. BUG=587663 Committed: https://crrev.com/9c3053df29fa90acbd9c2187f94807ff546b0981 Cr-Commit-Position: refs/heads/master@{#415007}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 17

Patch Set 3 : fix #

Patch Set 4 : fix #

Total comments: 1

Patch Set 5 : fix #

Patch Set 6 : rebase #

Total comments: 10

Patch Set 7 : rebase #

Patch Set 8 : fix #

Patch Set 9 : non-buildable #

Patch Set 10 : fix #

Patch Set 11 : fix #

Patch Set 12 : fix #

Patch Set 13 : fix #

Patch Set 14 : fix #

Patch Set 15 : fix #

Total comments: 11

Patch Set 16 : rebase #

Patch Set 17 : rebase #

Patch Set 18 : rebase #

Patch Set 19 : fix #

Patch Set 20 : build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -195 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/DocumentResource.h View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/FontResource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/FontResource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 7 chunks +28 lines, -36 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MemoryCache.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MockResourceClients.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MockResourceClients.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/RawResource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/RawResource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/RawResourceTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 5 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 7 chunks +14 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceClient.h View 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceClientOrObserverWalker.h View 1 1 chunk +0 lines, -79 lines 0 comments Download
A + third_party/WebKit/Source/core/fetch/ResourceClientWalker.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +16 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.h View 1 2 3 4 5 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/StyleSheetResourceClient.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImage.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImage.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImageSet.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleFetchedImageSet.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGFEImageElement.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/HashCountedSet.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 169 (130 generated)
yhirano
4 years, 4 months ago (2016-08-02 03:23:09 UTC) #52
haraken
This is amazing! You're getting pretty close :) https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ImageResource.cpp File third_party/WebKit/Source/core/fetch/ImageResource.cpp (right): https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ImageResource.cpp#newcode47 third_party/WebKit/Source/core/fetch/ImageResource.cpp:47: struct ...
4 years, 4 months ago (2016-08-02 04:18:07 UTC) #54
yhirano
https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ImageResource.cpp File third_party/WebKit/Source/core/fetch/ImageResource.cpp (right): https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ImageResource.cpp#newcode47 third_party/WebKit/Source/core/fetch/ImageResource.cpp:47: struct ImageResourceObserverWalker { On 2016/08/02 04:18:06, haraken wrote: > ...
4 years, 4 months ago (2016-08-03 10:40:28 UTC) #61
haraken
https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode725 third_party/WebKit/Source/core/fetch/Resource.cpp:725: if (!hasClient(client)) { On 2016/08/03 10:40:28, yhirano wrote: > ...
4 years, 4 months ago (2016-08-03 11:11:40 UTC) #62
Nate Chapin
LGTM! https://codereview.chromium.org/2191633003/diff/200001/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp File third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp (right): https://codereview.chromium.org/2191633003/diff/200001/third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp#newcode45 third_party/WebKit/Source/core/inspector/InspectorResourceContentLoader.cpp:45: RawResourceClient::trace(visitor); Why change the ordering here?
4 years, 4 months ago (2016-08-03 19:40:58 UTC) #63
yhirano
Sorry for the late response. https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode725 third_party/WebKit/Source/core/fetch/Resource.cpp:725: if (!hasClient(client)) { On ...
4 years, 4 months ago (2016-08-09 07:38:21 UTC) #64
yhirano
haraken@: ping
4 years, 4 months ago (2016-08-12 09:44:52 UTC) #70
haraken
LGTM https://codereview.chromium.org/2191633003/diff/240001/third_party/WebKit/Source/core/fetch/ImageResource.cpp File third_party/WebKit/Source/core/fetch/ImageResource.cpp (right): https://codereview.chromium.org/2191633003/diff/240001/third_party/WebKit/Source/core/fetch/ImageResource.cpp#newcode50 third_party/WebKit/Source/core/fetch/ImageResource.cpp:50: Vector<T*> asVector(const HashCountedSet<T*>& set) I'd move this helper ...
4 years, 4 months ago (2016-08-12 10:45:20 UTC) #72
yhirano
https://codereview.chromium.org/2191633003/diff/240001/third_party/WebKit/Source/core/fetch/ImageResource.cpp File third_party/WebKit/Source/core/fetch/ImageResource.cpp (right): https://codereview.chromium.org/2191633003/diff/240001/third_party/WebKit/Source/core/fetch/ImageResource.cpp#newcode50 third_party/WebKit/Source/core/fetch/ImageResource.cpp:50: Vector<T*> asVector(const HashCountedSet<T*>& set) On 2016/08/12 10:45:20, haraken wrote: ...
4 years, 4 months ago (2016-08-16 08:57:25 UTC) #81
haraken
https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ResourceClientWalker.h File third_party/WebKit/Source/core/fetch/ResourceClientWalker.h (right): https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ResourceClientWalker.h#newcode37 third_party/WebKit/Source/core/fetch/ResourceClientWalker.h:37: struct ResourceClientWalker { On 2016/08/03 10:40:28, yhirano wrote: > ...
4 years, 4 months ago (2016-08-16 11:55:44 UTC) #84
yhirano
https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ResourceClientWalker.h File third_party/WebKit/Source/core/fetch/ResourceClientWalker.h (right): https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ResourceClientWalker.h#newcode37 third_party/WebKit/Source/core/fetch/ResourceClientWalker.h:37: struct ResourceClientWalker { On 2016/08/16 11:55:44, haraken wrote: > ...
4 years, 4 months ago (2016-08-17 08:36:09 UTC) #97
haraken
LGTM On 2016/08/17 08:36:09, yhirano wrote: > https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ResourceClientWalker.h > File third_party/WebKit/Source/core/fetch/ResourceClientWalker.h (right): > > https://codereview.chromium.org/2191633003/diff/160001/third_party/WebKit/Source/core/fetch/ResourceClientWalker.h#newcode37 ...
4 years, 4 months ago (2016-08-17 08:57:22 UTC) #98
yhirano
PS15 introduces Resource::m_isAlive and Resource::isAlive() because we cannot rely on Resource::hasClientsOrObservers() in the pre-finalization step.
4 years, 4 months ago (2016-08-18 07:43:15 UTC) #111
haraken
https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 third_party/WebKit/Source/core/fetch/Resource.cpp:727: if (!hasClient(client)) { I begin to think this is ...
4 years, 4 months ago (2016-08-18 08:06:17 UTC) #112
yhirano
https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 third_party/WebKit/Source/core/fetch/Resource.cpp:727: if (!hasClient(client)) { On 2016/08/18 08:06:17, haraken wrote: > ...
4 years, 4 months ago (2016-08-18 08:31:53 UTC) #113
yhirano
On 2016/08/18 08:31:53, yhirano wrote: > https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp > File third_party/WebKit/Source/core/fetch/Resource.cpp (right): > > https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 > ...
4 years, 4 months ago (2016-08-18 08:34:40 UTC) #114
haraken
On 2016/08/18 08:31:53, yhirano wrote: > https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp > File third_party/WebKit/Source/core/fetch/Resource.cpp (right): > > https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 > ...
4 years, 4 months ago (2016-08-18 08:35:12 UTC) #115
haraken
On 2016/08/18 08:35:12, haraken wrote: > On 2016/08/18 08:31:53, yhirano wrote: > > > https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp ...
4 years, 4 months ago (2016-08-18 08:35:47 UTC) #116
yhirano
https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 third_party/WebKit/Source/core/fetch/Resource.cpp:727: if (!hasClient(client)) { On 2016/08/18 08:06:17, haraken wrote: > ...
4 years, 4 months ago (2016-08-18 08:53:15 UTC) #117
haraken
https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 third_party/WebKit/Source/core/fetch/Resource.cpp:727: if (!hasClient(client)) { On 2016/08/18 08:53:15, yhirano wrote: > ...
4 years, 4 months ago (2016-08-18 09:11:01 UTC) #118
yhirano
I'm sorry for the late response, I thought I have replied. https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): ...
4 years, 3 months ago (2016-08-26 09:12:16 UTC) #131
haraken
https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 third_party/WebKit/Source/core/fetch/Resource.cpp:727: if (!hasClient(client)) { On 2016/08/26 09:12:16, yhirano wrote: > ...
4 years, 3 months ago (2016-08-26 09:49:29 UTC) #132
yhirano
https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 third_party/WebKit/Source/core/fetch/Resource.cpp:727: if (!hasClient(client)) { On 2016/08/26 09:49:29, haraken wrote: > ...
4 years, 3 months ago (2016-08-26 10:08:55 UTC) #133
haraken
https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 third_party/WebKit/Source/core/fetch/Resource.cpp:727: if (!hasClient(client)) { On 2016/08/26 10:08:55, yhirano wrote: > ...
4 years, 3 months ago (2016-08-26 10:19:51 UTC) #134
yhirano
https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp File third_party/WebKit/Source/core/fetch/Resource.cpp (right): https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 third_party/WebKit/Source/core/fetch/Resource.cpp:727: if (!hasClient(client)) { On 2016/08/26 10:19:51, haraken wrote: > ...
4 years, 3 months ago (2016-08-26 10:26:12 UTC) #135
haraken
On 2016/08/26 10:26:12, yhirano wrote: > https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp > File third_party/WebKit/Source/core/fetch/Resource.cpp (right): > > https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp#newcode727 > ...
4 years, 3 months ago (2016-08-26 10:29:29 UTC) #136
yhirano
On 2016/08/26 10:29:29, haraken wrote: > On 2016/08/26 10:26:12, yhirano wrote: > > > https://codereview.chromium.org/2191633003/diff/420001/third_party/WebKit/Source/core/fetch/Resource.cpp ...
4 years, 3 months ago (2016-08-26 10:32:56 UTC) #139
haraken
On 2016/08/26 10:32:56, yhirano wrote: > On 2016/08/26 10:29:29, haraken wrote: > > On 2016/08/26 ...
4 years, 3 months ago (2016-08-26 10:38:14 UTC) #140
yhirano
On 2016/08/26 10:38:14, haraken wrote: (snip) > > Please just double-check that ResourceCallback::callbackHandler().cancel() > doesn't ...
4 years, 3 months ago (2016-08-26 11:15:38 UTC) #141
haraken
On 2016/08/26 11:15:38, yhirano wrote: > On 2016/08/26 10:38:14, haraken wrote: > > (snip) > ...
4 years, 3 months ago (2016-08-26 13:20:41 UTC) #142
yhirano
On 2016/08/26 13:20:41, haraken wrote: > On 2016/08/26 11:15:38, yhirano wrote: > > On 2016/08/26 ...
4 years, 3 months ago (2016-08-26 13:31:30 UTC) #143
yhirano
On 2016/08/26 13:31:30, yhirano wrote: > On 2016/08/26 13:20:41, haraken wrote: > > On 2016/08/26 ...
4 years, 3 months ago (2016-08-26 15:52:20 UTC) #146
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/2191633003/520001
4 years, 3 months ago (2016-08-29 09:39:17 UTC) #157
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/131856)
4 years, 3 months ago (2016-08-29 11:08:02 UTC) #159
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/2191633003/520001
4 years, 3 months ago (2016-08-29 11:20:07 UTC) #161
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/131906)
4 years, 3 months ago (2016-08-29 12:03:30 UTC) #163
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/2191633003/520001
4 years, 3 months ago (2016-08-29 13:53:12 UTC) #165
commit-bot: I haz the power
Committed patchset #20 (id:520001)
4 years, 3 months ago (2016-08-29 14:36:03 UTC) #167
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 14:37:20 UTC) #169
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/9c3053df29fa90acbd9c2187f94807ff546b0981
Cr-Commit-Position: refs/heads/master@{#415007}

Powered by Google App Engine
This is Rietveld 408576698