v8/src/wasm
Andreas Haas eb129a5cf1 Reland "[wasm] Lazy compilation after deserialization"
The original CL introduced a test that does not work when it is executed
concurrently on multiple isolates. This CL skips this test
configuration.

Original change's description:
> [wasm] Lazy compilation after deserialization
>
> The serialization format contains one boolean flag per function which
> specifies whether the function code exists in the serialized module or
> not. With this CL, this boolean flag is extended to a three-value flag
> which indicates whether the function exists, and if not, whether the
> function was executed before serialization. This information can then be
> used upon deserialization to compile only those functions that were
> executed before serialization.
>
> Design doc: https://docs.google.com/document/d/1U3uqq4njqLqFhr1G2sU_bmpQxY-3bvfG55udSb-DvA4/edit?usp=sharing
>
> Bug: v8:12281

Change-Id: I36ce90b37736172aa01c47ab04e154ec8ea2d8aa
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3380590
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78564}
2022-01-11 13:13:56 +00:00
..
baseline [liftoff] Allow bailout for missing ARMv7 2022-01-07 16:50:55 +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 [ext-code-space][cleanup] Remove CodeDataContainer table 2021-12-16 17:32:39 +00:00
c-api.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
code-space-access.cc [wasm] Unconditionally allocate a protection key 2021-12-06 22:13:26 +00:00
code-space-access.h Reland "Reland: [wasm] Check correctness of thread-local write protection" 2021-08-11 16:48:02 +00:00
compilation-environment.h Reland "[wasm] Lazy compilation after deserialization" 2022-01-11 13:13:56 +00:00
decoder.h Reland "[wasm] Fast paths in EvaluateInitExpression" 2022-01-10 10:19:01 +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 Reland "[wasm] Fast paths in EvaluateInitExpression" 2022-01-10 10:19:01 +00:00
function-body-decoder.cc Reland "[wasm] Fast paths in EvaluateInitExpression" 2022-01-10 10:19:01 +00:00
function-body-decoder.h [wasm] Remove redundant inline annotations 2021-06-11 11:09:43 +00:00
function-compiler.cc [ext-code-space][cleanup] Remove CodeDataContainer table 2021-12-16 17:32:39 +00:00
function-compiler.h [wasm-gc] Speculative inlining for call_ref (off by default) 2021-10-07 14:56:39 +00:00
graph-builder-interface.cc [wasm] Implement loop peeling 2022-01-05 16:27:23 +00:00
graph-builder-interface.h [wasm] Generate exception handlers in inlined functions 2021-12-16 09:32:35 +00:00
init-expr-interface.cc [wasm] Refactoring ahead of element segment changes 2022-01-04 09:59:56 +00:00
init-expr-interface.h [wasm] Refactoring ahead of element segment changes 2022-01-04 09:59:56 +00:00
jump-table-assembler.cc [ext-code-space] Rename InstructionStream to OffHeapInstructionStream 2021-12-02 11:05:32 +00:00
jump-table-assembler.h s390: [liftoff] Fix jump table patching 2021-10-10 18:05:38 +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] Initialize memory protection key permissions 2021-12-20 13:58:33 +00:00
memory-protection-key.h [wasm] Initialize memory protection key permissions 2021-12-20 13:58:33 +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 Reland "[wasm] Lazy compilation after deserialization" 2022-01-11 13:13:56 +00:00
module-compiler.h [compiler-dispatcher] Enqueue tasks for non-eager inner funcs 2021-12-01 13:14:09 +00:00
module-decoder.cc Reland "[wasm] Fast paths in EvaluateInitExpression" 2022-01-10 10:19:01 +00:00
module-decoder.h Reland "[wasm] Refactor initializer expression handling" 2021-06-30 21:33:46 +00:00
module-instantiate.cc [wasm] Add Suspender.suspendOnReturnedPromise 2022-01-11 11:31:36 +00:00
module-instantiate.h [wasm] Unify treatment of expressions in elem. segments 2022-01-04 12:36:07 +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
stacks.h [wasm] Mark roots for stack switching 2021-12-08 11:36:27 +00:00
streaming-decoder.cc [wasm][turbofan] Use function name if available 2021-12-20 12:01:42 +00:00
streaming-decoder.h Allow compiled module invalidation at WasmStreaming::Finish() 2021-11-23 16:05:34 +00:00
struct-types.h [wasm-gc][ic] Support WasmObjects in LoadIC 2021-05-26 17:49:49 +00:00
sync-streaming-decoder.cc Allow compiled module invalidation at WasmStreaming::Finish() 2021-11-23 16:05:34 +00:00
value-type.cc [wasm] Move ValueKind out of ValueType 2021-02-22 10:52:50 +00:00
value-type.h [wasm] A few small cleanups 2021-09-20 09:02:17 +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 [wasm] Do not count jump table size twice 2022-01-05 13:38:36 +00:00
wasm-code-manager.h Reland "[wasm] Lazy compilation after deserialization" 2022-01-11 13:13:56 +00:00
wasm-constants.h [wasm] Remove --experimental-wasm-reftypes flag 2021-12-13 14:29:15 +00:00
wasm-debug.cc [cleanup] Rename NameSectionKindCode fields to avoid shadowing 2021-09-24 14:38:47 +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] Initialize memory protection key permissions 2021-12-20 13:58:33 +00:00
wasm-engine.h [wasm] New flags for tracing compilation times 2021-10-14 13:47:28 +00:00
wasm-external-refs.cc AIX: workaround the aix FP glibc bug 2021-11-16 03:23:24 +00:00
wasm-external-refs.h [wasm-gc] Skip array.copy if length == 0 2021-09-30 13:23:11 +00:00
wasm-feature-flags.h [wasm] Remove --experimental-wasm-reftypes flag 2021-12-13 14:29:15 +00:00
wasm-features.cc [wasm] Remove --experimental-wasm-reftypes flag 2021-12-13 14:29:15 +00:00
wasm-features.h [wasm] Remove --experimental-wasm-reftypes flag 2021-12-13 14:29:15 +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][fuzzer] Complex init. expressions in JS testcase 2021-11-05 12:17:48 +00:00
wasm-init-expr.h [wasm][fuzzer] Complex init. expressions in JS testcase 2021-11-05 12:17:48 +00:00
wasm-js.cc [wasm] Add Suspender.suspendOnReturnedPromise 2022-01-11 11:31:36 +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] Remove --experimental-wasm-reftypes flag 2021-12-13 14:29:15 +00:00
wasm-linkage.h [LOONG64] Add LoongArch64 backend 2021-08-16 13:05:19 +00:00
wasm-module-builder.cc [wasm] Remove --experimental-wasm-reftypes flag 2021-12-13 14:29:15 +00:00
wasm-module-builder.h [wasm][fuzzer] Complex init. expressions in JS testcase 2021-11-05 12:17:48 +00:00
wasm-module-sourcemap.cc Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
wasm-module-sourcemap.h Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
wasm-module.cc [wasm] Introduce 'funcref' for the type reflection proposal 2021-12-10 20:09:12 +00:00
wasm-module.h [wasm] Unify treatment of expressions in elem. segments 2022-01-04 12:36:07 +00:00
wasm-objects-inl.h V8 Sandbox rebranding 2021-12-15 17:09:36 +00:00
wasm-objects.cc [wasm] Add Suspender.suspendOnReturnedPromise 2022-01-11 11:31:36 +00:00
wasm-objects.h [wasm] Add Suspender.suspendOnReturnedPromise 2022-01-11 11:31:36 +00:00
wasm-objects.tq [wasm] Add Suspender.suspendOnReturnedPromise 2022-01-11 11:31:36 +00:00
wasm-opcodes-inl.h [relaxed-simd][wasm] Prototype relaxed int-float trunc 2021-10-28 17:03:30 +00:00
wasm-opcodes.cc [wasm] Remove multivalue feature flag 2021-04-13 06:35:34 +00:00
wasm-opcodes.h [relaxed-simd][wasm] Prototype relaxed int-float trunc 2021-10-28 17:03:30 +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 Reland "[wasm] Lazy compilation after deserialization" 2022-01-11 13:13:56 +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-gc] Implement nominal types 2021-09-15 13:43:39 +00:00
wasm-subtyping.h [wasm-gc] Implement nominal types 2021-09-15 13:43:39 +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