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

Issue 1372523002: [tracing] Implement trace_event::AllocationContext (Closed)

Created:
5 years, 2 months ago by Ruud van Asseldonk
Modified:
5 years, 2 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@alloccontext
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Implement trace_event::AllocationContext This implements the structure that will be stored together with allocation details in a hash table that will be part of the heap profiler in chrome://tracing. See design doc linked from the bug for more details. BUG=524631 Committed: https://crrev.com/bb18a7a01fefdb56a8349c8cde0d48500b81391b Cr-Commit-Position: refs/heads/master@{#352594}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address picksi comments #

Patch Set 3 : Rebase on top of master #

Patch Set 4 : Fix string interning bug, extract backtrace into struct #

Total comments: 14

Patch Set 5 : Address primiano comments #

Patch Set 6 : Fix debug check #

Total comments: 2

Patch Set 7 : Rebase + clarify comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -94 lines) Patch
M base/trace_event/memory_profiler_allocation_context.h View 1 2 3 4 5 6 3 chunks +39 lines, -10 lines 0 comments Download
M base/trace_event/memory_profiler_allocation_context.cc View 1 2 3 4 5 3 chunks +47 lines, -8 lines 0 comments Download
M base/trace_event/memory_profiler_allocation_context_unittest.cc View 1 2 3 4 3 chunks +92 lines, -76 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 18 (6 generated)
Ruud van Asseldonk
5 years, 2 months ago (2015-09-25 09:24:45 UTC) #2
picksi
More drive-by observations! https://codereview.chromium.org/1372523002/diff/1/base/trace_event/memory_profiler_allocation_context.cc File base/trace_event/memory_profiler_allocation_context.cc (right): https://codereview.chromium.org/1372523002/diff/1/base/trace_event/memory_profiler_allocation_context.cc#newcode104 base/trace_event/memory_profiler_allocation_context.cc:104: *dst = nullptr; Q:Is the performance ...
5 years, 2 months ago (2015-09-25 09:44:35 UTC) #4
Ruud van Asseldonk
https://codereview.chromium.org/1372523002/diff/1/base/trace_event/memory_profiler_allocation_context.cc File base/trace_event/memory_profiler_allocation_context.cc (right): https://codereview.chromium.org/1372523002/diff/1/base/trace_event/memory_profiler_allocation_context.cc#newcode104 base/trace_event/memory_profiler_allocation_context.cc:104: *dst = nullptr; On 2015/09/25 at 09:44:35, picksi wrote: ...
5 years, 2 months ago (2015-09-25 11:46:19 UTC) #5
picksi
https://codereview.chromium.org/1372523002/diff/1/base/trace_event/memory_profiler_allocation_context.cc File base/trace_event/memory_profiler_allocation_context.cc (right): https://codereview.chromium.org/1372523002/diff/1/base/trace_event/memory_profiler_allocation_context.cc#newcode104 base/trace_event/memory_profiler_allocation_context.cc:104: *dst = nullptr; No, leave it as it is! ...
5 years, 2 months ago (2015-09-25 12:31:26 UTC) #6
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1372523002/diff/60001/base/trace_event/memory_profiler_allocation_context.cc File base/trace_event/memory_profiler_allocation_context.cc (right): https://codereview.chromium.org/1372523002/diff/60001/base/trace_event/memory_profiler_allocation_context.cc#newcode80 base/trace_event/memory_profiler_allocation_context.cc:80: // Returns a pointer past the end of the ...
5 years, 2 months ago (2015-10-05 12:35:38 UTC) #7
Ruud van Asseldonk
https://codereview.chromium.org/1372523002/diff/60001/base/trace_event/memory_profiler_allocation_context.cc File base/trace_event/memory_profiler_allocation_context.cc (right): https://codereview.chromium.org/1372523002/diff/60001/base/trace_event/memory_profiler_allocation_context.cc#newcode80 base/trace_event/memory_profiler_allocation_context.cc:80: // Returns a pointer past the end of the ...
5 years, 2 months ago (2015-10-05 14:20:45 UTC) #8
Primiano Tucci (use gerrit)
LGTM but could probably be simplified further (See notes inline) (LGTM is valid either way) ...
5 years, 2 months ago (2015-10-05 15:49:27 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372523002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372523002/120001
5 years, 2 months ago (2015-10-06 09:57:32 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/122836)
5 years, 2 months ago (2015-10-06 11:04:30 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1372523002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1372523002/120001
5 years, 2 months ago (2015-10-06 11:10:44 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-10-06 13:51:06 UTC) #17
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 13:52:28 UTC) #18
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/bb18a7a01fefdb56a8349c8cde0d48500b81391b
Cr-Commit-Position: refs/heads/master@{#352594}

Powered by Google App Engine
This is Rietveld 408576698