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

Issue 2460973003: [Tracing] Use TracingCategoryObserver in runtime statistics (Closed)

Created:
4 years, 1 month ago by lpy
Modified:
4 years, 1 month ago
CC:
Hannes Payer (out of office), ulan, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Tracing] Use TracingCategoryObserver in runtime statistics This patch is a follow-up patch to enable runtime statistics to use TracingCategoryObserver. BUG=v8:5590 Committed: https://crrev.com/82f52d07d10122eb17d6a7e0cf9cd050c97209cb Cr-Commit-Position: refs/heads/master@{#40745}

Patch Set 1 #

Total comments: 6

Patch Set 2 : address cbruni's comments #

Total comments: 9

Patch Set 3 : address alph's comments #

Patch Set 4 : update #

Patch Set 5 : rebase #

Patch Set 6 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -58 lines) Patch
M src/arguments.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/builtins/builtins-utils.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/compiler-dispatcher/compiler-dispatcher-tracer.cc View 1 2 chunks +2 lines, -4 lines 0 comments Download
M src/counters.h View 1 2 3 4 1 chunk +7 lines, -8 lines 0 comments Download
M src/counters.cc View 1 2 3 4 1 chunk +2 lines, -3 lines 0 comments Download
M src/counters-inl.h View 1 chunk +2 lines, -4 lines 0 comments Download
M src/crankshaft/hydrogen.cc View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M src/d8.cc View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/heap/gc-tracer.cc View 1 4 chunks +4 lines, -8 lines 0 comments Download
M src/ic/handler-compiler.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M src/ic/ic.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M src/log.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M src/tracing/trace-event.h View 1 chunk +0 lines, -10 lines 0 comments Download
M src/tracing/trace-event.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M src/tracing/tracing-category-observer.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 65 (38 generated)
lpy
PTAL.
4 years, 1 month ago (2016-10-28 21:50:07 UTC) #4
Camillo Bruni
LGTM with nit. https://codereview.chromium.org/2460973003/diff/1/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/2460973003/diff/1/src/isolate.cc#newcode2742 src/isolate.cc:2742: v8::tracing::TracingCategoryObserver::ENABLED_BY_NATIVE)) { Isn't this just "FLAG_runtime_stats ...
4 years, 1 month ago (2016-10-31 09:39:41 UTC) #7
Camillo Bruni
Please sync with alph@ given that his CL (https://codereview.chromium.org/2461733005) does almost the same. You may ...
4 years, 1 month ago (2016-10-31 09:59:49 UTC) #8
lpy
thanks for the comments. https://codereview.chromium.org/2460973003/diff/1/src/compiler-dispatcher/compiler-dispatcher-tracer.cc File src/compiler-dispatcher/compiler-dispatcher-tracer.cc (right): https://codereview.chromium.org/2460973003/diff/1/src/compiler-dispatcher/compiler-dispatcher-tracer.cc#newcode26 src/compiler-dispatcher/compiler-dispatcher-tracer.cc:26: if (FLAG_runtime_stats) { On 2016/10/31 ...
4 years, 1 month ago (2016-10-31 17:28:02 UTC) #12
alph
lgtm https://codereview.chromium.org/2460973003/diff/40001/src/isolate.cc File src/isolate.cc (right): https://codereview.chromium.org/2460973003/diff/40001/src/isolate.cc#newcode2742 src/isolate.cc:2742: v8::tracing::TracingCategoryObserver::ENABLED_BY_NATIVE)) { Why '==' ? It seems to ...
4 years, 1 month ago (2016-10-31 20:43:54 UTC) #19
alph
https://codereview.chromium.org/2460973003/diff/40001/src/counters.cc File src/counters.cc (right): https://codereview.chromium.org/2460973003/diff/40001/src/counters.cc#newcode347 src/counters.cc:347: if (V8_LIKELY(FLAG_runtime_stats == 0)) { nit: no need {} ...
4 years, 1 month ago (2016-10-31 20:46:53 UTC) #20
lpy
thanks for the comments, I updated the CL. https://codereview.chromium.org/2460973003/diff/40001/src/counters.cc File src/counters.cc (right): https://codereview.chromium.org/2460973003/diff/40001/src/counters.cc#newcode347 src/counters.cc:347: if ...
4 years, 1 month ago (2016-10-31 20:54:19 UTC) #23
alph
https://codereview.chromium.org/2460973003/diff/40001/src/counters.cc File src/counters.cc (right): https://codereview.chromium.org/2460973003/diff/40001/src/counters.cc#newcode347 src/counters.cc:347: if (V8_LIKELY(FLAG_runtime_stats == 0)) { On 2016/10/31 20:54:19, lpy ...
4 years, 1 month ago (2016-10-31 21:17:19 UTC) #24
lpy
On 2016/10/31 21:17:19, alph wrote: > https://codereview.chromium.org/2460973003/diff/40001/src/counters.cc > File src/counters.cc (right): > > https://codereview.chromium.org/2460973003/diff/40001/src/counters.cc#newcode347 > ...
4 years, 1 month ago (2016-10-31 22:25:03 UTC) #29
lpy
+bmeurer@ for ic/ and crankshaft/ +mlippautz@ for heap/ PTAL.
4 years, 1 month ago (2016-10-31 22:29:08 UTC) #33
alph
On 2016/10/31 22:25:03, lpy wrote: > On 2016/10/31 21:17:19, alph wrote: > > https://codereview.chromium.org/2460973003/diff/40001/src/counters.cc > ...
4 years, 1 month ago (2016-10-31 23:38:57 UTC) #34
lpy
On 2016/10/31 23:38:57, alph wrote: > On 2016/10/31 22:25:03, lpy wrote: > > On 2016/10/31 ...
4 years, 1 month ago (2016-10-31 23:41:56 UTC) #35
alph
On 2016/10/31 23:41:56, lpy wrote: > On 2016/10/31 23:38:57, alph wrote: > > On 2016/10/31 ...
4 years, 1 month ago (2016-10-31 23:45:03 UTC) #36
lpy
On 2016/10/31 23:45:03, alph wrote: > On 2016/10/31 23:41:56, lpy wrote: > > On 2016/10/31 ...
4 years, 1 month ago (2016-10-31 23:47:05 UTC) #37
alph
On 2016/10/31 23:47:05, lpy wrote: > On 2016/10/31 23:45:03, alph wrote: > > On 2016/10/31 ...
4 years, 1 month ago (2016-10-31 23:51:12 UTC) #38
lpy
> > > > > I have one more question. > > > > > ...
4 years, 1 month ago (2016-10-31 23:59:02 UTC) #39
Benedikt Meurer
LGTM on ic + crankshaft.
4 years, 1 month ago (2016-11-02 06:45:11 UTC) #40
Michael Lippautz
On 2016/11/02 06:45:11, Benedikt Meurer wrote: > LGTM on ic + crankshaft. lgtm on heap/
4 years, 1 month ago (2016-11-02 09:22:28 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2460973003/140001
4 years, 1 month ago (2016-11-03 21:07:33 UTC) #51
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 1 month ago (2016-11-03 21:36:43 UTC) #53
lpy
A revert of this CL (patchset #6 id:140001) has been created in https://codereview.chromium.org/2469403005/ by lpy@chromium.org. ...
4 years, 1 month ago (2016-11-03 23:10:51 UTC) #54
alph
This patch does not introduce statics. Doesn't it? The bot reports an internal error. Could ...
4 years, 1 month ago (2016-11-03 23:16:43 UTC) #55
lpy
On 2016/11/03 23:16:43, alph wrote: > This patch does not introduce statics. Doesn't it? > ...
4 years, 1 month ago (2016-11-03 23:19:04 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2460973003/140001
4 years, 1 month ago (2016-11-04 00:28:30 UTC) #59
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 1 month ago (2016-11-04 00:30:51 UTC) #61
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/059e077881baa7ab2344e984397a2db59c4e74db Cr-Commit-Position: refs/heads/master@{#40742}
4 years, 1 month ago (2016-11-17 22:21:34 UTC) #63
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:21:47 UTC) #65
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/82f52d07d10122eb17d6a7e0cf9cd050c97209cb
Cr-Commit-Position: refs/heads/master@{#40745}

Powered by Google App Engine
This is Rietveld 408576698