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

Issue 345543003: Send allocation stats with each class and show in class view. (Closed)

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

Description

Send allocation stats with each class and show in class view. For each class, if there are any allocations, shows current number of instances, shallow size, and the already existing link for retained size. Also refactor code in ClassTable to reduce duplication. R=johnmccutchan@google.com Committed: https://code.google.com/p/dart/source/detail?r=37566

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -81 lines) Patch
M runtime/bin/vmservice/client/lib/src/elements/class_view.html View 1 2 2 chunks +16 lines, -6 lines 0 comments Download
M runtime/bin/vmservice/client/lib/src/service/object.dart View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/class_table.h View 1 3 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/class_table.cc View 1 8 chunks +40 lines, -72 lines 0 comments Download
M runtime/vm/heap_test.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/service_test.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
koda
6 years, 6 months ago (2014-06-20 18:04:22 UTC) #1
Cutch
https://codereview.chromium.org/345543003/diff/20001/runtime/bin/vmservice/client/lib/src/elements/class_view.html File runtime/bin/vmservice/client/lib/src/elements/class_view.html (right): https://codereview.chromium.org/345543003/diff/20001/runtime/bin/vmservice/client/lib/src/elements/class_view.html#newcode99 runtime/bin/vmservice/client/lib/src/elements/class_view.html:99: <div class="memberName">shallow size</div> shallow size (of all instances)? https://codereview.chromium.org/345543003/diff/20001/runtime/bin/vmservice/client/lib/src/elements/class_view.html#newcode101 ...
6 years, 6 months ago (2014-06-20 18:10:49 UTC) #2
koda
PTAL https://codereview.chromium.org/345543003/diff/20001/runtime/bin/vmservice/client/lib/src/elements/class_view.html File runtime/bin/vmservice/client/lib/src/elements/class_view.html (right): https://codereview.chromium.org/345543003/diff/20001/runtime/bin/vmservice/client/lib/src/elements/class_view.html#newcode99 runtime/bin/vmservice/client/lib/src/elements/class_view.html:99: <div class="memberName">shallow size</div> On 2014/06/20 18:10:49, Cutch wrote: ...
6 years, 6 months ago (2014-06-20 18:37:04 UTC) #3
Cutch
lgtm
6 years, 6 months ago (2014-06-20 19:27:22 UTC) #4
koda
6 years, 6 months ago (2014-06-20 20:17:59 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r37566 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698