v8/test
Clemens Hammacher 87287908b3 [wasm] Add test for creating 10k modules in one process
With --wasm-far-jump-table, it will be possible to create 10k (and
more) modules in one process. So far, we hit the virtual address space
limit around 1k modules, because each module makes a reservation of
{kMaxWasmCodeMemory} upfront. After this change, each module will only
reserve the estimated needed code size (if --wasm-far-jump-table is
set).

The test is carefully optimized to not execute too much code in the
loop, so it can still run in simulators in reasonable time. Note that
the time for actually compiling the module is spent in C++, which is
fast in simulator builds.

R=mstarzinger@chromium.org

Bug: v8:9477, v8:9651
Change-Id: If74a825d272a65b82ca5433cb648b6a2271872e8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1811038
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63903}
2019-09-20 09:34:34 +00:00
..
benchmarks [test] Skip flaky test on predictable mode 2019-05-07 13:57:18 +00:00
cctest [api] Add [Shared]ArrayBuffer::GetBackingStore() 2019-09-19 10:03:02 +00:00
common [wasm][bulk] Update the element segment decoding to the new spec changes 2019-09-17 13:25:42 +00:00
debugger Reland "[Heap] Create a fast path for young allocations." 2019-09-16 13:25:51 +00:00
fuzzer [iwyu] Add missing includes of <memory> for std::unique_ptr 2019-09-13 17:13:36 +00:00
inspector [api] Add [Shared]ArrayBuffer::GetBackingStore() 2019-09-19 10:03:02 +00:00
intl [Intl] Sync ListFormat to latest spec. 2019-09-19 20:02:53 +00:00
js-perf-test [jsperf] Add benchmark for LoadConstantFromPrototype 2019-08-16 09:33:06 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message Reland "[destructuring] Elide coercible check for simple keys" 2019-08-30 10:51:49 +00:00
mjsunit [wasm] Add test for creating 10k modules in one process 2019-09-20 09:34:34 +00:00
mkgrokdump [tools] Teach v8_debug_helper where heap spaces start in ptr-compr mode 2019-09-09 16:14:12 +00:00
mozilla [CSA][cleanup] TNodify builtins constructor gen 2019-09-12 10:55:18 +00:00
preparser Add OWNERS files for src and test 2019-05-30 04:51:21 +00:00
test262 [Intl] Better annotation of bug number 2019-09-17 06:25:20 +00:00
torque [torque] Add HeapSlice location references to Torque 2019-08-30 11:51:32 +00:00
unittests [api] Add [Shared]ArrayBuffer::GetBackingStore() 2019-09-19 10:03:02 +00:00
wasm-api-tests [wasm-c-api] Roll bf31edf: Fix life times of host info 2019-08-26 14:28:51 +00:00
wasm-js [wasm][bulk] Update the element segment decoding to the new spec changes 2019-09-17 13:25:42 +00:00
wasm-spec-tests [wasm][bulk] Update the element segment decoding to the new spec changes 2019-09-17 13:25:42 +00:00
webkit [regexp] Add missing case for EscapeRegExpPattern 2019-07-09 08:11:51 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00