v8/src/wasm
Jakob Kummerow 4722852bc1 [wasm] Don't optimize super-large functions
We've seen Turbofan take excessive amounts of time for very large
functions. As a short-term mitigation, this patch disables optimization
for functions larger than 500KB (in their Wasm binary format).
Functions of such sizes are rare, so most modules should be unaffected
by this patch.

Change-Id: I9d222df5ca51b0fb5d6db7a7e9e3402f5276ff38
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2982608
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75364}
2021-06-24 14:11:33 +00:00
..
baseline Revert "[base] Move most of src/numbers into base" 2021-06-24 11:14:24 +00:00
branch-hint-map.h Implementation of the branch hinting proposal for WebAssembly. 2021-05-14 13:40:57 +00:00
c-api.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
c-api.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
code-space-access.cc [wasm] Merge code space write scope implementations 2021-06-21 14:13:02 +00:00
code-space-access.h [wasm] Merge code space write scope implementations 2021-06-21 14:13:02 +00:00
compilation-environment.h [wasm] Pass and store fewer wasm engine pointers 2021-06-21 11:57:45 +00:00
decoder.h [base] Create base/strings.h 2021-06-22 16:55:32 +00:00
DEPS [wasm] Fix include rules of jump-table-assembler.h 2019-09-13 14:05:24 +00:00
DIR_METADATA Add DIR_METADATA files to v8. 2020-10-20 22:12:28 +00:00
function-body-decoder-impl.h [base] Create base/strings.h 2021-06-22 16:55:32 +00:00
function-body-decoder.cc [wasm][eh] Remove unwind instruction 2021-06-14 14:36:26 +00:00
function-body-decoder.h [wasm] Remove redundant inline annotations 2021-06-11 11:09:43 +00:00
function-compiler.cc Reland "[wasm] Remove WasmInstructionBuffer" 2021-06-23 16:38:58 +00:00
function-compiler.h Reland "[wasm] Remove WasmInstructionBuffer" 2021-06-23 16:38:58 +00:00
graph-builder-interface.cc [wasm] Split interface functions 2021-06-18 15:42:57 +00:00
graph-builder-interface.h Implementation of the branch hinting proposal for WebAssembly. 2021-05-14 13:40:57 +00:00
jump-table-assembler.cc Add RISC-V backend 2021-02-09 17:06:36 +00:00
jump-table-assembler.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
leb-helper.h [wasm] Remove redundant inline annotations 2021-06-11 11:09:43 +00:00
local-decl-encoder.cc Revert to use memcpy instead of base::Memcpy 2021-06-10 10:19:24 +00:00
local-decl-encoder.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
memory-protection-key.cc [wasm] Add PKU key permissions functions 2021-05-11 10:57:19 +00:00
memory-protection-key.h [wasm] Add PKU key permissions functions 2021-05-11 10:57:19 +00:00
memory-tracing.cc [base] Create base/strings.h 2021-06-22 16:55:32 +00:00
memory-tracing.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
module-compiler.cc [wasm] Don't optimize super-large functions 2021-06-24 14:11:33 +00:00
module-compiler.h [wasm] Pass and store fewer wasm engine pointers 2021-06-21 11:57:45 +00:00
module-decoder.cc [wasm] Remove current global argument from consume_init_expr 2021-06-22 11:17:13 +00:00
module-decoder.h [wasm] Improve init. expr. testing code 2021-06-22 09:43:25 +00:00
module-instantiate.cc [runtime] Fix spec violation in Object.defineProperties 2021-06-23 10:13:03 +00:00
module-instantiate.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
object-access.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
OWNERS [wasm] Make manoskouk and thibaudm full wasm owners 2021-05-04 08:11:05 +00:00
signature-map.cc Move code generation related files to src/codegen 2019-05-21 10:33:39 +00:00
signature-map.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
simd-shuffle.cc [wasm-simd] Add missing include for std::all_of 2021-03-23 16:45:16 +00:00
simd-shuffle.h [wasm-simd][x64][ia32] Optimize swizzle with constant indices 2021-03-22 20:33:45 +00:00
streaming-decoder.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
streaming-decoder.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
struct-types.h [wasm-gc][ic] Support WasmObjects in LoadIC 2021-05-26 17:49:49 +00:00
sync-streaming-decoder.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
value-type.cc [wasm] Move ValueKind out of ValueType 2021-02-22 10:52:50 +00:00
value-type.h [wasm] Implement EvaluateInitExpression 2021-06-04 13:34:16 +00:00
wasm-arguments.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-code-manager.cc Reland "[wasm] Remove WasmInstructionBuffer" 2021-06-23 16:38:58 +00:00
wasm-code-manager.h Reland "[wasm] Provide a global WasmCodeManager" 2021-06-22 08:59:10 +00:00
wasm-constants.h Implementation of the branch hinting proposal for WebAssembly. 2021-05-14 13:40:57 +00:00
wasm-debug.cc Reland "[wasm] Provide a global WasmCodeManager" 2021-06-22 08:59:10 +00:00
wasm-debug.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-engine.cc [wasm] Fix race on isolate shutdown 2021-06-23 14:24:58 +00:00
wasm-engine.h Reland "[wasm] Provide a global WasmCodeManager" 2021-06-22 08:59:10 +00:00
wasm-external-refs.cc [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
wasm-external-refs.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-feature-flags.h [wasm-gc] Implement array.copy (experimental) 2021-05-27 08:46:08 +00:00
wasm-features.cc [api] Add callback to set up conditional features 2021-03-23 09:03:34 +00:00
wasm-features.h [api] Add callback to set up conditional features 2021-03-23 09:03:34 +00:00
wasm-import-wrapper-cache.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-import-wrapper-cache.h [wasm-c-api] Cache CapiCallWrappers in the NativeModule 2021-05-19 16:36:41 +00:00
wasm-init-expr.cc [wasm-gc] Add array.init constant expression 2021-06-14 08:23:06 +00:00
wasm-init-expr.h [wasm-gc] Add array.init constant expression 2021-06-14 08:23:06 +00:00
wasm-js.cc [isolate][cleanup] Remove pointer to WasmEngine 2021-06-21 09:09:25 +00:00
wasm-js.h [api] Add callback to set up conditional features 2021-03-23 09:03:34 +00:00
wasm-limits.h [wasm-gc] Add array.init constant expression 2021-06-14 08:23:06 +00:00
wasm-linkage.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-module-builder.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-module-builder.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-module-sourcemap.cc [api] Create v8::String::NewFromLiteral that returns Local<String> 2020-03-09 12:02:07 +00:00
wasm-module-sourcemap.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-module.cc [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-module.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-objects-inl.h [ext-code-space] Migrate WasmExportedFunctionData code field to CodeT 2021-06-18 14:10:43 +00:00
wasm-objects.cc [wasm] Pass and store fewer wasm engine pointers 2021-06-21 11:57:45 +00:00
wasm-objects.h [ext-code-space] Migrate WasmExportedFunctionData code field to CodeT 2021-06-18 14:10:43 +00:00
wasm-objects.tq [ext-code-space] Migrate WasmExportedFunctionData code field to CodeT 2021-06-18 14:10:43 +00:00
wasm-opcodes-inl.h [wasm][eh] Remove unwind instruction 2021-06-14 14:36:26 +00:00
wasm-opcodes.cc [wasm] Remove multivalue feature flag 2021-04-13 06:35:34 +00:00
wasm-opcodes.h [wasm][eh] Remove unwind instruction 2021-06-14 14:36:26 +00:00
wasm-result.cc [base] Create base/strings.h 2021-06-22 16:55:32 +00:00
wasm-result.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-serialization.cc [wasm] Merge code space write scope implementations 2021-06-21 14:13:02 +00:00
wasm-serialization.h [base] Move utils/vector.h to base/vector.h 2021-06-18 13:33:13 +00:00
wasm-subtyping.cc [wasm][bug] Remove deleted WasmModule from typing cache 2021-05-05 08:30:56 +00:00
wasm-subtyping.h [wasm][bug] Remove deleted WasmModule from typing cache 2021-05-05 08:30:56 +00:00
wasm-tier.h [no-wasm] Forbid including wasm headers in no-wasm builds 2021-03-16 08:48:55 +00:00
wasm-value.h [wasm] Do not enforce LE for globals and WasmValue 2021-06-10 18:08:38 +00:00