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

Issue 1310513004: [tracing] Add memory statistics from level db clients to tracing. (Closed)

Created:
5 years, 3 months ago by ssid
Modified:
5 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, extensions-reviews_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@skia_res
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Add memory statistics from level db clients to tracing. The major clients of level database are leveldb value store (just a wrapper around leveldb). This CL adds memory statistics of the opened databases to tracing. BUG=547066 Committed: https://crrev.com/736929d3c3722ea3d9e4d3b9493e99c003d3d712 Cr-Commit-Position: refs/heads/master@{#358303}

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 12

Patch Set 3 : Thread safety and naming. #

Total comments: 4

Patch Set 4 : Fix double lock. #

Total comments: 11

Patch Set 5 : Remove session database. #

Patch Set 6 : Nit. #

Patch Set 7 : Fix mac suballocation and make names unique. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -1 line) Patch
M extensions/browser/value_store/leveldb_value_store.h View 3 chunks +7 lines, -1 line 0 comments Download
M extensions/browser/value_store/leveldb_value_store.cc View 1 2 3 4 5 6 3 chunks +40 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (13 generated)
ssid
Now that the level db changes have rolled, the new api will be available in ...
5 years, 2 months ago (2015-10-14 20:52:34 UTC) #2
Primiano Tucci (use gerrit)
How many instances of these dump providers do you expect to be around? https://codereview.chromium.org/1310513004/diff/20001/content/browser/dom_storage/session_storage_database.cc File ...
5 years, 2 months ago (2015-10-15 08:59:53 UTC) #3
ssid
I have not seen more than 3-4 instances of the database. https://codereview.chromium.org/1310513004/diff/20001/content/browser/dom_storage/session_storage_database.cc File content/browser/dom_storage/session_storage_database.cc (right): ...
5 years, 2 months ago (2015-10-15 15:22:04 UTC) #5
Primiano Tucci (use gerrit)
ok, LGTM from the memory-infra viewpoint (% double lock). Loop in the owners here and ...
5 years, 2 months ago (2015-10-15 15:27:56 UTC) #6
ssid
https://codereview.chromium.org/1310513004/diff/60001/content/browser/dom_storage/session_storage_database.cc File content/browser/dom_storage/session_storage_database.cc (right): https://codereview.chromium.org/1310513004/diff/60001/content/browser/dom_storage/session_storage_database.cc#newcode342 content/browser/dom_storage/session_storage_database.cc:342: On 2015/10/15 15:27:56, Primiano Tucci wrote: > why are ...
5 years, 2 months ago (2015-10-15 15:36:27 UTC) #7
ssid
This CL adds memory statistics of the databases to tracing and does not change actual ...
5 years, 2 months ago (2015-10-15 15:52:09 UTC) #9
Reilly Grant (use Gerrit)
cmumford@, can you take a look at //extensions/browser/value_store? I'm not familiar with this code.
5 years, 2 months ago (2015-10-15 17:46:30 UTC) #11
cmumford
I'm not an owner of //extensions/browser/value_store - just minor comments/questions from me. Generally looking good ...
5 years, 2 months ago (2015-10-15 18:35:44 UTC) #12
michaeln
-marja (she doesn't work on this anymore, i'll add a comment to the owners file) ...
5 years, 2 months ago (2015-10-15 23:55:13 UTC) #14
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1310513004/diff/80001/content/browser/dom_storage/session_storage_database.cc File content/browser/dom_storage/session_storage_database.cc (right): https://codereview.chromium.org/1310513004/diff/80001/content/browser/dom_storage/session_storage_database.cc#newcode102 content/browser/dom_storage/session_storage_database.cc:102: this, base::ThreadTaskRunnerHandle::Get()); On 2015/10/15 23:55:13, michaeln wrote: > The ...
5 years, 2 months ago (2015-10-16 09:10:34 UTC) #15
michaeln
On 2015/10/16 09:10:34, Primiano Tucci wrote: > https://codereview.chromium.org/1310513004/diff/80001/content/browser/dom_storage/session_storage_database.cc > File content/browser/dom_storage/session_storage_database.cc (right): > > https://codereview.chromium.org/1310513004/diff/80001/content/browser/dom_storage/session_storage_database.cc#newcode102 ...
5 years, 2 months ago (2015-10-16 20:13:46 UTC) #16
ssid
cmumford@ and reillyg@ could you please take another look at this CL, for value store? ...
5 years, 1 month ago (2015-11-04 11:41:50 UTC) #18
Reilly Grant (use Gerrit)
lgtm
5 years, 1 month ago (2015-11-04 22:55:17 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310513004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310513004/120001
5 years, 1 month ago (2015-11-05 10:47:11 UTC) #21
Primiano Tucci (use gerrit)
Memory-infra side LGTM
5 years, 1 month ago (2015-11-05 10:59:03 UTC) #24
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/136484)
5 years, 1 month ago (2015-11-05 11:19:00 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310513004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310513004/160001
5 years, 1 month ago (2015-11-06 10:59:51 UTC) #30
commit-bot: I haz the power
Committed patchset #7 (id:160001)
5 years, 1 month ago (2015-11-06 11:04:13 UTC) #31
commit-bot: I haz the power
5 years, 1 month ago (2015-11-06 11:05:01 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/736929d3c3722ea3d9e4d3b9493e99c003d3d712
Cr-Commit-Position: refs/heads/master@{#358303}

Powered by Google App Engine
This is Rietveld 408576698