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

Issue 1127383008: Fix CompilerStats info (Closed)

Created:
5 years, 7 months ago by hausner
Modified:
5 years, 7 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Fix CompilerStats info Move the counters and timers into the isolate. Statically allocated data does not work anymore now that we always have multiple isolates. Remove unused counters, add some counters to measure size of compiled code and meta info. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=45751

Patch Set 1 #

Patch Set 2 : #

Total comments: 16

Patch Set 3 : #

Patch Set 4 : #

Total comments: 6

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -184 lines) Patch
M runtime/vm/compiler.cc View 1 2 3 4 6 chunks +24 lines, -23 lines 0 comments Download
M runtime/vm/compiler_stats.h View 1 2 3 4 2 chunks +49 lines, -35 lines 0 comments Download
M runtime/vm/compiler_stats.cc View 1 2 3 4 3 chunks +41 lines, -67 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 4 2 chunks +7 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_inliner.cc View 1 2 3 4 5 chunks +5 lines, -15 lines 0 comments Download
M runtime/vm/isolate.h View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M runtime/vm/isolate.cc View 1 2 3 4 5 chunks +13 lines, -2 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 14 chunks +26 lines, -16 lines 0 comments Download
M runtime/vm/pages.cc View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/vm/parser.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 4 9 chunks +11 lines, -11 lines 0 comments Download
M runtime/vm/timer.h View 1 2 3 4 7 chunks +11 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
hausner
5 years, 7 months ago (2015-05-11 23:19:01 UTC) #2
Cutch
On 2015/05/11 23:19:01, hausner wrote: DBC: If you added a Metric (metrics.h) to ISOLATE_METRICS_LIST (metrics.h), ...
5 years, 7 months ago (2015-05-11 23:24:00 UTC) #3
hausner
Nice idea. Exposing some of these counters to the Observatory might be a good idea. ...
5 years, 7 months ago (2015-05-12 17:06:15 UTC) #4
siva
https://codereview.chromium.org/1127383008/diff/20001/runtime/vm/compiler_stats.cc File runtime/vm/compiler_stats.cc (right): https://codereview.chromium.org/1127383008/diff/20001/runtime/vm/compiler_stats.cc#newcode46 runtime/vm/compiler_stats.cc:46: vardesc_size = 0; Why are these initialized in the ...
5 years, 7 months ago (2015-05-12 17:39:53 UTC) #5
hausner
PTAL https://codereview.chromium.org/1127383008/diff/20001/runtime/vm/compiler_stats.cc File runtime/vm/compiler_stats.cc (right): https://codereview.chromium.org/1127383008/diff/20001/runtime/vm/compiler_stats.cc#newcode46 runtime/vm/compiler_stats.cc:46: vardesc_size = 0; On 2015/05/12 17:39:52, siva wrote: ...
5 years, 7 months ago (2015-05-12 21:52:16 UTC) #6
siva
lgtm https://codereview.chromium.org/1127383008/diff/60001/runtime/vm/compiler_stats.h File runtime/vm/compiler_stats.h (right): https://codereview.chromium.org/1127383008/diff/60001/runtime/vm/compiler_stats.h#newcode29 runtime/vm/compiler_stats.h:29: // DODO(hausner): add these timers to the timer ...
5 years, 7 months ago (2015-05-12 22:12:32 UTC) #7
hausner
Thanks. https://codereview.chromium.org/1127383008/diff/60001/runtime/vm/compiler_stats.h File runtime/vm/compiler_stats.h (right): https://codereview.chromium.org/1127383008/diff/60001/runtime/vm/compiler_stats.h#newcode29 runtime/vm/compiler_stats.h:29: // DODO(hausner): add these timers to the timer ...
5 years, 7 months ago (2015-05-12 22:49:53 UTC) #8
hausner
5 years, 7 months ago (2015-05-12 23:04:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as r45751 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698