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

Issue 2514913002: [tracing] Use EstimateMemoryUsage() in deduplicators. (Closed)

Created:
4 years, 1 month ago by DmitrySkiba
Modified:
4 years ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Use EstimateMemoryUsage() in deduplicators. Both type name and stack deduplicators need to estimate their memory overhead. Previously they were using simplistic models and estimated only half of their actual memory usage. This CL changes estimation methods to use EstimateMemoryUsage(), resulting in better accuracy. Committed: https://crrev.com/ea1fd31aef31820bbff6440338e039028ddc9b04 Cr-Commit-Position: refs/heads/master@{#434728}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase #

Patch Set 3 : git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -17 lines) Patch
M base/trace_event/heap_profiler_stack_frame_deduplicator.h View 1 chunk +2 lines, -0 lines 0 comments Download
M base/trace_event/heap_profiler_stack_frame_deduplicator.cc View 1 2 3 chunks +8 lines, -12 lines 0 comments Download
M base/trace_event/heap_profiler_type_name_deduplicator.cc View 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
DmitrySkiba
4 years, 1 month ago (2016-11-18 18:55:30 UTC) #2
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2514913002/diff/1/base/trace_event/heap_profiler_stack_frame_deduplicator.cc File base/trace_event/heap_profiler_stack_frame_deduplicator.cc (left): https://codereview.chromium.org/2514913002/diff/1/base/trace_event/heap_profiler_stack_frame_deduplicator.cc#oldcode130 base/trace_event/heap_profiler_stack_frame_deduplicator.cc:130: sizeof(StackFrameDeduplicator) + maps_size + frames_allocated, the previous code was ...
4 years ago (2016-11-22 01:15:13 UTC) #3
DmitrySkiba
On 2016/11/22 01:15:13, Primiano Tucci wrote: > https://codereview.chromium.org/2514913002/diff/1/base/trace_event/heap_profiler_stack_frame_deduplicator.cc > File base/trace_event/heap_profiler_stack_frame_deduplicator.cc (left): > > https://codereview.chromium.org/2514913002/diff/1/base/trace_event/heap_profiler_stack_frame_deduplicator.cc#oldcode130 ...
4 years ago (2016-11-22 01:48:59 UTC) #4
Primiano Tucci (use gerrit)
On 2016/11/22 01:48:59, DmitrySkiba wrote: > On 2016/11/22 01:15:13, Primiano Tucci wrote: > > > ...
4 years ago (2016-11-22 14:56:13 UTC) #5
DmitrySkiba
On 2016/11/22 14:56:13, Primiano Tucci wrote: > On 2016/11/22 01:48:59, DmitrySkiba wrote: > > On ...
4 years ago (2016-11-22 16:46:24 UTC) #6
Primiano Tucci (use gerrit)
On 2016/11/22 16:46:24, DmitrySkiba wrote: > OK, I can do that, but what do you ...
4 years ago (2016-11-22 18:27:56 UTC) #7
DmitrySkiba
On 2016/11/22 18:27:56, Primiano Tucci wrote: > On 2016/11/22 16:46:24, DmitrySkiba wrote: > > OK, ...
4 years ago (2016-11-24 00:00:37 UTC) #8
Primiano Tucci (use gerrit)
On 2016/11/24 00:00:37, DmitrySkiba wrote: > On 2016/11/22 18:27:56, Primiano Tucci wrote: > > On ...
4 years ago (2016-11-24 01:17:13 UTC) #9
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/2514913002/1
4 years ago (2016-11-24 02:46:47 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years ago (2016-11-24 04:48:01 UTC) #13
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/2514913002/1
4 years ago (2016-11-25 07:03:12 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/312788)
4 years ago (2016-11-25 07:09:10 UTC) #17
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/2514913002/40001
4 years ago (2016-11-28 19:12:48 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-11-28 21:51:58 UTC) #22
commit-bot: I haz the power
4 years ago (2016-11-28 21:54:23 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ea1fd31aef31820bbff6440338e039028ddc9b04
Cr-Commit-Position: refs/heads/master@{#434728}

Powered by Google App Engine
This is Rietveld 408576698