rmcilroy
f12661a1ec
[complier] Enable parallel eager inner function compilation with compiler dispatcher.
...
Enable enqueueing of eager inner function compilation onto the compiler
dispatcher. This enables these tasks to be performed in parallel to
compilation of the outer functio (only for Ignition functions).
We currently synchronize to ensure all inner function compilations
are complete before executing the outer function - future work will
allow outer function execution to happenin parallel to inner function
compilation.
BUG=v8:5203,v8:5215
Review-Url: https://codereview.chromium.org/2611313002
Cr-Commit-Position: refs/heads/master@{#42413}
2017-01-17 14:56:47 +00:00
jochen
f40fdd1f3b
[compiler-dispatcher] make it so that we can always parse on bg threads
...
BUG=v8:5215
R=rmcilroy@chromium.org ,hpayer@chromium.org,vogelheim@chromium.org,marja@chromium.org
Review-Url: https://codereview.chromium.org/2625413004
Cr-Commit-Position: refs/heads/master@{#42361}
2017-01-16 10:49:16 +00:00
jochen
65537684b6
Add ability to enqueue SharedFunctionInfos so they can run on bg threads
...
If this is possible at all, we need to at least do the first step
(prepare to parse).
BUG=v8:5215
R=vogelheim@chromium.org ,marja@chromium.org
Review-Url: https://codereview.chromium.org/2610173004
Cr-Commit-Position: refs/heads/master@{#42124}
2017-01-09 08:52:04 +00:00
jochen
10453e85d4
Abort running compiler dispatcher tasks under memory pressure
...
BUG=v8:5215
R=marja@chromium.org ,vogelheim@chromium.org
Review-Url: https://codereview.chromium.org/2608163006
Cr-Commit-Position: refs/heads/master@{#42084}
2017-01-05 09:22:34 +00:00
jochen
e426fdd52b
Implement async AbortAll for the compiler dispatcher
...
BUG=v8:5215
R=marja@chromium.org ,vogelheim@chromium.org
Review-Url: https://codereview.chromium.org/2615603002
Cr-Commit-Position: refs/heads/master@{#42068}
2017-01-04 13:45:56 +00:00
jochen
a8b16f4424
Add more tests for compiler-dispatcher
...
BUG=v8:5215
R=marja@chromium.org ,vogelheim@chromium.org
Review-Url: https://codereview.chromium.org/2612753002
Cr-Commit-Position: refs/heads/master@{#42062}
2017-01-04 10:07:59 +00:00
jochen
efb329a8ab
Reland "Use background tasks for the compiler dispatcher
...
Original issue's description:
> Use background tasks for the compiler dispatcher
>
> BUG=v8:5215
> R=marja@chromium.org ,vogelheim@chromium.org
>
> Review-Url: https://codereview.chromium.org/2606263002
> Cr-Commit-Position: refs/heads/master@{#42035}
> Committed: 7a1b3a7beb
BUG=v8:5215
TBR=marja@chromium.org ,vogelheim@chromium.org,rmcilroy@chromium.org
Review-Url: https://codereview.chromium.org/2613483002
Cr-Commit-Position: refs/heads/master@{#42040}
2017-01-03 17:00:56 +00:00
rmcilroy
d4b5bfe306
Revert of Use background tasks for the compiler dispatcher (patchset #5 id:80001 of https://codereview.chromium.org/2606263002/ )
...
Reason for revert:
Causes IgnitionCompilerDispatcherTest.FinishNowWithBackgroundTask to fail.
https://build.chromium.org/p/client.v8/builders/V8%20Linux%20-%20noi18n%20-%20debug/builds/11209
Original issue's description:
> Use background tasks for the compiler dispatcher
>
> BUG=v8:5215
> R=marja@chromium.org ,vogelheim@chromium.org
>
> Review-Url: https://codereview.chromium.org/2606263002
> Cr-Commit-Position: refs/heads/master@{#42035}
> Committed: 7a1b3a7beb
TBR=marja@chromium.org ,vogelheim@chromium.org,jochen@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:5215
Review-Url: https://codereview.chromium.org/2614433002
Cr-Commit-Position: refs/heads/master@{#42037}
2017-01-03 15:51:44 +00:00
jochen
7a1b3a7beb
Use background tasks for the compiler dispatcher
...
BUG=v8:5215
R=marja@chromium.org ,vogelheim@chromium.org
Review-Url: https://codereview.chromium.org/2606263002
Cr-Commit-Position: refs/heads/master@{#42035}
2017-01-03 15:24:00 +00:00
jochen
09cb6efd58
Reland "Disable the CompilerDispatcher if we don't have idle time"
...
Original issue's description:
> Disable the CompilerDispatcher if we don't have idle time
>
> Since we can't do all steps on background threads, we need idle time to
> work
>
> BUG=v8:5215
> R=danno@chromium.org
>
> Review-Url: https://codereview.chromium.org/2600743002
> Cr-Commit-Position: refs/heads/master@{#41944}
> Committed: https://chromium.googlesource.com/v8/v8/+/a0d9eb346bba90aa0b32a
2d3184cbbfd6adb243e
BUG=v8:5215
Review-Url: https://codereview.chromium.org/2606233002
Cr-Commit-Position: refs/heads/master@{#42009}
2017-01-02 12:59:07 +00:00
machenbach
26325f0c8d
Revert of Disable the CompilerDispatcher if we don't have idle time (patchset #1 id:1 of https://codereview.chromium.org/2600743002/ )
...
Reason for revert:
[Sheriff] Speculative revert since we got persistent timeouts on win32 debug:
https://build.chromium.org/p/client.v8/builders/V8%20Win32%20-%20debug/builds/6417
Please reland if it doesn't help.
Original issue's description:
> Disable the CompilerDispatcher if we don't have idle time
>
> Since we can't do all steps on background threads, we need idle time to
> work
>
> BUG=v8:5215
> R=danno@chromium.org
>
> Review-Url: https://codereview.chromium.org/2600743002
> Cr-Commit-Position: refs/heads/master@{#41944}
> Committed: a0d9eb346b
TBR=danno@chromium.org ,jochen@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:5215
Review-Url: https://codereview.chromium.org/2600773002
Cr-Commit-Position: refs/heads/master@{#41948}
2016-12-23 19:03:48 +00:00
jochen
a0d9eb346b
Disable the CompilerDispatcher if we don't have idle time
...
Since we can't do all steps on background threads, we need idle time to
work
BUG=v8:5215
R=danno@chromium.org
Review-Url: https://codereview.chromium.org/2600743002
Cr-Commit-Position: refs/heads/master@{#41944}
2016-12-23 15:11:15 +00:00
mvstanton
0d4b990497
CompilerDispatcher unittest should use is_compiled() predicate.
...
BUG=v8:5759
R=jochen@chromium.org
Review-Url: https://codereview.chromium.org/2588743003
Cr-Commit-Position: refs/heads/master@{#41810}
2016-12-19 15:41:04 +00:00
jochen
692ba84f4f
Use idle time to make progress on scheduled compilation jobs
...
BUG=v8:5215
R=rmcilroy@chromium.org ,marja@chromium.org,vogelheim@chromium.org
Review-Url: https://codereview.chromium.org/2573493002
Cr-Commit-Position: refs/heads/master@{#41767}
2016-12-16 14:40:32 +00:00
jochen
1bdf908db0
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
Review-Url: https://codereview.chromium.org/2558293004
Cr-Commit-Position: refs/heads/master@{#41650}
2016-12-12 15:36:25 +00:00