v8/test
Mythri A ea55438a53 [sparkplug] Support bytecode / baseline code flushing with sparkplug
Currently with sparkplug we don't flush bytecode / baseline code of
functions that were tiered up to sparkplug. This CL adds the support to
flush baseline code / bytecode of functions that have baseline code too.
This CL:
1. Updates the BodyDescriptor of JSFunction to treat the Code field of
JSFunction as a custom weak pointer where the code is treated as weak if
the bytecode corresponding to this function is old.
2. Updates GC to handle the functions that had a weak code object during
the atomic phase of GC.
3. Updates the check for old bytecode to also consider when there is
baseline code on the function.

This CL doesn't change any heuristics for flushing. The baseline code
will be flushed at the same time as bytecode.

Change-Id: I6b51e06ebadb917b9f4b0f43f2afebd7f64cd26a
Bug: v8:11947
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2992715
Commit-Queue: Mythri Alle <mythria@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75674}
2021-07-12 10:04:17 +00:00
..
benchmarks [test] Mark kraken/audio SLOW only on TSAN 2021-06-30 15:21:55 +00:00
bigint Reland "[bigint] FFT-based multiplication" 2021-07-09 14:22:33 +00:00
cctest [test, heap] Skip tests when shared RO space is disabled 2021-07-09 08:26:14 +00:00
common [wasm][fuzzer] Choose more interesting default parameters 2021-07-07 17:23:50 +00:00
debugger Reland "Reland "Reland "Improve error messages for property access on null/undefined""" 2021-07-08 14:31:27 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [wasm][fuzzer] Fix instantiation in fuzzer 2021-07-12 09:32:56 +00:00
fuzzilli
inspector [inspector] Add throwOnSideEffect to Runtime.callFunctionOn. 2021-07-05 12:53:07 +00:00
intl [intl] Skip intl test on Android 2021-06-24 13:15:53 +00:00
js-perf-test A jump-table implementation for constant case switch statements 2021-06-23 09:26:23 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message Reland "Reland "Reland "Improve error messages for property access on null/undefined""" 2021-07-08 14:31:27 +00:00
mjsunit [sparkplug] Support bytecode / baseline code flushing with sparkplug 2021-07-12 10:04:17 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla Reland "[test] Unmark TSAN tests as SLOW/SKIP" 2021-06-28 10:19:20 +00:00
test262 [test262] Roll test262 2021-06-29 07:35:31 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests cppgc: Remove old unused HeapStatistics APIs 2021-07-09 08:39:24 +00:00
wasm-api-tests [wasm] Make --wasm-trap-handler a d8-only flag 2021-06-30 09:32:55 +00:00
wasm-js [wasm] Update wasm spec tests 2021-07-08 12:46:48 +00:00
wasm-spec-tests [wasm] Update wasm spec tests 2021-07-08 12:46:48 +00:00
webkit Reland "Reland "Reland "Improve error messages for property access on null/undefined""" 2021-07-08 14:31:27 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS