v8/test
Leszek Swirski 8fa1da43af [deoptimizer] Remove deoptimized code list
The deoptimized code list is inserted into when walking a native context
to find Code objects marked for deoptimization, and is then only used
for two purposes:

  1. Looking up lazy deoptimizing code objects by PC, and
  2. Counting deoptimizing code that's not marked for deoptimization.

Point 1 is slow, as it is a linked list traversal, and is made slightly
slower by the CodeT refactoring which adds another layer of indirection
to the list. The existing Isolate::FindCodeObject approach is faster,
and is already used in the deoptimizer for Code objects not found in the
list, in particular all eager deopts.

The careful reader will notice that point 2 results in a count that's
always zero, since the count excludes exactly those code objects which
are added to the list (ones marked for deopt). Indeed, all uses (which
were all in tests) were verying only that it is equal to zero.

So, we can remove this deoptimized code list entirely.

Change-Id: I352e77b1df83260a30464dbac7f268484211b2e3
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4030582
Auto-Submit: Leszek Swirski <leszeks@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84325}
2022-11-17 13:32:17 +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 Fix cctest build in Chromium with v8_use_perfetto=true 2022-11-17 12:59:57 +00:00
common [wasm][cleanup] Pass ModuleWireBytes by value 2022-11-10 12:17:39 +00:00
debugger [debug] Re-use block lists across multiple local debug-evaluates 2022-10-13 07:44:59 +00:00
debugging [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
fuzzer [wasm] Enable wasm-gc for fuzzers 2022-11-16 20:41:36 +00:00
fuzzilli [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
inspector [heap] Refactor the stack object 2022-11-16 16:21:50 +00:00
intl [intl] Enhance Date parser to take Unicode SPACE 2022-11-16 18:00:56 +00:00
js-perf-test [js-perf-test] Reduce input sizes for small BigInts 2022-10-06 14:23:53 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message Resolved an issue where an earlier error was not reported first in certain cases 2022-11-11 13:43:32 +00:00
mjsunit [runtime] Always succeed rewriting SameValue to non-config/writable prop 2022-11-17 11:45:11 +00:00
mkgrokdump [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
mozilla [mips32] Delete mips32 from v8 2022-09-13 07:54:54 +00:00
test262 [Temporal] Sync to PR2395 Address calendar case sensitivity 2022-11-04 22:11:00 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests [deoptimizer] Remove deoptimized code list 2022-11-17 13:32:17 +00:00
wasm-api-tests [heap] Refactor the stack object 2022-11-16 16:21:50 +00:00
wasm-js [wasm] Update spec tests 2022-10-24 14:27:58 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-10-24 14:27:58 +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