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

Issue 2296913003: [WeakMemoryCache] Make references from MemoryCache to Resource Weak (Closed)

Created:
4 years, 3 months ago by hiroshige
Modified:
4 years, 3 months ago
CC:
chromium-reviews, blink-reviews, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@WeakMemoryCache_RemoveStats
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[WeakMemoryCache] Make references from MemoryCache to Resource Weak Design doc (Step 1): https://docs.google.com/document/d/1Pj4vzxzCKC_11SugdJ_x7wq7ErE-pHtf4w4FLKdcF7g/edit?usp=sharing This cl relands - https://codereview.chromium.org/1915113005 - https://codereview.chromium.org/2066763002 except for code related to Field-Trial or SharedBuffer::unlock(). BUG=603462 Committed: https://crrev.com/581fd42e219de5510f0fd7729e7b00a411ff68a8 Cr-Commit-Position: refs/heads/master@{#417245}

Patch Set 1 #

Patch Set 2 : Assume resource is always non-null #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M third_party/WebKit/Source/core/fetch/MemoryCache.h View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/MemoryCache.cpp View 1 6 chunks +18 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (10 generated)
hiroshige
Let's make MemoryCache weak on ToT. PTAL.
4 years, 3 months ago (2016-09-01 09:07:45 UTC) #4
kinuko
lgtm
4 years, 3 months ago (2016-09-02 05:35:56 UTC) #5
Charlie Harrison
Should we FYI loading-dev about this change?
4 years, 3 months ago (2016-09-02 12:12:50 UTC) #7
hiroshige
On 2016/09/02 12:12:50, Charlie Harrison wrote: > Should we FYI loading-dev about this change? Added ...
4 years, 3 months ago (2016-09-06 05:28:08 UTC) #8
yhirano
lgtm I don't know how to you registerWeakMembers, though. It might be good to get ...
4 years, 3 months ago (2016-09-06 05:48:53 UTC) #9
yhirano
On 2016/09/06 05:48:53, yhirano wrote: > lgtm > > I don't know how to you ...
4 years, 3 months ago (2016-09-06 05:49:10 UTC) #10
Nate Chapin
lgtm, though I too don't know WeakMembers well enough to be confident that this usage ...
4 years, 3 months ago (2016-09-06 20:45:17 UTC) #11
hiroshige
According to comments about registerWeakMembers(), I uploaded Patch Set 3 that uses prefinalizer of Resource ...
4 years, 3 months ago (2016-09-07 02:39:28 UTC) #12
yhirano
On 2016/09/07 02:39:28, hiroshige wrote: > According to comments about registerWeakMembers(), I uploaded Patch Set ...
4 years, 3 months ago (2016-09-07 03:43:36 UTC) #13
hiroshige
On 2016/09/07 03:43:36, yhirano wrote: > On 2016/09/07 02:39:28, hiroshige wrote: > > According to ...
4 years, 3 months ago (2016-09-07 04:55:54 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/2296913003/20001
4 years, 3 months ago (2016-09-08 05:17:44 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/289449)
4 years, 3 months ago (2016-09-08 07:51:22 UTC) #19
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/2296913003/20001
4 years, 3 months ago (2016-09-08 09:18:05 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-08 10:56:32 UTC) #23
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 10:59:35 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/581fd42e219de5510f0fd7729e7b00a411ff68a8
Cr-Commit-Position: refs/heads/master@{#417245}

Powered by Google App Engine
This is Rietveld 408576698