Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(3)

Issue 1159923006: [tracing] Expose AddOwnershipEdge and CreateAllocatorDump with guid to blink. (blink-side). (Closed)

Created:
4 years, 11 months ago by ssid
Modified:
4 years, 10 months ago
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[tracing] Expose AddOwnershipEdge and CreateAllocatorDump with guid to blink. (blink-side). This CL exposes AddOwnershipEdge api and CreateAllocatorDump overload with guid to blink. The code in chromium already had the API, now it is required in blink for the BlinkGC dumper. The plumbing code just stores the guid as given to it. The logic for hashing the string still remains in base. Chromium side patch : crrev.com/1156863004 BUG=480500, 492102 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197398

Patch Set 1 #

Patch Set 2 : Nits. #

Patch Set 3 : A blank line. #

Total comments: 4

Patch Set 4 : Adding guid getter and create dump with guid. #

Patch Set 5 : Removing constructor with args. #

Patch Set 6 : non const struct for assignment. #

Total comments: 8

Patch Set 7 : Constructor change. #

Patch Set 8 : Adding asserts. #

Total comments: 7

Patch Set 9 : Making guid private. #

Patch Set 10 : Making guid virtual class, #

Patch Set 11 : Fixing comments. #

Total comments: 1

Patch Set 12 : Using guid as uint64. #

Patch Set 13 : nit. #

Total comments: 6

Patch Set 14 : Moved guid() to impl. #

Total comments: 3

Patch Set 15 : Removed a redundant typedef. #

Patch Set 16 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -2 lines) Patch
M public/platform/Platform.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M public/platform/WebMemoryAllocatorDump.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +13 lines, -0 lines 0 comments Download
M public/platform/WebProcessMemoryDump.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +28 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (6 generated)
ssid
PTAL.
4 years, 11 months ago (2015-05-28 18:39:11 UTC) #2
Primiano Tucci (use gerrit)
This looks good (% some comment) but at this point this should expose also crrev.com/1157433005 ...
4 years, 11 months ago (2015-05-29 11:24:53 UTC) #4
ssid
Made changes PTAL. https://codereview.chromium.org/1159923006/diff/50003/public/platform/WebMemoryAllocatorDump.h File public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1159923006/diff/50003/public/platform/WebMemoryAllocatorDump.h#newcode17 public/platform/WebMemoryAllocatorDump.h:17: Int64Type, On 2015/05/29 11:24:53, Primiano Tucci ...
4 years, 11 months ago (2015-05-29 15:50:48 UTC) #5
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1159923006/diff/110001/public/platform/WebMemoryAllocatorDump.h File public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1159923006/diff/110001/public/platform/WebMemoryAllocatorDump.h#newcode22 public/platform/WebMemoryAllocatorDump.h:22: uint64_t guidInt; is this the right order in blink? ...
4 years, 11 months ago (2015-06-02 12:38:52 UTC) #6
ssid
Made changes. https://codereview.chromium.org/1159923006/diff/110001/public/platform/WebMemoryAllocatorDump.h File public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1159923006/diff/110001/public/platform/WebMemoryAllocatorDump.h#newcode22 public/platform/WebMemoryAllocatorDump.h:22: uint64_t guidInt; On 2015/06/02 12:38:52, Primiano Tucci ...
4 years, 11 months ago (2015-06-02 16:08:02 UTC) #7
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1159923006/diff/150001/public/platform/WebMemoryAllocatorDump.h File public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1159923006/diff/150001/public/platform/WebMemoryAllocatorDump.h#newcode45 public/platform/WebMemoryAllocatorDump.h:45: // TODO(ssid): This constructor should be removed once the ...
4 years, 10 months ago (2015-06-08 09:39:16 UTC) #8
ssid
As discussed offline, made changes. https://codereview.chromium.org/1159923006/diff/150001/public/platform/WebMemoryAllocatorDump.h File public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1159923006/diff/150001/public/platform/WebMemoryAllocatorDump.h#newcode73 public/platform/WebMemoryAllocatorDump.h:73: // graph APIs (see ...
4 years, 10 months ago (2015-06-08 14:29:19 UTC) #10
ssid
PTAL.
4 years, 10 months ago (2015-06-09 14:25:31 UTC) #11
Primiano Tucci (use gerrit)
LGTM with some minor comments. Please add a link to the original CL of mine ...
4 years, 10 months ago (2015-06-09 20:51:34 UTC) #12
Primiano Tucci (use gerrit)
LGTM with some minor comments. Please add a link to the original CL of mine ...
4 years, 10 months ago (2015-06-09 20:51:35 UTC) #13
Primiano Tucci (use gerrit)
On 2015/06/09 20:51:35, Primiano Tucci wrote: > LGTM with some minor comments. > Please add ...
4 years, 10 months ago (2015-06-09 20:53:00 UTC) #14
Primiano Tucci (use gerrit)
On 2015/06/09 20:51:35, Primiano Tucci wrote: > LGTM with some minor comments. > Please add ...
4 years, 10 months ago (2015-06-09 20:53:02 UTC) #15
ssid
I made the guid() as virtual and moved the member to impl. PTAL. https://codereview.chromium.org/1159923006/diff/270001/public/platform/WebMemoryAllocatorDump.h File ...
4 years, 10 months ago (2015-06-10 12:36:00 UTC) #16
Primiano Tucci (use gerrit)
OK, add owners to this. Please don't land it today because I'm in the middle ...
4 years, 10 months ago (2015-06-11 11:13:58 UTC) #17
ssid
PTAL.
4 years, 10 months ago (2015-06-11 13:03:52 UTC) #19
Rick Byers
public/ rubber stamp LGTM https://codereview.chromium.org/1159923006/diff/290001/public/platform/WebMemoryAllocatorDump.h File public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1159923006/diff/290001/public/platform/WebMemoryAllocatorDump.h#newcode12 public/platform/WebMemoryAllocatorDump.h:12: typedef uint64_t WebMemoryAllocatorDumpGuid; this is ...
4 years, 10 months ago (2015-06-11 14:12:16 UTC) #20
ssid
comment inline. https://codereview.chromium.org/1159923006/diff/290001/public/platform/WebMemoryAllocatorDump.h File public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1159923006/diff/290001/public/platform/WebMemoryAllocatorDump.h#newcode12 public/platform/WebMemoryAllocatorDump.h:12: typedef uint64_t WebMemoryAllocatorDumpGuid; On 2015/06/11 14:12:16, Rick ...
4 years, 10 months ago (2015-06-11 14:14:44 UTC) #21
ssid
https://codereview.chromium.org/1159923006/diff/290001/public/platform/WebMemoryAllocatorDump.h File public/platform/WebMemoryAllocatorDump.h (right): https://codereview.chromium.org/1159923006/diff/290001/public/platform/WebMemoryAllocatorDump.h#newcode12 public/platform/WebMemoryAllocatorDump.h:12: typedef uint64_t WebMemoryAllocatorDumpGuid; On 2015/06/11 14:12:16, Rick Byers wrote: ...
4 years, 10 months ago (2015-06-11 14:49:06 UTC) #22
Rick Byers
On 2015/06/11 14:49:06, ssid wrote: > https://codereview.chromium.org/1159923006/diff/290001/public/platform/WebMemoryAllocatorDump.h > File public/platform/WebMemoryAllocatorDump.h (right): > > https://codereview.chromium.org/1159923006/diff/290001/public/platform/WebMemoryAllocatorDump.h#newcode12 > ...
4 years, 10 months ago (2015-06-11 14:58:39 UTC) #23
haraken
On 2015/06/11 14:58:39, Rick Byers wrote: > On 2015/06/11 14:49:06, ssid wrote: > > > ...
4 years, 10 months ago (2015-06-11 15:12:26 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1159923006/330001
4 years, 10 months ago (2015-06-18 19:47:27 UTC) #27
commit-bot: I haz the power
4 years, 10 months ago (2015-06-18 21:53:29 UTC) #28
Message was sent while issue was closed.
Committed patchset #16 (id:330001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197398

Powered by Google App Engine
This is Rietveld 408576698