v8/test
Andreas Haas 8de2e6db02 [platform] Implement TaskRunners in the DefaultPlatform
This CL implements the TaskRunners in the DefaultPlatform which has been
added recently to the platform API. In addition I changed how task
posting works on the DefaultPlatform.

With this implementation the DefaultPlatform keeps one
DefaultForegroundTaskRunner per isolate, plus one
DefaultBackgroundTaskRunner. The DefaultPlatform owns these TaskRunners
with a shared_ptr, which is also shared with any caller of
GetForegroundTaskRunner or GetBackgroundTaskrunner.

This CL moves the task management from the DefaultPlatform to the
TaskRunners.  The DefaultForegroundTaskRunner owns and manages the the
task queue, the delayed task  queue, and the idle task queue. The
DefaultBackgroundTaskRunner owns the WorkerThread pool and the
background task queue.

In addition changed many Task* to std::unique_ptr<Task> to document task
ownership.

R=rmcilroy@chromium.org

Change-Id: Ib9a01f1f45e5b48844a37d801f884210ec3f6c27
Reviewed-on: https://chromium-review.googlesource.com/753583
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#49354}
2017-11-14 14:11:34 +00:00
..
benchmarks [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
cctest [log] Support --log-function-events in the parser 2017-11-14 10:36:58 +00:00
common [wasm] Support block parameters 2017-10-24 11:44:26 +00:00
debugger [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
fuzzer [cleanup] use unique_ptr for the DefaultPlatform 2017-11-14 09:57:18 +00:00
inspector [cleanup] use unique_ptr for the DefaultPlatform 2017-11-14 09:57:18 +00:00
intl Revert "Make intl/overrides/caching.js more 'robust'" 2017-11-13 19:13:13 +00:00
js-perf-test [parser] Use n-ary addition for template strings 2017-10-31 16:02:53 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [test/message] Allow numbers to have more than one leading digit. 2017-11-03 15:25:25 +00:00
mjsunit [test] Adjust empty PropertyArray regression test 2017-11-14 09:14:18 +00:00
mkgrokdump [cleanup] use unique_ptr for the DefaultPlatform 2017-11-14 09:57:18 +00:00
mozilla [d8] Report errors in setTimeout 2017-11-03 12:21:53 +00:00
preparser [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
promises-aplus [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
test262 [test] Re-enable all Unicode property tests 2017-11-10 09:09:20 +00:00
unittests [platform] Implement TaskRunners in the DefaultPlatform 2017-11-14 14:11:34 +00:00
wasm-spec-tests [test] Let flags from test case have precedence 2017-10-27 13:22:39 +00:00
webkit Temporary GC fuzzer. 2017-11-10 14:23:38 +00:00
bot_default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
bot_default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
BUILD.gn [wasm] Remove the wasm-asmjs fuzzer 2017-06-21 10:59:35 +00:00
default.gyp [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
default.isolate [wasm] Add wasm spec tests to the v8 test runner 2017-04-27 13:00:13 +00:00
optimize_for_size.gyp
optimize_for_size.isolate [debugger] basic test infrastructure for new debugger test api. 2016-10-21 06:38:05 +00:00
perf.gyp
perf.isolate Remove SIMD.js from V8. 2017-02-14 06:57:25 +00:00