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

Issue 2577263002: [Compiler] Track Ignition background compilation separately in RuntimeStats. (Closed)

Created:
4 years ago by rmcilroy
Modified:
3 years, 11 months ago
CC:
jochen (gone - plz use gerrit), v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Compiler] Track Ignition background compilation separately in RuntimeStats. Tracks background compilation of Ignition in a separate bucket from main thread compilation. Also add some more compilation buckets for functions which can take a significant proportion of compilation. BUG=v8:5203, v8:5215 Review-Url: https://codereview.chromium.org/2577263002 Cr-Original-Commit-Position: refs/heads/master@{#42026} Committed: https://chromium.googlesource.com/v8/v8/+/b0e9116d59326a4f9a4f4691b61a510e342338c9 Review-Url: https://codereview.chromium.org/2577263002 Cr-Commit-Position: refs/heads/master@{#42042} Committed: https://chromium.googlesource.com/v8/v8/+/c89921258754569147258c33175e9687b1fe4bd2

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments #

Patch Set 3 : Rebase #

Patch Set 4 : Fix TSAN #

Patch Set 5 : Fix crash on accessing compilationinfo in constructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -14 lines) Patch
M src/compiler.h View 1 2 3 3 chunks +8 lines, -5 lines 0 comments Download
M src/compiler.cc View 1 2 3 4 6 chunks +19 lines, -3 lines 0 comments Download
M src/counters.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 4 chunks +49 lines, -6 lines 0 comments Download
M tools/callstats.html View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M tools/callstats.py View 1 2 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 53 (33 generated)
rmcilroy
Camillo, PTAL thanks.
4 years ago (2016-12-16 07:47:39 UTC) #9
rmcilroy
+Jochen for FYI
4 years ago (2016-12-16 08:33:55 UTC) #10
Camillo Bruni
https://codereview.chromium.org/2577263002/diff/40001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/2577263002/diff/40001/src/compiler.h#newcode197 src/compiler.h:197: !executed_on_background_thread_); DCHECK_IMPLIES(!can_execute_on_background_thread(), !executed_on_background_thread_) https://codereview.chromium.org/2577263002/diff/40001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2577263002/diff/40001/src/interpreter/interpreter.cc#newcode190 src/interpreter/interpreter.cc:190: ...
4 years ago (2016-12-16 09:25:05 UTC) #11
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2577263002/diff/40001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2577263002/diff/40001/src/interpreter/interpreter.cc#newcode184 src/interpreter/interpreter.cc:184: runtime_call_stats_ = new (info()->zone()) RuntimeCallStats(); this allocates a potentially ...
4 years ago (2016-12-16 10:47:38 UTC) #13
Camillo Bruni
https://codereview.chromium.org/2577263002/diff/40001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2577263002/diff/40001/src/interpreter/interpreter.cc#newcode184 src/interpreter/interpreter.cc:184: runtime_call_stats_ = new (info()->zone()) RuntimeCallStats(); On 2016/12/16 at 10:47:38, ...
4 years ago (2016-12-16 11:42:54 UTC) #14
rmcilroy
https://codereview.chromium.org/2577263002/diff/40001/src/compiler.h File src/compiler.h (right): https://codereview.chromium.org/2577263002/diff/40001/src/compiler.h#newcode197 src/compiler.h:197: !executed_on_background_thread_); On 2016/12/16 09:25:05, Camillo Bruni wrote: > DCHECK_IMPLIES(!can_execute_on_background_thread(), ...
4 years ago (2016-12-16 23:48:05 UTC) #15
Camillo Bruni
lgtm
4 years ago (2016-12-19 07:34:59 UTC) #16
Camillo Bruni
On 2016/12/16 at 23:48:05, rmcilroy wrote: > https://codereview.chromium.org/2577263002/diff/40001/src/compiler.h > File src/compiler.h (right): > > https://codereview.chromium.org/2577263002/diff/40001/src/compiler.h#newcode197 ...
4 years ago (2016-12-19 07:35:39 UTC) #17
jochen (gone - plz use gerrit)
here's another thought: what about making the counting stuff atomic? That way, we wouldn't need ...
3 years, 11 months ago (2017-01-02 07:28:14 UTC) #18
rmcilroy
On 2017/01/02 07:28:14, jochen wrote: > here's another thought: what about making the counting stuff ...
3 years, 11 months ago (2017-01-03 09:00:44 UTC) #19
jochen (gone - plz use gerrit)
yeah, I'd use the atomics version only for counters that can be used from any ...
3 years, 11 months ago (2017-01-03 09:02:41 UTC) #20
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/2577263002/60001
3 years, 11 months ago (2017-01-03 11:41:12 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm64_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm64_rel_ng/builds/14259) v8_linux_arm_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-03 11:42:22 UTC) #24
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/2577263002/80001
3 years, 11 months ago (2017-01-03 12:21:39 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:80001) as https://chromium.googlesource.com/v8/v8/+/b0e9116d59326a4f9a4f4691b61a510e342338c9
3 years, 11 months ago (2017-01-03 12:49:22 UTC) #30
Michael Achenbach
A revert of this CL (patchset #3 id:80001) has been created in https://codereview.chromium.org/2609773003/ by machenbach@chromium.org. ...
3 years, 11 months ago (2017-01-03 14:05:29 UTC) #31
rmcilroy
Relanding with a small tweak to fix TSAN.
3 years, 11 months ago (2017-01-03 15:21:52 UTC) #33
jochen (gone - plz use gerrit)
lgtm
3 years, 11 months ago (2017-01-03 17:12:59 UTC) #45
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/2577263002/140001
3 years, 11 months ago (2017-01-03 18:10:21 UTC) #50
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 18:12:04 UTC) #53
Message was sent while issue was closed.
Committed patchset #5 (id:140001) as
https://chromium.googlesource.com/v8/v8/+/c89921258754569147258c33175e9687b1f...

Powered by Google App Engine
This is Rietveld 408576698