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
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
fuzzer [wasm][fuzzer] Temporarily disable gc fuzzing 2022-01-31 13:57:57 +00:00
fuzzilli
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
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
BUILD.gn
OWNERS