v8/test
Clemens Backes 7637ed59c9 [wasm][debug] Fully tier up on Debugger.disable
When the last debugger is disabled, we tier up the module to TurboFan.
Doing this in the background creates problems with profiling, where the
debugger is disabled before starting to profile, in order to guarantee
profiling of top-tier code.

Hence this CL changes the logic such that we only return from the
{TierUpAllModulesPerIsolate} methods once tier up is complete. Since
the DevTools frontend disables all debuggers before starting a profile,
this will ensure that all new calls execute TurboFan code.
Because of this change, the {TriggerRecompilation} method is renamed to
{RecompileForTiering}.

The test cases stay unchanged (do a busy wait until tier up is done),
because in the multi-isolates tests it is not guaranteed that tier up is
complete after disabling a single debugger.

R=thibaudm@chromium.org

Bug: v8:10580
Change-Id: I75c4b97825f856f562cfa656c11293d3b964898b
Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_rel
Cq-Include-Trybots: luci.v8.try:v8_linux64_tsan_isolates_rel_ng
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2232539
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68212}
2020-06-05 15:30:16 +00:00
..
benchmarks [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
cctest [wasm][debug] Fully tier up on Debugger.disable 2020-06-05 15:30:16 +00:00
common [wasm][interpreter] Remove threads support 2020-06-05 12:30:26 +00:00
debugger [wasm] Add type immediate to RefNull and RefIsNull instructions 2020-06-03 13:27:27 +00:00
debugging [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
fuzzer [wasm-simd][fuzzer] Add s128 bitwise ops 2020-06-03 17:58:48 +00:00
fuzzilli Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
inspector Revert "[flags] warn about contradictory flags" 2020-06-04 10:20:05 +00:00
intl Reland "Roll ICU from 65.1 to 67.1 & correct tests" 2020-06-03 22:28:33 +00:00
js-perf-test [js-perf-test] Benchmark for sloppy equality 2020-05-04 08:29:00 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [wasm] Add indentation and function names when tracing function calls 2020-06-05 10:54:15 +00:00
mjsunit [wasm] Declare functions in globals and exports 2020-06-05 05:51:45 +00:00
mkgrokdump Revert "[heap] Make ReadOnlySpace use bump pointer allocation" 2020-06-05 15:24:46 +00:00
mozilla [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
test262 Reland "Roll ICU from 65.1 to 67.1 & correct tests" 2020-06-03 22:28:33 +00:00
torque [torque] Generate better code when using & operator on bitfields 2020-05-22 21:59:06 +00:00
unittests cppgc: Add AllocationObserver::ResetAllocatedObjectSize 2020-06-05 12:35:45 +00:00
wasm-api-tests [wasm] Add type immediate to RefNull and RefIsNull instructions 2020-06-03 13:27:27 +00:00
wasm-js [wasm] Update wasm spec tests 2020-05-25 07:59:57 +00:00
wasm-spec-tests [wasm] Declare functions in globals and exports 2020-06-05 05:51:45 +00:00
webkit [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
BUILD.gn Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00