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

Issue 2612413003: Clean up tile deletion (Closed)

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

Description

Clean up tile deletion Now that raster task lifetime has been cleaned up, we no longer need to keep tiles alive during raster task execution. This change causes tiles to be cleaned up immediately upon being released. R=vmpstr BUG=672606 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2612413003 Cr-Commit-Position: refs/heads/master@{#442682} Committed: https://chromium.googlesource.com/chromium/src/+/e5410705426f111d9ea78d121b70cb87ddf38187

Patch Set 1 #

Patch Set 2 : fix_perftest #

Total comments: 2

Patch Set 3 : Use plain unique_ptr for tiles #

Total comments: 4

Patch Set 4 : Actually release resources when !tile #

Patch Set 5 : "Fix Tile* comparison in tests" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -108 lines) Patch
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 4 chunks +9 lines, -9 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_tile_manager.h View 1 chunk +0 lines, -2 lines 0 comments Download
M cc/test/fake_tile_manager.cc View 1 chunk +0 lines, -7 lines 0 comments Download
M cc/tiles/picture_layer_tiling.h View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M cc/tiles/picture_layer_tiling.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M cc/tiles/tile.h View 1 2 4 chunks +2 lines, -8 lines 0 comments Download
M cc/tiles/tile.cc View 1 2 2 chunks +1 line, -4 lines 0 comments Download
M cc/tiles/tile_manager.h View 1 2 4 chunks +7 lines, -17 lines 0 comments Download
M cc/tiles/tile_manager.cc View 1 2 3 9 chunks +26 lines, -48 lines 0 comments Download
M cc/tiles/tile_manager_perftest.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 32 (20 generated)
ericrk
fix_perftest
3 years, 11 months ago (2017-01-06 01:15:38 UTC) #2
ericrk
3 years, 11 months ago (2017-01-06 01:15:42 UTC) #3
vmpstr
https://codereview.chromium.org/2612413003/diff/20001/cc/tiles/tile_manager.cc File cc/tiles/tile_manager.cc (right): https://codereview.chromium.org/2612413003/diff/20001/cc/tiles/tile_manager.cc#newcode422 cc/tiles/tile_manager.cc:422: delete tile; This patch is awesome, thanks. Can you ...
3 years, 11 months ago (2017-01-09 18:38:16 UTC) #8
ericrk
https://codereview.chromium.org/2612413003/diff/20001/cc/tiles/tile_manager.cc File cc/tiles/tile_manager.cc (right): https://codereview.chromium.org/2612413003/diff/20001/cc/tiles/tile_manager.cc#newcode422 cc/tiles/tile_manager.cc:422: delete tile; On 2017/01/09 18:38:15, vmpstr wrote: > This ...
3 years, 11 months ago (2017-01-09 19:47:54 UTC) #9
vmpstr
lgtm https://codereview.chromium.org/2612413003/diff/40001/cc/tiles/tile_manager.cc File cc/tiles/tile_manager.cc (right): https://codereview.chromium.org/2612413003/diff/40001/cc/tiles/tile_manager.cc#newcode1031 cc/tiles/tile_manager.cc:1031: Tile* tile = found != tiles_.end() ? found->second ...
3 years, 11 months ago (2017-01-09 20:02:09 UTC) #12
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/2612413003/60001
3 years, 11 months ago (2017-01-09 21:24:17 UTC) #17
ericrk
https://codereview.chromium.org/2612413003/diff/40001/cc/tiles/tile_manager.cc File cc/tiles/tile_manager.cc (right): https://codereview.chromium.org/2612413003/diff/40001/cc/tiles/tile_manager.cc#newcode1031 cc/tiles/tile_manager.cc:1031: Tile* tile = found != tiles_.end() ? found->second : ...
3 years, 11 months ago (2017-01-09 21:35:22 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/96312)
3 years, 11 months ago (2017-01-09 22:39:04 UTC) #20
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/2612413003/60001
3 years, 11 months ago (2017-01-09 23:06:48 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/96394)
3 years, 11 months ago (2017-01-10 00:22:31 UTC) #24
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/2612413003/80001
3 years, 11 months ago (2017-01-10 19:27:51 UTC) #29
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 21:00:43 UTC) #32
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e5410705426f111d9ea78d121b70...

Powered by Google App Engine
This is Rietveld 408576698