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

Issue 1179393008: [turbofan] Enable concurrent (re)compilation. (Closed)

Created:
5 years, 6 months ago by Benedikt Meurer
Modified:
4 years, 7 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Enable concurrent (re)compilation. Refactor the TurboFan pipeline to allow for concurrent recompilation in the same way that Crankshaft does it. For now we limit the concurrent phases to scheduling, instruction selection, register allocation and jump threading. R=mstarzinger@chromium.org, ahaas@chromium.org, jarin@chromium.org Committed: https://crrev.com/ff19726d8045a11df0535d8cb9a51e8b7a35c5cc Cr-Commit-Position: refs/heads/master@{#35818}

Patch Set 1 #

Patch Set 2 : Plug memory leak. #

Patch Set 3 : Fix Typer life cycle. #

Total comments: 8

Patch Set 4 : REBASE #

Patch Set 5 : Fixes #

Patch Set 6 : REBASE #

Patch Set 7 : Address comments from Michi. #

Patch Set 8 : Address comments from Michi. #

Patch Set 9 : Also run late graph trimming concurrently. #

Total comments: 1

Patch Set 10 : REBASE #

Patch Set 11 : Redo the PipelineData cleanup. #

Total comments: 2

Patch Set 12 : Fixes #

Patch Set 13 : Fix debug name computation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+293 lines, -181 lines) Patch
M src/compiler.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler.cc View 1 2 3 4 5 6 7 8 9 6 chunks +11 lines, -8 lines 0 comments Download
M src/compiler/ia32/instruction-selector-ia32.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M src/compiler/pipeline.h View 1 2 3 4 5 6 7 8 9 5 chunks +26 lines, -14 lines 0 comments Download
M src/compiler/pipeline.cc View 1 2 3 4 5 6 7 8 9 10 11 12 31 chunks +230 lines, -133 lines 0 comments Download
M src/compiler/pipeline-statistics.h View 1 2 3 4 5 6 7 8 9 3 chunks +3 lines, -1 line 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -9 lines 0 comments Download
M src/optimizing-compile-dispatcher.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/compiler/function-tester.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/compiler/test-run-bytecode-graph-builder.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -2 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +7 lines, -11 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
Benedikt Meurer
5 years, 6 months ago (2015-06-16 11:35:53 UTC) #1
Benedikt Meurer
Hey Michi, This is the first attempt. Please take a look. Thanks, Benedikt
5 years, 6 months ago (2015-06-16 11:36:37 UTC) #2
Michael Starzinger
https://codereview.chromium.org/1179393008/diff/40001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1179393008/diff/40001/src/compiler.cc#newcode489 src/compiler.cc:489: // TODO(turbofan): Currently everything is done in the first ...
5 years, 6 months ago (2015-06-16 12:23:02 UTC) #3
Benedikt Meurer
https://codereview.chromium.org/1179393008/diff/40001/src/compiler.cc File src/compiler.cc (right): https://codereview.chromium.org/1179393008/diff/40001/src/compiler.cc#newcode489 src/compiler.cc:489: // TODO(turbofan): Currently everything is done in the first ...
5 years, 6 months ago (2015-06-19 12:33:47 UTC) #4
Benedikt Meurer
Comments addressed. Please take another look.
5 years, 6 months ago (2015-06-19 12:42:54 UTC) #5
Michael Starzinger
LGTM. Ceterum censeo compiler.cc esse delendam. https://codereview.chromium.org/1179393008/diff/160001/src/compiler/pipeline.h File src/compiler/pipeline.h (right): https://codereview.chromium.org/1179393008/diff/160001/src/compiler/pipeline.h#newcode29 src/compiler/pipeline.h:29: // Separate pipeline ...
5 years, 6 months ago (2015-06-22 11:26:31 UTC) #6
Jarin
lgtm.
5 years, 6 months ago (2015-06-22 13:24:15 UTC) #8
ahaas
lgtm
4 years, 7 months ago (2016-04-27 11:07:41 UTC) #10
ahaas
https://codereview.chromium.org/1179393008/diff/200001/test/cctest/wasm/wasm-run-utils.h File test/cctest/wasm/wasm-run-utils.h (right): https://codereview.chromium.org/1179393008/diff/200001/test/cctest/wasm/wasm-run-utils.h#newcode489 test/cctest/wasm/wasm-run-utils.h:489: Pipeline::NewWasmCompilationJob(&info, graph(), descriptor(), Use "desc" here instead of "descriptor()"
4 years, 7 months ago (2016-04-27 11:24:22 UTC) #11
Benedikt Meurer
https://codereview.chromium.org/1179393008/diff/200001/test/cctest/wasm/wasm-run-utils.h File test/cctest/wasm/wasm-run-utils.h (right): https://codereview.chromium.org/1179393008/diff/200001/test/cctest/wasm/wasm-run-utils.h#newcode489 test/cctest/wasm/wasm-run-utils.h:489: Pipeline::NewWasmCompilationJob(&info, graph(), descriptor(), Ah thanks, I was hunting that ...
4 years, 7 months ago (2016-04-27 11:25:54 UTC) #12
Michael Starzinger
LGTM on the new version as well.
4 years, 7 months ago (2016-04-27 11:56:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1179393008/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1179393008/240001
4 years, 7 months ago (2016-04-27 12:13:50 UTC) #17
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years, 7 months ago (2016-04-27 12:38:27 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-04-27 12:40:15 UTC) #21
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/ff19726d8045a11df0535d8cb9a51e8b7a35c5cc
Cr-Commit-Position: refs/heads/master@{#35818}

Powered by Google App Engine
This is Rietveld 408576698