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

Issue 1265183002: Add memory tracking to TexturePool. (Closed)

Created:
5 years, 4 months ago by ericrk
Modified:
5 years, 4 months ago
Reviewers:
ericrk1, reveman
CC:
cc-bugs_chromium.org, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@textures3
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add memory tracking to TexturePool. Basic memory tracking logic for TexturePool. Will expand this once ResourcePool is set up to track vended out resources. BUG=512534 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/cfb031dd373e8bdc765d1e8d9694d203a264d745 Cr-Commit-Position: refs/heads/master@{#342154}

Patch Set 1 : #

Total comments: 14

Patch Set 2 : review feedback #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -3 lines) Patch
M cc/resources/resource_pool.h View 1 2 3 4 4 chunks +10 lines, -2 lines 0 comments Download
M cc/resources/resource_pool.cc View 1 2 3 4 3 chunks +48 lines, -1 line 0 comments Download
M cc/resources/resource_provider.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
ericrk
Small update to track memory pool usage.
5 years, 4 months ago (2015-08-04 19:15:43 UTC) #7
reveman
https://codereview.chromium.org/1265183002/diff/100001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/1265183002/diff/100001/cc/resources/resource_pool.cc#newcode179 cc/resources/resource_pool.cc:179: std::string prefix = base::StringPrintf("cc/resource_memory/pool_%" PRIx64, hm, what's a good ...
5 years, 4 months ago (2015-08-04 22:42:37 UTC) #8
ericrk
https://codereview.chromium.org/1265183002/diff/100001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/1265183002/diff/100001/cc/resources/resource_pool.cc#newcode179 cc/resources/resource_pool.cc:179: std::string prefix = base::StringPrintf("cc/resource_memory/pool_%" PRIx64, On 2015/08/04 22:42:37, reveman ...
5 years, 4 months ago (2015-08-05 00:19:27 UTC) #10
reveman
lgtm with nit https://codereview.chromium.org/1265183002/diff/100001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/1265183002/diff/100001/cc/resources/resource_pool.cc#newcode179 cc/resources/resource_pool.cc:179: std::string prefix = base::StringPrintf("cc/resource_memory/pool_%" PRIx64, On ...
5 years, 4 months ago (2015-08-05 01:26:59 UTC) #11
ericrk
https://codereview.chromium.org/1265183002/diff/140001/cc/resources/resource_pool.cc File cc/resources/resource_pool.cc (right): https://codereview.chromium.org/1265183002/diff/140001/cc/resources/resource_pool.cc#newcode193 cc/resources/resource_pool.cc:193: void ResourcePool::PoolResource::OnMemoryDump( On 2015/08/05 01:26:59, reveman wrote: > nit: ...
5 years, 4 months ago (2015-08-05 20:41:08 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265183002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265183002/180001
5 years, 4 months ago (2015-08-06 00:23:33 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/36479)
5 years, 4 months ago (2015-08-06 01:23:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265183002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265183002/180001
5 years, 4 months ago (2015-08-06 15:35:52 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265183002/180002 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265183002/180002
5 years, 4 months ago (2015-08-06 16:39:20 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:180002)
5 years, 4 months ago (2015-08-06 18:35:25 UTC) #23
commit-bot: I haz the power
5 years, 4 months ago (2015-08-06 18:35:58 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cfb031dd373e8bdc765d1e8d9694d203a264d745
Cr-Commit-Position: refs/heads/master@{#342154}

Powered by Google App Engine
This is Rietveld 408576698