v8/test
Michael Lippautz 6bb35b8c83 handles: Only reclaim TracedNode during atomic pause
TracedNode is used as backing node for v8::TracedGlobal (with
destructor) and v8::TracedReference (no destructor).

A future change adds concurrent marking for TracedReference which
requires that the node stays around until the atomic pause to avoid
synchronization with the concurrent marker.

This change prepares TracedNode in prolonging the lifetime until the
it is actively cleared ("sweeped") in the atomic pause. This allows
for spuriously keeping alive a TracedNode for an additional GC cycle
in the case the the node was destroyed while the marker is running.

We maintain eager clearing of nodes where possible, i.e., outside of
incremental marking.

Bug: v8:12600
Change-Id: I9688c83a42b70d352c84613485f37242b1b910a6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3436805
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78947}
2022-02-04 14:22:35 +00:00
..
benchmarks [tests] Skip slow tests on certain configurations 2022-01-31 13:52:22 +00:00
bigint [bigint][test] Better random input generation 2021-09-08 15:39:27 +00:00
cctest handles: Only reclaim TracedNode during atomic pause 2022-02-04 14:22:35 +00:00
common [wasm-gc] Remove rtts with depth 2022-01-31 09:55:05 +00:00
debugger Reland "[class] implement reparsing of class instance member initializers" 2022-01-24 16:24:35 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [wasm][fuzzer] Temporarily disable gc fuzzing 2022-01-31 13:57:57 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [inspector] Make inspector tests independent of Debugger.CallFrame.url. 2022-02-02 14:34:08 +00:00
intl [Intl] Part 1 of NumberFormat v3 2022-02-01 02:19:48 +00:00
js-perf-test [js-perf-test] Performance benchmarks for BigInt left and right shift 2021-12-02 14:16:15 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message Reland "[top-level-await] Remove --harmony-top-level-await" 2021-12-06 23:02:33 +00:00
mjsunit [rab / gsab] RAB / GSAB support for TA.p.set 2022-02-04 07:35:46 +00:00
mkgrokdump V8 Sandbox rebranding 2021-12-15 17:09:36 +00:00
mozilla [test] Disable slow mozilla tests on Windows 2022-01-20 13:45:29 +00:00
test262 [rab / gsab] RAB / GSAB support for TA.p.set 2022-02-04 07:35:46 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests [base] Remove TimeTicks::HighResolutionNow 2022-02-04 13:27:14 +00:00
wasm-api-tests [wasm] Deserialization should trigger FinishedTopTierCompilation event 2022-01-21 13:21:36 +00:00
wasm-js [wasm] Update spec tests 2022-01-18 14:44:40 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-01-18 14:44:40 +00:00
webkit [test] Disable failing MSVC test 2021-12-01 15:51:59 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS