v8/test
Andreas Haas 2c3fae967b [wasm] Allow to restart background tasks during streaming compilation
In a certain scenario streaming compilation got stuck and did never
finish. This CL fixes this issue.

Scenario:
* Streaming compilation starts
* The compilation tasks execute all compiation units in the working
  queue and set the finished_ flag to true.
* New data arrives over streaming
* The compilation tasks compile so fast that the executed_units_ queue
  gets full. The compilation tasks stop executing and wait for the
  finisher task to restart them.
* The finisher task does not restart the compilation tasks because the
  finished_ flag is set.

With this CL I remove the finished flag and instead look at the size
of the working queue directly.

In addition I added a test which does not actually reproduce this
scenario but seems good to have anyways.

R=mtrofin@chromium.org

Change-Id: I44560c43e51be13c4461208368e21137b115656c
Reviewed-on: https://chromium-review.googlesource.com/824523
Reviewed-by: Mircea Trofin <mtrofin@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50090}
2017-12-13 19:51:36 +00:00
..
benchmarks [test] Code cleanup in testcfg.py 2017-12-13 13:36:20 +00:00
cctest [wasm] Allow to restart background tasks during streaming compilation 2017-12-13 19:51:36 +00:00
common Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
debugger [test] Code cleanup in testcfg.py 2017-12-13 13:36:20 +00:00
fuzzer [test] Code cleanup in testcfg.py 2017-12-13 13:36:20 +00:00
inspector [test] Remove output from testcase. 2017-12-13 15:00:52 +00:00
intl [test] Code cleanup in testcfg.py 2017-12-13 13:36:20 +00:00
js-perf-test [test] Add find-index.js to the list of resources for the test 2017-12-07 13:49:46 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [test] Remove output from testcase. 2017-12-13 15:00:52 +00:00
mjsunit [runtime] Decrease the maximum number of descriptors. 2017-12-13 18:59:26 +00:00
mkgrokdump [test] Remove output from testcase. 2017-12-13 15:00:52 +00:00
mozilla [test] Remove output from testcase. 2017-12-13 15:00:52 +00:00
preparser [test] Code cleanup in testcfg.py 2017-12-13 13:36:20 +00:00
promises-aplus [test] Move data access from suite to test. 2017-12-13 09:14:47 +00:00
test262 [test] Remove output from testcase. 2017-12-13 15:00:52 +00:00
unittests [test] Code cleanup in testcfg.py 2017-12-13 13:36:20 +00:00
wasm-spec-tests [test] Code cleanup in testcfg.py 2017-12-13 13:36:20 +00:00
webkit [test] Remove output from testcase. 2017-12-13 15:00:52 +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 Reland "Reland "[test] Creating command before execution phase."" 2017-12-04 13:40:29 +00:00