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

Issue 1124153006: Heap snapshot visualizations (Closed)

Created:
5 years, 7 months ago by rmacnak
Modified:
5 years, 7 months ago
Reviewers:
koda, Cutch
CC:
reviews_dartlang.org, turnidge, Cutch, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Heap snapshot visualizations: - Dominator tree with retained sizes - Merge nodes by class - Split snapshot into chunks so the browser's websockets implementation can handle them. - Use TypedData indexed by node ids instead of lists of objects and a higher time complexity but more memory efficient algorithm to find the dominator tree (reduces memory usage to ~2X the size of the heap being analyzed from >10X). R=johnmccutchan@google.com, koda@google.com Committed: https://github.com/dart-lang/sdk/commit/bad1ccb2f7fcbf8fa589572b147fa19ddb8666a4

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : sync #

Total comments: 25

Patch Set 7 : #

Total comments: 8

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1386 lines, -336 lines) Patch
D runtime/observatory/lib/dominator_tree.dart View 1 2 3 4 1 chunk +0 lines, -121 lines 0 comments Download
M runtime/observatory/lib/elements.dart View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/object_graph.dart View 1 2 3 4 5 6 7 3 chunks +463 lines, -83 lines 0 comments Download
M runtime/observatory/lib/src/app/application.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/src/app/page.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +15 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/class_view.dart View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/lib/src/elements/heap_profile.dart View 1 2 3 4 5 6 7 8 9 10 3 chunks +5 lines, -3 lines 0 comments Download
A runtime/observatory/lib/src/elements/heap_snapshot.dart View 1 2 3 4 5 6 7 8 9 1 chunk +463 lines, -0 lines 0 comments Download
A runtime/observatory/lib/src/elements/heap_snapshot.html View 1 2 3 4 5 6 7 8 9 1 chunk +201 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/isolate_summary.html View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/service_view.html View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 2 3 4 5 6 7 8 9 10 9 chunks +68 lines, -13 lines 0 comments Download
M runtime/observatory/observatory_sources.gypi View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/dominator_tree_test.dart View 1 2 3 4 5 1 chunk +76 lines, -45 lines 0 comments Download
M runtime/observatory/tests/service/graph_test.dart View 1 2 3 4 5 6 7 8 9 10 1 chunk +49 lines, -55 lines 0 comments Download
M runtime/vm/object_graph.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/object_graph.cc View 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/service.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +30 lines, -12 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
rmacnak
5 years, 7 months ago (2015-05-15 16:53:04 UTC) #2
koda
First batch of comments. https://codereview.chromium.org/1124153006/diff/100001/runtime/observatory/lib/elements.dart File runtime/observatory/lib/elements.dart (right): https://codereview.chromium.org/1124153006/diff/100001/runtime/observatory/lib/elements.dart#newcode27 runtime/observatory/lib/elements.dart:27: export 'package:observatory/src/elements/heap_snapshot.dart'; Once should suffice. ...
5 years, 7 months ago (2015-05-19 20:12:36 UTC) #3
rmacnak
https://codereview.chromium.org/1124153006/diff/100001/runtime/observatory/lib/elements.dart File runtime/observatory/lib/elements.dart (right): https://codereview.chromium.org/1124153006/diff/100001/runtime/observatory/lib/elements.dart#newcode27 runtime/observatory/lib/elements.dart:27: export 'package:observatory/src/elements/heap_snapshot.dart'; On 2015/05/19 20:12:35, koda wrote: > Once ...
5 years, 7 months ago (2015-05-19 22:16:08 UTC) #4
koda
LGTM with minor comments https://codereview.chromium.org/1124153006/diff/120001/runtime/observatory/lib/object_graph.dart File runtime/observatory/lib/object_graph.dart (right): https://codereview.chromium.org/1124153006/diff/120001/runtime/observatory/lib/object_graph.dart#newcode9 runtime/observatory/lib/object_graph.dart:9: import 'dart:collection'; Sort imports. https://codereview.chromium.org/1124153006/diff/120001/runtime/observatory/lib/object_graph.dart#newcode131 ...
5 years, 7 months ago (2015-05-21 02:05:10 UTC) #5
rmacnak
Fixed displaying header when navigating back to an already loaded snapshot. Fixed displayed shallow size ...
5 years, 7 months ago (2015-05-22 21:41:55 UTC) #6
Cutch
LGTM with the following comments / suggestions: - Please add a disclaimer at the top ...
5 years, 7 months ago (2015-05-26 21:02:53 UTC) #7
rmacnak
On 2015/05/26 21:02:53, Cutch wrote: > LGTM with the following comments / suggestions: > > ...
5 years, 7 months ago (2015-05-26 21:23:31 UTC) #8
rmacnak
5 years, 7 months ago (2015-05-26 21:46:34 UTC) #9
Message was sent while issue was closed.
Committed patchset #11 (id:200001) manually as
bad1ccb2f7fcbf8fa589572b147fa19ddb8666a4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698