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

Issue 2558293004: Add a basic compiler dispatcher (Closed)

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

Description

Add a basic compiler dispatcher It doesn't schedule steps yet, but there are tests. BUG=v8:5215 R=rmcilroy@chromium.org,marja@chromium.org Committed: https://crrev.com/1bdf908db0512f65eb10c6b167f2d108cc06b673 Cr-Commit-Position: refs/heads/master@{#41650}

Patch Set 1 #

Patch Set 2 : play it safe #

Total comments: 19

Patch Set 3 : updates #

Patch Set 4 : back out runtime-compiler.cc change #

Total comments: 4

Patch Set 5 : updates #

Total comments: 2

Patch Set 6 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+371 lines, -34 lines) Patch
M BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
A src/compiler-dispatcher/compiler-dispatcher.h View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
A src/compiler-dispatcher/compiler-dispatcher.cc View 1 2 3 4 5 1 chunk +130 lines, -0 lines 0 comments Download
M src/compiler-dispatcher/compiler-dispatcher-job.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M src/compiler-dispatcher/compiler-dispatcher-job.cc View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M src/isolate.h View 3 chunks +4 lines, -4 lines 0 comments Download
M src/isolate.cc View 4 chunks +6 lines, -5 lines 0 comments Download
M src/v8.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
M test/unittests/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
A test/unittests/compiler-dispatcher/compiler-dispatcher-helper.h View 1 chunk +23 lines, -0 lines 0 comments Download
A test/unittests/compiler-dispatcher/compiler-dispatcher-helper.cc View 1 chunk +27 lines, -0 lines 0 comments Download
M test/unittests/compiler-dispatcher/compiler-dispatcher-job-unittest.cc View 9 chunks +28 lines, -23 lines 0 comments Download
A test/unittests/compiler-dispatcher/compiler-dispatcher-unittest.cc View 1 2 3 4 1 chunk +61 lines, -0 lines 0 comments Download
M test/unittests/unittests.gyp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (24 generated)
jochen (gone - plz use gerrit)
4 years ago (2016-12-09 14:46:06 UTC) #1
marja
https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher-job.h File src/compiler-dispatcher/compiler-dispatcher-job.h (right): https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher-job.h#newcode60 src/compiler-dispatcher/compiler-dispatcher-job.h:60: bool IsProcessing(Handle<SharedFunctionInfo> shared) const; Naming nit: IsProcessing has a ...
4 years ago (2016-12-12 09:00:02 UTC) #10
marja
https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher.h File src/compiler-dispatcher/compiler-dispatcher.h (right): https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher.h#newcode50 src/compiler-dispatcher/compiler-dispatcher.h:50: static bool DoNextStepOnMainThread(CompilerDispatcherJob* job); On 2016/12/12 09:00:02, marja wrote: ...
4 years ago (2016-12-12 09:02:08 UTC) #11
rmcilroy
https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher-job.h File src/compiler-dispatcher/compiler-dispatcher-job.h (right): https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher-job.h#newcode60 src/compiler-dispatcher/compiler-dispatcher-job.h:60: bool IsProcessing(Handle<SharedFunctionInfo> shared) const; On 2016/12/12 09:00:02, marja wrote: ...
4 years ago (2016-12-12 09:50:39 UTC) #12
marja
https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher.cc File src/compiler-dispatcher/compiler-dispatcher.cc (right): https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher.cc#newcode29 src/compiler-dispatcher/compiler-dispatcher.cc:29: // enqueued, we might not be able to enqueue ...
4 years ago (2016-12-12 09:54:59 UTC) #13
rmcilroy
https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher.cc File src/compiler-dispatcher/compiler-dispatcher.cc (right): https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher.cc#newcode29 src/compiler-dispatcher/compiler-dispatcher.cc:29: // enqueued, we might not be able to enqueue ...
4 years ago (2016-12-12 10:08:30 UTC) #14
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher-job.h File src/compiler-dispatcher/compiler-dispatcher-job.h (right): https://codereview.chromium.org/2558293004/diff/20001/src/compiler-dispatcher/compiler-dispatcher-job.h#newcode60 src/compiler-dispatcher/compiler-dispatcher-job.h:60: bool IsProcessing(Handle<SharedFunctionInfo> shared) const; On 2016/12/12 at 09:00:02, marja ...
4 years ago (2016-12-12 10:51:17 UTC) #17
jochen (gone - plz use gerrit)
backed out the runtime-compiler.cc change as it's not needed yet
4 years ago (2016-12-12 10:55:10 UTC) #20
marja
lgtm % https://codereview.chromium.org/2558293004/diff/60001/src/compiler-dispatcher/compiler-dispatcher.cc File src/compiler-dispatcher/compiler-dispatcher.cc (right): https://codereview.chromium.org/2558293004/diff/60001/src/compiler-dispatcher/compiler-dispatcher.cc#newcode64 src/compiler-dispatcher/compiler-dispatcher.cc:64: bool CompilerDispatcher::Enqueue(Handle<SharedFunctionInfo> function) { Now the return ...
4 years ago (2016-12-12 12:25:01 UTC) #24
jochen (gone - plz use gerrit)
https://codereview.chromium.org/2558293004/diff/60001/src/compiler-dispatcher/compiler-dispatcher.cc File src/compiler-dispatcher/compiler-dispatcher.cc (right): https://codereview.chromium.org/2558293004/diff/60001/src/compiler-dispatcher/compiler-dispatcher.cc#newcode64 src/compiler-dispatcher/compiler-dispatcher.cc:64: bool CompilerDispatcher::Enqueue(Handle<SharedFunctionInfo> function) { On 2016/12/12 at 12:25:01, marja ...
4 years ago (2016-12-12 12:34:38 UTC) #27
marja
still lgtm
4 years ago (2016-12-12 12:41:36 UTC) #28
rmcilroy
LGTM, just nits. https://codereview.chromium.org/2558293004/diff/80001/src/compiler-dispatcher/compiler-dispatcher.cc File src/compiler-dispatcher/compiler-dispatcher.cc (right): https://codereview.chromium.org/2558293004/diff/80001/src/compiler-dispatcher/compiler-dispatcher.cc#newcode50 src/compiler-dispatcher/compiler-dispatcher.cc:50: bool IsDone(CompilerDispatcherJob* job) { nit - ...
4 years ago (2016-12-12 14:00:20 UTC) #31
rmcilroy
LGTM, just nits.
4 years ago (2016-12-12 14:00:23 UTC) #32
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/2558293004/100001
4 years ago (2016-12-12 15:07:20 UTC) #35
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-12 15:35:47 UTC) #38
commit-bot: I haz the power
4 years ago (2016-12-12 15:36:34 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/1bdf908db0512f65eb10c6b167f2d108cc06b673
Cr-Commit-Position: refs/heads/master@{#41650}

Powered by Google App Engine
This is Rietveld 408576698