8fa1da43af
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} |
||
---|---|---|
.. | ||
benchmarks | ||
bigint | ||
cctest | ||
common | ||
debugger | ||
debugging | ||
fuzzer | ||
fuzzilli | ||
inspector | ||
intl | ||
js-perf-test | ||
memory | ||
message | ||
mjsunit | ||
mkgrokdump | ||
mozilla | ||
test262 | ||
torque | ||
unittests | ||
wasm-api-tests | ||
wasm-js | ||
wasm-spec-tests | ||
webkit | ||
BUILD.gn | ||
OWNERS |