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

Issue 2686673002: [Compiler] Avoid blocking on inner function parallel compilation. (Closed)

Created:
3 years, 10 months ago by rmcilroy
Modified:
3 years, 10 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Compiler] Avoid blocking on inner function parallel compilation. Don't block on inner function compilation before competing outer function compilation. Instead wait for the compilation to complete when the function is called. BUG=v8:5203 Review-Url: https://codereview.chromium.org/2686673002 Cr-Commit-Position: refs/heads/master@{#43116} Committed: https://chromium.googlesource.com/v8/v8/+/53c11006e5a57c248d858cfcaa488493a31aabe4

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : Rebase #

Total comments: 5

Patch Set 4 : Add another test #

Total comments: 2

Patch Set 5 : Change dcheck and simplify test #

Patch Set 6 : Rebase #

Patch Set 7 : Fix outer_scope_info handling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -130 lines) Patch
M src/compiler.cc View 1 5 chunks +29 lines, -18 lines 0 comments Download
M src/compiler-dispatcher/compiler-dispatcher.h View 3 chunks +4 lines, -8 lines 0 comments Download
M src/compiler-dispatcher/compiler-dispatcher.cc View 1 2 3 4 5 8 chunks +18 lines, -42 lines 0 comments Download
M src/compiler-dispatcher/compiler-dispatcher-job.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler-dispatcher/compiler-dispatcher-job.cc View 1 2 3 4 5 6 6 chunks +14 lines, -12 lines 0 comments Download
M test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc View 1 2 3 4 5 6 chunks +63 lines, -50 lines 0 comments Download

Messages

Total messages: 36 (20 generated)
rmcilroy
Michi - PTAL at compiler. Marja / Jochen PTAL at compiler-dispatcher.
3 years, 10 months ago (2017-02-07 21:26:21 UTC) #4
jochen (gone - plz use gerrit)
is it possible to add tests for this?
3 years, 10 months ago (2017-02-08 08:56:39 UTC) #8
rmcilroy
On 2017/02/08 08:56:39, jochen wrote: > is it possible to add tests for this? There ...
3 years, 10 months ago (2017-02-08 23:18:27 UTC) #9
marja
lgtm, but jochen@ knows this code better than me... https://codereview.chromium.org/2686673002/diff/60001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc File test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc (right): https://codereview.chromium.org/2686673002/diff/60001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc#newcode913 test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc:913: ...
3 years, 10 months ago (2017-02-09 09:09:48 UTC) #14
rmcilroy
https://codereview.chromium.org/2686673002/diff/60001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc File test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc (right): https://codereview.chromium.org/2686673002/diff/60001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc#newcode913 test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc:913: "} g();"; On 2017/02/09 09:09:48, marja wrote: > Is ...
3 years, 10 months ago (2017-02-09 10:37:57 UTC) #15
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-09 13:15:18 UTC) #16
Michael Starzinger
LGTM on the compiler pipeline plumbing.
3 years, 10 months ago (2017-02-09 13:58:56 UTC) #17
marja
https://codereview.chromium.org/2686673002/diff/60001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc File test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc (right): https://codereview.chromium.org/2686673002/diff/60001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc#newcode913 test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc:913: "} g();"; On 2017/02/09 10:37:57, rmcilroy wrote: > On ...
3 years, 10 months ago (2017-02-09 16:22:01 UTC) #18
rmcilroy
https://codereview.chromium.org/2686673002/diff/60001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc File test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc (right): https://codereview.chromium.org/2686673002/diff/60001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc#newcode927 test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc:927: } On 2017/02/09 16:22:01, marja wrote: > Would it ...
3 years, 10 months ago (2017-02-10 11:21:16 UTC) #19
rmcilroy
https://codereview.chromium.org/2686673002/diff/80001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc File test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc (right): https://codereview.chromium.org/2686673002/diff/80001/test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc#newcode936 test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc:936: " var y = 42; " On 2017/02/10 11:21:16, ...
3 years, 10 months ago (2017-02-10 16:15:37 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/2686673002/100001
3 years, 10 months ago (2017-02-10 16:16:00 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/16718) v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-10 16:19:31 UTC) #25
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/2686673002/120001
3 years, 10 months ago (2017-02-10 16:42:47 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/20836) v8_linux_dbg_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-10 17:13:33 UTC) #30
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/2686673002/140001
3 years, 10 months ago (2017-02-10 17:52:19 UTC) #33
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 18:46:37 UTC) #36
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://chromium.googlesource.com/v8/v8/+/53c11006e5a57c248d858cfcaa488493a31...

Powered by Google App Engine
This is Rietveld 408576698