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

Issue 1203493004: [tracing] Adding class-wise memory statistics to blink gc memory dumps (Closed)

Created:
5 years, 6 months ago by ssid
Modified:
5 years, 4 months ago
Reviewers:
haraken
CC:
blink-reviews, Mads Ager (chromium), oilpan-reviews, blink-reviews-wtf_chromium.org, kouhei+heap_chromium.org, Mikhail
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

[tracing] Adding class-wise memory statistics to blink gc memory dumps This is the final version of Blink GC dump provider. This CL adds the class-wise memory statistics after a blink GC to tracing. Since the class-wise statistics count the same objects counted in the page-wise snapshot, the duplicates are marked by an ownership edge between classes->pages. BUG=490087 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200319

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixing error, style not fixed. #

Patch Set 3 : Rebase errors. #

Total comments: 5

Patch Set 4 : Clean up. #

Patch Set 5 : Disabling the classes dump, avoid double counting, and comments. #

Total comments: 3

Patch Set 6 : Back to life. #

Total comments: 17

Patch Set 7 : Addressing comments. #

Patch Set 8 : Rebase. #

Patch Set 9 : Remove useless check. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -35 lines) Patch
M Source/platform/heap/GCInfo.h View 1 2 3 4 5 6 3 chunks +3 lines, -4 lines 0 comments Download
M Source/platform/heap/Heap.h View 1 2 3 4 5 4 chunks +4 lines, -4 lines 0 comments Download
M Source/platform/heap/Heap.cpp View 1 2 3 4 5 6 6 chunks +17 lines, -4 lines 0 comments Download
M Source/platform/heap/ThreadState.h View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M Source/platform/heap/ThreadState.cpp View 1 2 3 4 5 6 7 8 4 chunks +62 lines, -15 lines 0 comments Download
M Source/platform/heap/Visitor.h View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M Source/wtf/InstanceCounter.h View 2 chunks +4 lines, -4 lines 0 comments Download
M Source/wtf/InstanceCounter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 18 (5 generated)
haraken
https://codereview.chromium.org/1203493004/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1203493004/diff/1/Source/platform/heap/Heap.cpp#newcode1497 Source/platform/heap/Heap.cpp:1497: size_t tag = info.getClassTag(Heap::gcInfo(header->gcInfoIndex())); header->gcInfoIndex() is available only when ...
5 years, 6 months ago (2015-06-23 12:59:47 UTC) #2
ssid
https://codereview.chromium.org/1203493004/diff/1/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1203493004/diff/1/Source/platform/heap/Heap.cpp#newcode1497 Source/platform/heap/Heap.cpp:1497: size_t tag = info.getClassTag(Heap::gcInfo(header->gcInfoIndex())); On 2015/06/23 12:59:47, haraken wrote: ...
5 years, 6 months ago (2015-06-23 19:40:02 UTC) #3
haraken
https://codereview.chromium.org/1203493004/diff/40001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1203493004/diff/40001/Source/platform/heap/Heap.cpp#newcode1723 Source/platform/heap/Heap.cpp:1723: info.liveSize[tag] += header->size(); header->size() => header->payloadSize() header->size() is not ...
5 years, 6 months ago (2015-06-26 05:35:28 UTC) #4
ssid
I think this CL is ready for revie now. PTAL. Thanks https://codereview.chromium.org/1203493004/diff/40001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): ...
5 years, 6 months ago (2015-06-26 10:10:28 UTC) #6
haraken
On 2015/06/26 10:10:28, ssid wrote: > I think this CL is ready for revie now. ...
5 years, 6 months ago (2015-06-26 13:20:36 UTC) #7
ssid
primiano@ I have added a light and heavy type dump since the class names are ...
5 years, 6 months ago (2015-06-26 18:52:58 UTC) #8
haraken
https://codereview.chromium.org/1203493004/diff/80001/Source/platform/heap/ThreadState.h File Source/platform/heap/ThreadState.h (right): https://codereview.chromium.org/1203493004/diff/80001/Source/platform/heap/ThreadState.h#newcode493 Source/platform/heap/ThreadState.h:493: // Map from gcInfoIndex to a snapshot class-ids (used ...
5 years, 6 months ago (2015-06-27 07:27:40 UTC) #9
ssid
Fixed this CL after light dumps support is added. PTAL.
5 years, 4 months ago (2015-08-10 21:20:29 UTC) #11
haraken
Thanks for being persistent on this! LGTM with comments. https://codereview.chromium.org/1203493004/diff/100001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1203493004/diff/100001/Source/platform/heap/Heap.cpp#newcode1579 Source/platform/heap/Heap.cpp:1579: ...
5 years, 4 months ago (2015-08-10 23:54:48 UTC) #12
ssid
Made changes / replied to comments. Thanks https://codereview.chromium.org/1203493004/diff/100001/Source/platform/heap/Heap.cpp File Source/platform/heap/Heap.cpp (right): https://codereview.chromium.org/1203493004/diff/100001/Source/platform/heap/Heap.cpp#newcode1579 Source/platform/heap/Heap.cpp:1579: size_t tag ...
5 years, 4 months ago (2015-08-11 09:03:03 UTC) #13
haraken
LGTM https://codereview.chromium.org/1203493004/diff/100001/Source/platform/heap/ThreadState.cpp File Source/platform/heap/ThreadState.cpp (right): https://codereview.chromium.org/1203493004/diff/100001/Source/platform/heap/ThreadState.cpp#newcode384 Source/platform/heap/ThreadState.cpp:384: : liveCount(Vector<int>(numObjectTypes)) On 2015/08/11 09:03:03, ssid wrote: > ...
5 years, 4 months ago (2015-08-11 11:07:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1203493004/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1203493004/160001
5 years, 4 months ago (2015-08-11 14:17:19 UTC) #17
commit-bot: I haz the power
5 years, 4 months ago (2015-08-11 14:22:17 UTC) #18
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200319

Powered by Google App Engine
This is Rietveld 408576698