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

Issue 1087133005: Reland of crrev.com/1100173002 (Add a WinHeap dump provider to the memory profiler.) (Closed)

Created:
5 years, 8 months ago by Sébastien Marchand
Modified:
5 years, 8 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of crrev.com/1100173002 (Add a WinHeap dump provider to the memory profiler.) Reason of reland: fixed gn files. Add a WinHeap dump provider to the memory profiler. TBR=nduca@chromium.org BUG=466141 Committed: https://crrev.com/61dfbd59a9f6424197a1c1fadde0703d5ca65446 Cr-Commit-Position: refs/heads/master@{#326573}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -0 lines) Patch
M base/trace_event/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M base/trace_event/memory_dump_manager.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M base/trace_event/trace_event.gypi View 2 chunks +3 lines, -0 lines 0 comments Download
A base/trace_event/winheap_dump_provider_win.h View 1 chunk +54 lines, -0 lines 0 comments Download
A base/trace_event/winheap_dump_provider_win.cc View 1 chunk +105 lines, -0 lines 2 comments Download
A base/trace_event/winheap_dump_provider_win_unittest.cc View 1 chunk +79 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Sébastien Marchand
PTAL.
5 years, 8 months ago (2015-04-23 14:21:43 UTC) #2
Primiano Tucci (use gerrit)
LGTM
5 years, 8 months ago (2015-04-23 15:42:54 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1087133005/1
5 years, 8 months ago (2015-04-23 15:43:41 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 8 months ago (2015-04-23 17:58:07 UTC) #6
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/61dfbd59a9f6424197a1c1fadde0703d5ca65446 Cr-Commit-Position: refs/heads/master@{#326573}
5 years, 8 months ago (2015-04-23 17:58:58 UTC) #7
Reid Kleckner
https://codereview.chromium.org/1087133005/diff/1/base/trace_event/winheap_dump_provider_win.cc File base/trace_event/winheap_dump_provider_win.cc (right): https://codereview.chromium.org/1087133005/diff/1/base/trace_event/winheap_dump_provider_win.cc#newcode42 base/trace_event/winheap_dump_provider_win.cc:42: DCHECK_NE(reinterpret_cast<ProcessMemoryDump*>(nullptr), pmd); Clang rejects this line with this error: ...
5 years, 8 months ago (2015-04-23 18:27:37 UTC) #9
Justin Donnelly
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1101173002/ by jdonnelly@chromium.org. ...
5 years, 8 months ago (2015-04-23 20:36:00 UTC) #10
Sébastien Marchand
5 years, 8 months ago (2015-04-24 09:03:50 UTC) #11
Message was sent while issue was closed.
This is relanding in https://codereview.chromium.org/1083003003/ (I've address
Reid's comment too)

https://codereview.chromium.org/1087133005/diff/1/base/trace_event/winheap_du...
File base/trace_event/winheap_dump_provider_win.cc (right):

https://codereview.chromium.org/1087133005/diff/1/base/trace_event/winheap_du...
base/trace_event/winheap_dump_provider_win.cc:42:
DCHECK_NE(reinterpret_cast<ProcessMemoryDump*>(nullptr), pmd);
On 2015/04/23 18:27:37, Reid Kleckner wrote:
> Clang rejects this line with this error:
> ..\..\base\trace_event\winheap_dump_provider_win.cc(42,13) :  error:
> reinterpret_cast from 'nullptr_t' to 'base::trace_event::ProcessMemoryDump *'
is
> not allowed
> 
> I don't know why you can't do this reinterpret_cast, but static_cast works
fine,
> so do you mind going with that?

Done.

Powered by Google App Engine
This is Rietveld 408576698