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

Issue 2869513002: cc: Clear checker-image tracking on navigation and visibility changes. (Closed)

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

Description

cc: Clear checker-image tracking on navigation and visibility changes. Currently the tracker tracks decode policy for images across navigations, which can significantly increase the size of the map tracking this state. This change ensures that we clear this state on navigations since the same image id should not be re-used. Also, it ensures that we drop any cached decodes after navigations and a memory policy update which evicts all resources. BUG=693228, 691080 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2869513002 Cr-Commit-Position: refs/heads/master@{#471927} Committed: https://chromium.googlesource.com/chromium/src/+/f9c42e188b9b4d4333b25ca75a7666c28695fce4

Patch Set 1 #

Patch Set 2 : comment #

Total comments: 4

Patch Set 3 : .. #

Patch Set 4 : missed pending invalidations #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -32 lines) Patch
M cc/tiles/checker_image_tracker.h View 1 2 3 chunks +26 lines, -5 lines 0 comments Download
M cc/tiles/checker_image_tracker.cc View 1 2 3 5 chunks +51 lines, -16 lines 1 comment Download
M cc/tiles/checker_image_tracker_unittest.cc View 1 2 3 2 chunks +56 lines, -3 lines 0 comments Download
M cc/tiles/tile_manager.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/tiles/tile_manager.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
Khushal
3 years, 7 months ago (2017-05-06 01:40:51 UTC) #3
vmpstr
https://codereview.chromium.org/2869513002/diff/20001/cc/tiles/checker_image_tracker.h File cc/tiles/checker_image_tracker.h (right): https://codereview.chromium.org/2869513002/diff/20001/cc/tiles/checker_image_tracker.h#newcode71 cc/tiles/checker_image_tracker.h:71: class ScopedDecodeHolder { ScopedDecodeUnlocker maybe? Can you also drop ...
3 years, 7 months ago (2017-05-09 22:06:21 UTC) #9
Khushal
https://codereview.chromium.org/2869513002/diff/20001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2869513002/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode1287 cc/trees/layer_tree_host_impl.cc:1287: tile_manager_.ClearCheckerImageTracking(); On 2017/05/09 22:06:21, vmpstr wrote: > Can you ...
3 years, 7 months ago (2017-05-10 00:53:17 UTC) #10
vmpstr
On 2017/05/10 00:53:17, Khushal wrote: > https://codereview.chromium.org/2869513002/diff/20001/cc/trees/layer_tree_host_impl.cc > File cc/trees/layer_tree_host_impl.cc (right): > > https://codereview.chromium.org/2869513002/diff/20001/cc/trees/layer_tree_host_impl.cc#newcode1287 > ...
3 years, 7 months ago (2017-05-10 18:20:27 UTC) #11
Khushal
Yeah, I was running with the assumption that on becoming invisible, all resources will be ...
3 years, 7 months ago (2017-05-10 22:47:10 UTC) #12
vmpstr
lgtm
3 years, 7 months ago (2017-05-12 16:38:40 UTC) #13
Khushal
https://codereview.chromium.org/2869513002/diff/60001/cc/tiles/checker_image_tracker.cc File cc/tiles/checker_image_tracker.cc (right): https://codereview.chromium.org/2869513002/diff/60001/cc/tiles/checker_image_tracker.cc#newcode88 cc/tiles/checker_image_tracker.cc:88: for (auto image_id : images_pending_invalidation_) { Realized I was ...
3 years, 7 months ago (2017-05-13 03:24:43 UTC) #14
vmpstr
lgtm
3 years, 7 months ago (2017-05-15 15:19:48 UTC) #15
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/2869513002/60001
3 years, 7 months ago (2017-05-15 17:21:37 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/228642)
3 years, 7 months ago (2017-05-15 18:34:27 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/2869513002/60001
3 years, 7 months ago (2017-05-15 21:21:31 UTC) #21
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 22:31:05 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/f9c42e188b9b4d4333b25ca75a76...

Powered by Google App Engine
This is Rietveld 408576698