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

Issue 16077018: Implemented an averaging object histogram in the vm. (Closed)

Created:
7 years, 6 months ago by bakster
Modified:
7 years ago
Reviewers:
ahe, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Implemented an averaging object histogram in the vm. If you use the flag --print-object-histogram the histogram will be printed when the isolate shuts down.

Patch Set 1 #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Total comments: 22

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -6 lines) Patch
M runtime/vm/heap.h View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
M runtime/vm/heap.cc View 1 2 3 4 chunks +10 lines, -0 lines 0 comments Download
A runtime/vm/heap_histogram.h View 1 2 3 1 chunk +68 lines, -0 lines 0 comments Download
A runtime/vm/heap_histogram.cc View 1 2 3 1 chunk +133 lines, -0 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 5 chunks +21 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/raw_object.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/snapshot.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
bakster
7 years, 6 months ago (2013-06-12 10:49:28 UTC) #1
ahe
DBC https://codereview.chromium.org/16077018/diff/9001/runtime/vm/heap_histogram.cc File runtime/vm/heap_histogram.cc (right): https://codereview.chromium.org/16077018/diff/9001/runtime/vm/heap_histogram.cc#newcode56 runtime/vm/heap_histogram.cc:56: // resize the table. Make proper sentence: start ...
7 years, 6 months ago (2013-06-12 11:24:01 UTC) #2
bakster
https://codereview.chromium.org/16077018/diff/9001/runtime/vm/heap_histogram.cc File runtime/vm/heap_histogram.cc (right): https://codereview.chromium.org/16077018/diff/9001/runtime/vm/heap_histogram.cc#newcode56 runtime/vm/heap_histogram.cc:56: // resize the table. On 2013/06/12 11:24:01, ahe wrote: ...
7 years, 6 months ago (2013-06-12 11:34:21 UTC) #3
Ivan Posva
https://codereview.chromium.org/16077018/diff/15001/runtime/vm/heap_histogram.cc File runtime/vm/heap_histogram.cc (right): https://codereview.chromium.org/16077018/diff/15001/runtime/vm/heap_histogram.cc#newcode31 runtime/vm/heap_histogram.cc:31: ObjectHistogramVisitor object_visitor(Isolate::Current()); Why not use isolate_ instead of Isolate::Current() ...
7 years, 6 months ago (2013-06-12 15:18:09 UTC) #4
bakster
//Lars https://codereview.chromium.org/16077018/diff/15001/runtime/vm/heap_histogram.cc File runtime/vm/heap_histogram.cc (right): https://codereview.chromium.org/16077018/diff/15001/runtime/vm/heap_histogram.cc#newcode31 runtime/vm/heap_histogram.cc:31: ObjectHistogramVisitor object_visitor(Isolate::Current()); On 2013/06/12 15:18:09, Ivan Posva wrote: ...
7 years, 6 months ago (2013-06-12 15:42:42 UTC) #5
Ivan Posva
7 years, 6 months ago (2013-06-13 06:43:49 UTC) #6
LGTM -ip

Powered by Google App Engine
This is Rietveld 408576698