v8/test
Ulan Degenbaev 496d05967c [heap] Detect ineffective GCs near the heap limit.
Currently V8 can enter CPU thrashing GC loop near the heap limit. In
such cases it is better to trigger an out-of-memory failure earlier to
avoid wasting CPU time and to avoid unresponsiveness.

This patch adds a mechanism for tracking consecutive ineffective GCs.
A GC is considered ineffective if the heap size after the GC is still
close to the heap limit and if the average mutator utilization dropped
below a fixed threshold.

V8 execution is aborted after four consecutive ineffective GCs.

Bug: chromium:824214
Change-Id: I647032707d49e5383e1317c5e7616dd57077ea32
Reviewed-on: https://chromium-review.googlesource.com/978178
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Hannes Payer <hpayer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52244}
2018-03-27 13:08:36 +00:00
..
benchmarks [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
cctest [heap] Detect ineffective GCs near the heap limit. 2018-03-27 13:08:36 +00:00
common [wasm][anyref] Implement decoding of new instructions 2018-03-23 12:21:58 +00:00
debugger [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
fuzzer [build] Add data deps for executable tests 2018-03-26 13:37:03 +00:00
inspector [debug] disable debug breaks in side-effect free debug-evaluate. 2018-03-26 16:27:32 +00:00
intl [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
js-perf-test [js-perf-test] Don't run SixSpeed benchmarks with --future. 2018-03-22 09:50:12 +00:00
memory [snapshot] add tracking for builtin snapshot size. 2017-08-31 07:29:31 +00:00
message [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
mjsunit [cleanup] Delete test with obsolete flag 2018-03-27 08:46:16 +00:00
mkgrokdump [build] Add data deps for executable tests 2018-03-26 13:37:03 +00:00
mozilla [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
preparser [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
test262 [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
unittests [turbofan] unify interpreter and JIT speculation poisoning 2018-03-27 12:55:28 +00:00
wasm-spec-tests [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +00:00
webkit [build] Add data deps for d8 test suites 2018-03-26 13:44:58 +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 [build] Add data deps for convenience test targets 2018-03-26 13:56:43 +00:00
d8_default.isolate [test] Add a d8_default test suite collection 2018-01-12 15:18:04 +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.isolate
perf.isolate Reland "Reland "[test] Creating command before execution phase."" 2017-12-04 13:40:29 +00:00