v8/test/cctest/wasm
Clemens Backes 194407922b Revert "[wasm] Do not add too much code at once"
This reverts commit 05a80427dc.

Reason for revert: Getting timeouts on some slow bots.

Original change's description:
> [wasm] Do not add too much code at once
>
> Especially on arm64 we have a rather low code space limit (128MB), so it
> can happen that a background thread generates more code in one batch
> than can be held in a single code space. This case is not implemented
> yet.
>
> This CL implements this by never batch-adding more than half of a code
> space.
>
> In order to test the implementation, we add a new flag called
> --wasm-max-code-space-size-mb which can be used to artificially lower
> the code space size limits in tests.
>
> R=​jkummerow@chromium.org
>
> Bug: v8:13436
> Change-Id: I18a3457fda724129fb1bb8c44a9815df265b6b2c
> Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4023072
> Commit-Queue: Clemens Backes <clemensb@chromium.org>
> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#84245}

Bug: v8:13436
Change-Id: I0b2492eb7fee40b7d62b3b3a8fb19a4bc7fda26b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4025546
Auto-Submit: Clemens Backes <clemensb@chromium.org>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#84248}
2022-11-14 16:17:23 +00:00
..
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
OWNERS Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
test-backing-store.cc [arraybuffers, api] Implement [[ArrayBufferDetachKey]] support 2022-10-21 12:55:18 +00:00
test-c-wasm-entry.cc [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
test-compilation-cache.cc [wasm] Use v8_flags for accessing flag values 2022-08-29 12:43:46 +00:00
test-gc.cc [wasm-gc] Add new ref.cast taking any reference 2022-10-14 16:24:16 +00:00
test-grow-memory.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
test-jump-table-assembler.cc Revert "[wasm] Do not add too much code at once" 2022-11-14 16:17:23 +00:00
test-liftoff-for-fuzzing.cc Reland "[wasm] Add tests for NaN detection in Liftoff" 2021-09-14 08:41:58 +00:00
test-liftoff-inspection.cc [cleanup] Remove Wasm exception-handling runtime flag 2022-11-04 22:50:50 +00:00
test-run-wasm-64.cc [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
test-run-wasm-asmjs.cc [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
test-run-wasm-atomics64.cc [cleanup] Remove flag for Wasm threads & atomics 2022-10-19 23:05:37 +00:00
test-run-wasm-atomics.cc [cleanup] Remove flag for Wasm threads & atomics 2022-10-19 23:05:37 +00:00
test-run-wasm-bulk-memory.cc [wasm] Enable --wasm-type-canonicalization, remove old code 2022-09-15 16:22:18 +00:00
test-run-wasm-exceptions.cc [cleanup] Remove Wasm exception-handling runtime flag 2022-11-04 22:50:50 +00:00
test-run-wasm-interpreter.cc [cctest] Use v8_flags for accessing flag values 2022-09-16 08:22:03 +00:00
test-run-wasm-js.cc [wasm] Enable --wasm-type-canonicalization, remove old code 2022-09-15 16:22:18 +00:00
test-run-wasm-memory64.cc [wasm] Disable trap handling for memory64 2021-07-08 11:03:08 +00:00
test-run-wasm-module.cc [wasm] Use v8_flags for accessing flag values 2022-08-29 12:43:46 +00:00
test-run-wasm-relaxed-simd.cc [wasm-relaxed-simd] Fix Liftoff FMA dst register 2022-10-27 13:38:35 +00:00
test-run-wasm-sign-extension.cc [test][cleanup] Rename WASM_*_LOCAL to WASM_LOCAL_* 2020-12-17 21:19:14 +00:00
test-run-wasm-simd-liftoff.cc [cleanup] Remove Wasm SIMD flag & deprecate embedder-enabling API 2022-10-22 00:47:42 +00:00
test-run-wasm-simd.cc [cleanup] Remove Wasm SIMD flag & deprecate embedder-enabling API 2022-10-22 00:47:42 +00:00
test-run-wasm-wrappers.cc [wasm-gc] Always use JSToWasmObject at the JS-to-Wasm boundary 2022-09-07 14:36:05 +00:00
test-run-wasm.cc [cctest] Use v8_flags for accessing flag values 2022-09-16 08:22:03 +00:00
test-streaming-compilation.cc [wasm] Move js-to-wasm wrappers to the isolate 2022-09-16 15:08:53 +00:00
test-wasm-breakpoints.cc Revert "Remove some unused includes" 2022-09-20 14:19:42 +00:00
test-wasm-codegen.cc [zone] Cleanup zone allocations in src/wasm and tests 2020-07-10 12:11:55 +00:00
test-wasm-import-wrapper-cache.cc [wasm] Index wrappers by isorecursive canonical type 2022-09-14 10:14:17 +00:00
test-wasm-metrics.cc [wasm] Use v8_flags for accessing flag values 2022-08-29 12:43:46 +00:00
test-wasm-serialization.cc Reland: [heap] Load MarkingBarrier from thread local on main thread 2022-11-14 12:18:18 +00:00
test-wasm-shared-engine.cc Reland: [heap] Load MarkingBarrier from thread local on main thread 2022-11-14 12:18:18 +00:00
test-wasm-stack.cc [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
test-wasm-strings.cc [stringrefs] Add generalized UTF-8 decoder / validator 2022-05-20 08:05:04 +00:00
test-wasm-trap-position.cc [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
wasm-atomics-utils.h [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
wasm-run-utils.cc [wasm] Record dangling exceptions when inlining 2022-11-10 07:49:05 +00:00
wasm-run-utils.h [wasm] Enable --wasm-type-canonicalization, remove old code 2022-09-15 16:22:18 +00:00
wasm-simd-utils.cc [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
wasm-simd-utils.h [wasm-relaxed-simd][x64] Prototype relaxed min and max 2021-10-21 00:58:24 +00:00