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

Issue 2502283003: Add a version of heap snapshots that use only fields and stack frames as roots and only include ins… (Closed)

Created:
4 years, 1 month ago by rmacnak
Modified:
4 years ago
Reviewers:
Cutch
CC:
reviews_dartlang.org, turnidge, Cutch, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add a version of heap snapshots that use only fields and stack frames as roots and only include instances. R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/0cf02040f870a256cc0fc4eb90a3c46a82008fec

Patch Set 1 #

Patch Set 2 : . #

Total comments: 20

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 5

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+401 lines, -258 lines) Patch
M runtime/observatory/lib/object_graph.dart View 1 2 17 chunks +66 lines, -20 lines 0 comments Download
M runtime/observatory/lib/src/elements/heap_snapshot.dart View 1 2 8 chunks +69 lines, -9 lines 0 comments Download
M runtime/observatory/lib/src/heap_snapshot/heap_snapshot.dart View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/models/objects/heap_snapshot.dart View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M runtime/observatory/lib/src/models/repositories/heap_snapshot.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/observatory/lib/src/repositories/heap_snapshot.dart View 1 2 4 chunks +8 lines, -5 lines 0 comments Download
M runtime/observatory/lib/src/repositories/top_retaining_instances.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M runtime/observatory/lib/src/service/object.dart View 1 2 3 4 1 chunk +12 lines, -3 lines 0 comments Download
M runtime/observatory/tests/service/dominator_tree_test.dart View 1 2 1 chunk +0 lines, -88 lines 0 comments Download
A + runtime/observatory/tests/service/dominator_tree_user_test.dart View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
A + runtime/observatory/tests/service/dominator_tree_vm_test.dart View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M runtime/observatory/tests/service/graph_test.dart View 1 2 1 chunk +0 lines, -101 lines 0 comments Download
A runtime/observatory/tests/service/object_graph_stack_reference_test.dart View 1 2 3 4 1 chunk +60 lines, -0 lines 0 comments Download
A + runtime/observatory/tests/service/object_graph_user_test.dart View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
A + runtime/observatory/tests/service/object_graph_vm_test.dart View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download
M runtime/vm/object_graph.h View 2 chunks +9 lines, -2 lines 0 comments Download
M runtime/vm/object_graph.cc View 1 2 7 chunks +104 lines, -18 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M runtime/vm/service.h View 2 chunks +4 lines, -1 line 0 comments Download
M runtime/vm/service.cc View 1 2 3 4 2 chunks +21 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
rmacnak
4 years, 1 month ago (2016-11-17 20:20:22 UTC) #2
Cutch
a bunch of comments. How can we unit test the algorithm code? Can we build ...
4 years, 1 month ago (2016-11-18 20:40:32 UTC) #3
rmacnak
https://codereview.chromium.org/2502283003/diff/20001/runtime/observatory/lib/object_graph.dart File runtime/observatory/lib/object_graph.dart (right): https://codereview.chromium.org/2502283003/diff/20001/runtime/observatory/lib/object_graph.dart#newcode223 runtime/observatory/lib/object_graph.dart:223: const kStackCid = 1; On 2016/11/18 20:40:31, Cutch wrote: ...
4 years, 1 month ago (2016-11-18 22:34:02 UTC) #4
Cutch
LGTM after fixing VM rooted tests to be different than the User rooted tests. https://codereview.chromium.org/2502283003/diff/60001/runtime/observatory/lib/src/service/object.dart ...
4 years ago (2016-11-28 18:11:12 UTC) #5
rmacnak
Added test that checks for an object dominated by the stack. https://codereview.chromium.org/2502283003/diff/60001/runtime/observatory/lib/src/service/object.dart File runtime/observatory/lib/src/service/object.dart (right): ...
4 years ago (2016-11-28 22:57:56 UTC) #6
Cutch
lgtm
4 years ago (2016-11-28 23:11:17 UTC) #7
rmacnak
4 years ago (2016-11-29 00:00:12 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
0cf02040f870a256cc0fc4eb90a3c46a82008fec (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698