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

Issue 1942773002: [wasm] Split the wasm compilation into two phases for parallel compilation. (Closed)

Created:
4 years, 7 months ago by ahaas
Modified:
4 years, 7 months ago
Reviewers:
titzer
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Split the wasm compilation into two phases for parallel compilation. Graph construction, graph scheduling, instruction selection, and register allocation has been moved to ExecuteCompilation, which will eventually be executed on the background threads. Code generation remains in FinishCompilation because it has to be executed by the main thread. Additionally, WasmCompilationUnits are finished more eagerly in wasm-module.cc to save memory. R=titzer@chromium.org Committed: https://crrev.com/18c380c39610264ad0fa9d85eab271e83913222b Cr-Commit-Position: refs/heads/master@{#35973}

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 10

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -120 lines) Patch
M src/compiler/wasm-compiler.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 2 chunks +122 lines, -111 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 chunks +21 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
ahaas
4 years, 7 months ago (2016-05-02 09:59:48 UTC) #1
titzer
https://codereview.chromium.org/1942773002/diff/20001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/1942773002/diff/20001/src/compiler/wasm-compiler.cc#newcode3039 src/compiler/wasm-compiler.cc:3039: base::ElapsedTimer compile_timer; Move this timer after the check for ...
4 years, 7 months ago (2016-05-02 14:49:46 UTC) #2
ahaas
https://codereview.chromium.org/1942773002/diff/20001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/1942773002/diff/20001/src/compiler/wasm-compiler.cc#newcode3039 src/compiler/wasm-compiler.cc:3039: base::ElapsedTimer compile_timer; On 2016/05/02 at 14:49:45, titzer wrote: > ...
4 years, 7 months ago (2016-05-02 16:21:59 UTC) #3
titzer
lgtm
4 years, 7 months ago (2016-05-03 08:54:53 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1942773002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1942773002/40001
4 years, 7 months ago (2016-05-03 11:01:52 UTC) #6
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-03 11:12:46 UTC) #7
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 11:13:18 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/18c380c39610264ad0fa9d85eab271e83913222b
Cr-Commit-Position: refs/heads/master@{#35973}

Powered by Google App Engine
This is Rietveld 408576698