v8/test
Andreas Haas 6160fe9f40 [wasm][debug] Do lazy compilation after leaving debugging
Currently V8 recompiles all functions of a WebAssembly module with
TurboFan when a debugging session ends. This is outdated behavior and
causes OOMs for developers. With this CL all debugging code gets removed
when a debugging session ends, and functions get re-compiled lazily.

This behavior may lead to slightly worse performance for some time after
debugging finishes, but it avoids OOMs, and developers are used to
debugging code being not as performant as production code.

R=clemensb@chromium.org

Bug: chromium:1372621, v8:13224
Change-Id: I9fc97408ef92ad5564f2a9743213762226c2b25e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4055923
Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84509}
2022-11-28 13:46: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 [turboshaft] Implement SignedMulOverflow64 2022-11-25 15:44:06 +00:00
common [wasm][fuzzer] Implement default ref arguments 2022-11-21 11:52:56 +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] Re-enable tail-call fuzzing 2022-11-21 14:34:07 +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] Migrate to ICU 72 2022-11-21 07:04:20 +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 [wasm][debug] Do lazy compilation after leaving debugging 2022-11-28 13:46:09 +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 [regexp] Support properties of strings in unicode sets mode 2022-11-25 10:29:16 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests [heap] Run unittests for MinorMC variant 2022-11-25 19:47:56 +00:00
wasm-api-tests [wasm] Clean up decoder constructor(s) 2022-11-21 10:42:57 +00:00
wasm-js [wasm] Update spec tests 2022-11-22 12:00:15 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-11-22 12:00:15 +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