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

Issue 2461733005: Introduce RuntimeCallStats::IsEnabled (Closed)

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

Description

Introduce RuntimeCallStats::IsEnabled Run all "is enabled" checks through a single point, which makes it easier to adjust the condition.

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -31 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 2 chunks +2 lines, -4 lines 0 comments Download
M src/counters.h View 2 chunks +14 lines, -8 lines 3 comments Download
M src/counters.cc View 1 chunk +1 line, -3 lines 0 comments Download
M src/counters-inl.h View 1 chunk +2 lines, -4 lines 0 comments Download
M src/heap/gc-tracer.cc View 4 chunks +4 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
alph
4 years, 1 month ago (2016-10-28 21:29:44 UTC) #2
fmeawad
https://codereview.chromium.org/2461733005/diff/1/src/counters.h File src/counters.h (right): https://codereview.chromium.org/2461733005/diff/1/src/counters.h#newcode810 src/counters.h:810: static bool IsEnabled() { Wouldn't that add an extra ...
4 years, 1 month ago (2016-10-28 21:54:25 UTC) #3
fmeawad
+ lpy
4 years, 1 month ago (2016-10-28 21:54:38 UTC) #5
lpy
We are going to make runtime stats use V8 flag. See https://codereview.chromium.org/2460973003/
4 years, 1 month ago (2016-10-28 21:57:37 UTC) #6
alph
On 2016/10/28 21:54:25, fmeawad wrote: > https://codereview.chromium.org/2461733005/diff/1/src/counters.h > File src/counters.h (right): > > https://codereview.chromium.org/2461733005/diff/1/src/counters.h#newcode810 > ...
4 years, 1 month ago (2016-10-28 22:03:56 UTC) #7
Camillo Bruni
This CL will conflict with lpy's CL (https://codereview.chromium.org/2460973003). Given that that both CL's do the ...
4 years, 1 month ago (2016-10-31 09:57:18 UTC) #8
Camillo Bruni
https://codereview.chromium.org/2461733005/diff/1/src/counters.h File src/counters.h (right): https://codereview.chromium.org/2461733005/diff/1/src/counters.h#newcode812 src/counters.h:812: FLAG_runtime_call_stats; nit: put the V8_UNLIKELY around the whole clause, ...
4 years, 1 month ago (2016-10-31 09:57:58 UTC) #9
lpy
On 2016/10/31 09:57:18, Camillo Bruni wrote: > This CL will conflict with lpy's CL > ...
4 years, 1 month ago (2016-10-31 16:32:49 UTC) #10
lpy
I suggest us not landing this CL, since in my CL we are using one ...
4 years, 1 month ago (2016-10-31 20:20:34 UTC) #11
alph
On 2016/10/31 20:20:34, lpy wrote: > I suggest us not landing this CL, since in ...
4 years, 1 month ago (2016-10-31 20:26:32 UTC) #12
lpy
4 years, 1 month ago (2016-10-31 20:28:59 UTC) #13
On 2016/10/31 20:26:32, alph wrote:
> On 2016/10/31 20:20:34, lpy wrote:
> > I suggest us not landing this CL, since in my CL we are using one single
flag,
> > FLAG_runtime_stats everywhere.
> > 
> > Plus, I suggest us having a separate bit in FLAG_runtime_stats to indicate
the
> > runtime stats is triggered by sampling, and a separate
> > disabled-by-default-v8.runtime_stats_sampling category, so that we avoid
> having
> > runtime stats in trace file twice by default.
> > 
> > WDYT?
> 
> Yes. That's my plan.

Great, I can do a follow-up patch once I land my patch.

Powered by Google App Engine
This is Rietveld 408576698