v8/test
Leszek Swirski f3a0e8bccf [runtime] Key template object cache on Script
Use Script as the key for the template object cache, instead of the
SharedFunctionInfo. This is because SharedFunctionInfos can be garbage
collected and then later recompiled, which would mean that we break the
spec's expectation that the template object stays constant.

Now the association of cached template object with SharedFunctionInfo is
via the function_literal_id of the SharedFunctionInfo, stored on the
CachedTemplateObject. These are linearly searched, similar to the linear
search over slot ids.

Bug: v8:13190
Change-Id: I3f67811c16ea4cd39c99b2fa034aa7e1f03c171e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3892787
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#83195}
2022-09-14 14:34:09 +00:00
..
benchmarks Re-enable octane/typescript for deopt_fuzzer 2022-09-09 08:34:45 +00:00
bigint [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
cctest [heap] Fix tests for MinorMC 2022-09-14 11:42:38 +00:00
common [wasm-gc] Always use JSToWasmObject at the JS-to-Wasm boundary 2022-09-07 14:36:05 +00:00
debugger [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
debugging [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
fuzzer [regexp] Add v-Flag for Unicode Sets 2022-09-06 17:51:56 +00:00
fuzzilli [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
inspector [cleanup] Remove --stress-opt remnants 2022-08-31 08:37:44 +00:00
intl [intl] Remove incorrect optimization for 0 length string 2022-08-22 18:44:18 +00:00
js-perf-test [turbofan] More benchmarks for BigInt operations 2022-08-17 08:56:08 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
mjsunit [runtime] Key template object cache on Script 2022-09-14 14:34:09 +00:00
mkgrokdump [sandbox] Skip mkgrokdump test in non-sandbox mode 2022-09-08 21:42:16 +00:00
mozilla [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
test262 [Temporal] Fix TimeZone get*Transition 2022-09-13 18:21:57 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests [heap] Fix tests for MinorMC 2022-09-14 11:42:38 +00:00
wasm-api-tests [wasm-gc] Split any and extern type 2022-07-28 13:09:55 +00:00
wasm-js [wasm] Update spec tests 2022-08-11 11:16:17 +00:00
wasm-spec-tests [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
webkit [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
BUILD.gn [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
OWNERS