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

Issue 1918093003: Encapsulate |MemoryCacheEntry::m_resource| and refactor pruneDead/LiveResources (Closed)

Created:
4 years, 8 months ago by hiroshige
Modified:
4 years, 7 months ago
Reviewers:
Nate Chapin
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@MemoryCache_1a
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Encapsulate |MemoryCacheEntry::m_resource| and refactor pruneDead/LiveResources This CL - Make |MemoryCacheEntry::m_resource| private and always use MemoryCacheEntry::resource(), - Removes somes ASSERT() because Issue 594644 is now fixed, and - Continue pruning when we encounter entries evicted during destroyDecodedData(). BUG=603462, 594644 Committed: https://crrev.com/5ea6d3b8ee5b06fdfa4bc56767637680ca68af95 Cr-Commit-Position: refs/heads/master@{#393632}

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : Reflect comment #

Patch Set 4 : Rebase #

Patch Set 5 : auto-Rebase #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -36 lines) Patch
M third_party/WebKit/Source/core/fetch/MemoryCache.h View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MemoryCache.cpp View 1 2 3 4 5 11 chunks +33 lines, -33 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 41 (22 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918093003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918093003/20001
4 years, 8 months ago (2016-04-26 09:14:10 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-26 11:26:22 UTC) #4
hiroshige
https://codereview.chromium.org/1918093003/diff/20001/third_party/WebKit/Source/core/fetch/MemoryCache.cpp File third_party/WebKit/Source/core/fetch/MemoryCache.cpp (right): https://codereview.chromium.org/1918093003/diff/20001/third_party/WebKit/Source/core/fetch/MemoryCache.cpp#newcode309 third_party/WebKit/Source/core/fetch/MemoryCache.cpp:309: if (!resource || !contains(resource)) { Previously we just |break| ...
4 years, 8 months ago (2016-04-26 12:30:54 UTC) #6
hiroshige
PTAL. This is refactoring (with behavior change) and also preparation for https://codereview.chromium.org/1915113005/.
4 years, 8 months ago (2016-04-26 13:08:31 UTC) #9
Nate Chapin
lgtm https://codereview.chromium.org/1918093003/diff/20001/third_party/WebKit/Source/core/fetch/MemoryCache.h File third_party/WebKit/Source/core/fetch/MemoryCache.h (right): https://codereview.chromium.org/1918093003/diff/20001/third_party/WebKit/Source/core/fetch/MemoryCache.h#newcode89 third_party/WebKit/Source/core/fetch/MemoryCache.h:89: Member<Resource> m_resource; Nit: I think it's an unwritten ...
4 years, 7 months ago (2016-04-26 17:34:36 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918093003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918093003/40001
4 years, 7 months ago (2016-04-27 04:39:15 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/128438)
4 years, 7 months ago (2016-04-27 04:50:08 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918093003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918093003/40001
4 years, 7 months ago (2016-04-27 06:04:38 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-27 06:24:02 UTC) #18
commit-bot: I haz the power
This CL has an open dependency (Issue 1807323002 Patch 380001). Please resolve the dependency and ...
4 years, 7 months ago (2016-04-28 06:28:34 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918093003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918093003/60001
4 years, 7 months ago (2016-05-06 10:03:06 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-06 11:21:04 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918093003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918093003/80001
4 years, 7 months ago (2016-05-09 03:28:11 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/224025)
4 years, 7 months ago (2016-05-09 04:51:06 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918093003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918093003/100001
4 years, 7 months ago (2016-05-12 09:25:05 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/220525)
4 years, 7 months ago (2016-05-12 13:40:35 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1918093003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1918093003/100001
4 years, 7 months ago (2016-05-13 17:53:53 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-05-13 20:46:57 UTC) #39
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 20:48:16 UTC) #41
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5ea6d3b8ee5b06fdfa4bc56767637680ca68af95
Cr-Commit-Position: refs/heads/master@{#393632}

Powered by Google App Engine
This is Rietveld 408576698