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

Issue 2273703003: Hook memory tracing into Windows heap shim. (Closed)

Created:
4 years, 4 months ago by Sigurður Ásgeirsson
Modified:
4 years, 3 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Hook memory tracing into Windows heap shim. Note for perf sheriffs ---------------------- This CL will cause a data stoppage on the "winheap" metric on the memory benchmark. It is safe to ignore it as this CL is renaming it to "malloc". R=primiano@chromium.org BUG=550886 Committed: https://crrev.com/7bec59a0644964141c9078d6f17307fdcbe628aa Cr-Commit-Position: refs/heads/master@{#414523}

Patch Set 1 #

Patch Set 2 : Cosmetics. #

Total comments: 2

Patch Set 3 : Address Primiano's comments. #

Patch Set 4 : Pull Win memory dump implementation out of shim buildflag. #

Total comments: 4

Patch Set 5 : Address Primiano's nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -238 lines) Patch
M base/BUILD.gn View 1 2 6 chunks +2 lines, -14 lines 0 comments Download
M base/trace_event/malloc_dump_provider.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M base/trace_event/malloc_dump_provider.cc View 1 2 3 4 6 chunks +105 lines, -3 lines 0 comments Download
M base/trace_event/memory_dump_manager.cc View 1 2 4 chunks +1 line, -10 lines 0 comments Download
D base/trace_event/winheap_dump_provider_win.h View 1 2 1 chunk +0 lines, -60 lines 0 comments Download
D base/trace_event/winheap_dump_provider_win.cc View 1 2 1 chunk +0 lines, -122 lines 0 comments Download
D base/trace_event/winheap_dump_provider_win_unittest.cc View 1 2 1 chunk +0 lines, -28 lines 0 comments Download

Messages

Total messages: 27 (18 generated)
Sigurður Ásgeirsson
Hey Primiano, I think it makes sense to hook the heap shim into tracing like ...
4 years, 4 months ago (2016-08-23 20:00:09 UTC) #1
Primiano Tucci (use gerrit)
Ah this make sense but we might want to fix up things a bit. Let ...
4 years, 4 months ago (2016-08-24 11:00:23 UTC) #2
Sigurður Ásgeirsson
Thanks - I relocated the relevant winheap code into the malloc_dump_provider as you suggested. This ...
4 years, 4 months ago (2016-08-24 17:55:16 UTC) #5
Primiano Tucci (use gerrit)
LGTM, thanks so much. Can you just add something like this to the commit message: ...
4 years, 3 months ago (2016-08-25 16:49:07 UTC) #12
Sigurður Ásgeirsson
Thanks - Nico for base\BUILD.gn owners please? https://codereview.chromium.org/2273703003/diff/60001/base/trace_event/malloc_dump_provider.cc File base/trace_event/malloc_dump_provider.cc (right): https://codereview.chromium.org/2273703003/diff/60001/base/trace_event/malloc_dump_provider.cc#newcode152 base/trace_event/malloc_dump_provider.cc:152: for (size_t ...
4 years, 3 months ago (2016-08-25 17:35:52 UTC) #17
Nico
lgtm
4 years, 3 months ago (2016-08-25 17:50:58 UTC) #18
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/2273703003/50008
4 years, 3 months ago (2016-08-25 20:16:16 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:50008)
4 years, 3 months ago (2016-08-25 20:22:43 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 20:24:16 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7bec59a0644964141c9078d6f17307fdcbe628aa
Cr-Commit-Position: refs/heads/master@{#414523}

Powered by Google App Engine
This is Rietveld 408576698