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

Issue 2795803002: Clear Image Decode Cache on Navigation (Closed)

Created:
3 years, 8 months ago by ericrk
Modified:
3 years, 8 months ago
Reviewers:
vmpstr
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Clear Image Decode Cache on Navigation We can't reach cache entries after a page navigation, so we should clear them (even if unlocked). In the unlocked case this will help ensure the right things get evicted. R=vmpstr@chromium.org BUG=707847 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2795803002 Cr-Commit-Position: refs/heads/master@{#461847} Committed: https://chromium.googlesource.com/chromium/src/+/9e73df9aebdf6e7374791bc2d076b93ef7961eaa

Patch Set 1 #

Total comments: 6

Patch Set 2 : feedback #

Total comments: 4

Patch Set 3 : nits #

Patch Set 4 : fix conversion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -0 lines) Patch
M cc/raster/image_hijack_canvas_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/gpu_image_decode_cache.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/gpu_image_decode_cache.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download
M cc/tiles/gpu_image_decode_cache_unittest.cc View 1 chunk +34 lines, -0 lines 0 comments Download
M cc/tiles/image_controller_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/image_decode_cache.h View 1 chunk +3 lines, -0 lines 0 comments Download
M cc/tiles/software_image_decode_cache.h View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M cc/tiles/software_image_decode_cache.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M cc/tiles/software_image_decode_cache_unittest.cc View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (22 generated)
ericrk
3 years, 8 months ago (2017-04-03 18:10:56 UTC) #3
vmpstr
https://codereview.chromium.org/2795803002/diff/1/cc/tiles/gpu_image_decode_cache.cc File cc/tiles/gpu_image_decode_cache.cc (right): https://codereview.chromium.org/2795803002/diff/1/cc/tiles/gpu_image_decode_cache.cc#newcode589 cc/tiles/gpu_image_decode_cache.cc:589: for (auto it = persistent_cache_.rbegin(); it != persistent_cache_.rend();) { ...
3 years, 8 months ago (2017-04-03 18:46:11 UTC) #5
ericrk
https://codereview.chromium.org/2795803002/diff/1/cc/tiles/gpu_image_decode_cache.cc File cc/tiles/gpu_image_decode_cache.cc (right): https://codereview.chromium.org/2795803002/diff/1/cc/tiles/gpu_image_decode_cache.cc#newcode589 cc/tiles/gpu_image_decode_cache.cc:589: for (auto it = persistent_cache_.rbegin(); it != persistent_cache_.rend();) { ...
3 years, 8 months ago (2017-04-04 00:26:03 UTC) #12
vmpstr
lgtm with a couple of nits https://codereview.chromium.org/2795803002/diff/20001/cc/tiles/software_image_decode_cache_unittest.cc File cc/tiles/software_image_decode_cache_unittest.cc (right): https://codereview.chromium.org/2795803002/diff/20001/cc/tiles/software_image_decode_cache_unittest.cc#newcode1469 cc/tiles/software_image_decode_cache_unittest.cc:1469: cache.ClearCache(); Is there ...
3 years, 8 months ago (2017-04-04 00:43:18 UTC) #15
ericrk
https://codereview.chromium.org/2795803002/diff/20001/cc/tiles/software_image_decode_cache_unittest.cc File cc/tiles/software_image_decode_cache_unittest.cc (right): https://codereview.chromium.org/2795803002/diff/20001/cc/tiles/software_image_decode_cache_unittest.cc#newcode1469 cc/tiles/software_image_decode_cache_unittest.cc:1469: cache.ClearCache(); On 2017/04/04 00:43:17, vmpstr wrote: > Is there ...
3 years, 8 months ago (2017-04-04 17:17:18 UTC) #18
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/2795803002/40001
3 years, 8 months ago (2017-04-04 17:17:54 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/397875)
3 years, 8 months ago (2017-04-04 17:40:40 UTC) #23
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/2795803002/40001
3 years, 8 months ago (2017-04-04 18:04:27 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/397924)
3 years, 8 months ago (2017-04-04 19:14:13 UTC) #27
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/2795803002/60001
3 years, 8 months ago (2017-04-04 20:14:57 UTC) #30
commit-bot: I haz the power
3 years, 8 months ago (2017-04-04 21:39:48 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9e73df9aebdf6e7374791bc2d076...

Powered by Google App Engine
This is Rietveld 408576698