v8/test
Andreas Haas 60d9dd3563 [d8] Make the profileEnd callback isolate-specific
The OnProfileEndListener callback has to be reset before the isolate
dies to avoid a use-after-free when the Global which holds the callback
gets released.

Drive-by change: make the OnProfileEndListener callback
isolate-specific. At the moment a `profileEnd` call in IsolateA could
trigger the OnProfileEndListener callback of IsolateB, which could
cause all kinds of data races (the callback would access the isolate,
but the isolate is not supposed to get accessed by multiple threads
concurrently. With this CL there is one callback per isolate.

R=clemensb@chromium.org

Bug: chromium:1395237
Change-Id: Ifaa5b883a231f5519a3bfeb6187fb7d8faa02b02
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4076465
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84646}
2022-12-05 13:54:22 +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 [base] Remove OwnedVector::start 2022-12-05 12:37:02 +00:00
common [wasm-gc] Add new br_on_cast variant taking a heap type immediate 2022-12-01 14:38:50 +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] Switch wasm-async fuzzer to Liftoff for reference 2022-12-05 12:53:03 +00:00
fuzzilli [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
inspector [inspector] Pass the Context into terminateExecution 2022-12-01 05:40:05 +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
message Resolved an issue where an earlier error was not reported first in certain cases 2022-11-11 13:43:32 +00:00
mjsunit [d8] Make the profileEnd callback isolate-specific 2022-12-05 13:54:22 +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
unittests [wasm] Revalidate module after streaming error 2022-12-05 10:46:31 +00:00
wasm-api-tests [wasm] Always use the engine allocator for decoded modules 2022-12-02 12:22:06 +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