v8/test
Bill Budge 3f90d9f994 [Memory] Add an OnCriticalMemoryPressure method to V8::Platform.
Adds virtual V8::Platform::OnCriticalMemoryPressure method, default
implementation does nothing.

Calls this method on first allocation failures in NewArray, Malloced,
and zone AccountingAllocator and adds retry logic.

Adds utility functions for allocating base::VirtualMemory to functions
in allocation.h, which call this method and add retry logic.

Calls these utility functions in heap CodeRange, Spaces, StoreBuffer
and SequentialMarkingDeque.

Bug: v8:6635
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng
Change-Id: I38afd394f3be556aca037d16675e9884658158cb
Reviewed-on: https://chromium-review.googlesource.com/583543
Commit-Queue: Bill Budge <bbudge@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46988}
2017-07-29 02:49:44 +00:00
..
benchmarks Use --opt instead of --crankshaft in tests. 2017-04-28 14:20:39 +00:00
cctest [Memory] Add an OnCriticalMemoryPressure method to V8::Platform. 2017-07-29 02:49:44 +00:00
common [wasm] Extract WasmVal to own header and rename to WasmValue 2017-07-18 13:12:56 +00:00
debugger [test] Remove deprecated "fullcode" test variant. 2017-07-27 14:01:03 +00:00
fuzzer [wasm] Extract WasmVal to own header and rename to WasmValue 2017-07-18 13:12:56 +00:00
inspector [inspector] move SetScriptSource call to native 2017-07-28 21:55:05 +00:00
intl [tests] Fix timezone dependence in an intl test 2017-07-12 12:23:22 +00:00
js-perf-test [js-perf-test] Add microbenchmarks for Array.prototype.join/toString. 2017-07-28 05:11:38 +00:00
memory
message [parser] Provide better error when incorrectly using await 2017-07-25 22:53:58 +00:00
mjsunit Revert "Reland: [turbofan] staging new implementation of escape analysis" 2017-07-28 19:16:17 +00:00
mkgrokdump Fix compilation failure due to overload of virtual function 2017-05-24 21:19:48 +00:00
mozilla [builtins] Increase precision limits for toFixed, etc 2017-07-20 13:05:35 +00:00
preparser
promises-aplus
test262 Ship RegExp dotAll mode / s flag 2017-07-28 08:17:38 +00:00
unittests Revert "[heap] Reland "[heap] Allow a minimum semi-space size of 512K."" 2017-07-28 19:42:31 +00:00
wasm-spec-tests [wasm] Update spec tests 2017-07-25 14:55:07 +00:00
webkit [test] Remove deprecated "fullcode" test variant. 2017-07-27 14:01:03 +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
perf.gyp
perf.isolate