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

Issue 818733002: Rank most retaining instances for each class. (Closed)

Created:
6 years ago by koda
Modified:
5 years, 11 months ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, turnidge, Cutch, vm-dev_dartlang.org
Visibility:
Public.

Description

Rank most retaining instances for each class. Keep a heap snapshot (object graph) in the isolate. On request from a class view, show 10 most retaining instances. Currently, a new snapshot is fetched every time a ranking is requested. In the future, we will want more fine-grained management of snapshots, with its own dedicated view/console. R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=42754

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -3 lines) Patch
M runtime/observatory/lib/object_graph.dart View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
M runtime/observatory/lib/service.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/observatory/lib/service_common.dart View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M runtime/observatory/lib/src/app/application.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/class_view.dart View 1 2 3 chunks +12 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/elements/class_view.html View 1 2 3 2 chunks +16 lines, -1 line 0 comments Download
M runtime/observatory/lib/src/elements/heap_profile.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 2 3 3 chunks +42 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
koda
6 years ago (2014-12-19 17:10:23 UTC) #1
Cutch
Hi, Can you rebase this and then I'll review it ASAP. Thanks, John
5 years, 11 months ago (2015-01-06 23:20:21 UTC) #2
koda
Done.
5 years, 11 months ago (2015-01-07 00:03:34 UTC) #3
Cutch
https://codereview.chromium.org/818733002/diff/40001/runtime/observatory/lib/object_graph.dart File runtime/observatory/lib/object_graph.dart (right): https://codereview.chromium.org/818733002/diff/40001/runtime/observatory/lib/object_graph.dart#newcode81 runtime/observatory/lib/object_graph.dart:81: vertices.where((u) => u.classId != 0)); Perhaps make this magic ...
5 years, 11 months ago (2015-01-07 00:25:27 UTC) #4
koda
PTAL https://codereview.chromium.org/818733002/diff/40001/runtime/observatory/lib/object_graph.dart File runtime/observatory/lib/object_graph.dart (right): https://codereview.chromium.org/818733002/diff/40001/runtime/observatory/lib/object_graph.dart#newcode81 runtime/observatory/lib/object_graph.dart:81: vertices.where((u) => u.classId != 0)); On 2015/01/07 00:25:26, ...
5 years, 11 months ago (2015-01-09 18:46:56 UTC) #5
Cutch
lgtm
5 years, 11 months ago (2015-01-09 20:44:42 UTC) #6
koda
Also worked around Dart2JS missing getUint64 by limiting metadata to 4GB.
5 years, 11 months ago (2015-01-09 21:27:02 UTC) #7
koda
5 years, 11 months ago (2015-01-09 21:31:20 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as r42754 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698