v8/test
Nikolaos Papaspyrou 9d3d5f224c heap: Refactor sweeping finalization for young GC
Before a young GC, the scavenger finalizes a pending full GC sweeping,
in case there are no more running sweeping jobs, to avoid unnecessarily
pausing sweeping and then resuming it.

This CL moves this sweeping finalization from
ScavengerCollector::CollectGarbage to Heap::CompleteSweepingYoung, so
that it is also performed for the minor mark-compactor and that sweeping
is correctly attributed to the previous full GC cycle (instead of the
beginning young cycle). Furthermore, it also finalizes CppGC sweeping
if there are no more running sweeping jobs.

Bug: chromium:1154636
Change-Id: Ic9ba4803f49db32c0a539f080329f012859bc8bc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3508011
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Nico Hartmann <nicohartmann@chromium.org>
Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org>
Cr-Commit-Position: refs/heads/main@{#79407}
2022-03-08 16:48:43 +00:00
..
benchmarks [tests] Skip slow tests on certain configurations 2022-01-31 13:52:22 +00:00
bigint
cctest heap: Refactor sweeping finalization for young GC 2022-03-08 16:48:43 +00:00
common [wasm-gc] Merge anyref and externref 2022-03-01 22:12:59 +00:00
debugger Revert "[turbofan] Making OSR concurrent" 2022-02-21 14:02:43 +00:00
debugging
fuzzer [wasm] Implement the Extended Constants proposal 2022-03-04 08:49:52 +00:00
fuzzilli
inspector [maglev] Initial Maglev commit 2022-02-24 09:50:50 +00:00
intl [intl] Removed shipped flag 2022-03-08 07:06:23 +00:00
js-perf-test [js-perf-test] Properly create packed arrays in Array tests 2022-02-09 07:31:21 +00:00
memory
message [test] Pretty print object properties on assert failure 2022-03-04 14:30:51 +00:00
mjsunit [maglev] Implement StoreField 2022-03-08 15:09:53 +00:00
mkgrokdump [heap] Add flag for disabling map space 2022-02-18 09:03:07 +00:00
mozilla [test] skip mozilla/ecma/Array/15.4.4.5-3 (flaky) 2022-02-24 09:23:01 +00:00
test262 [intl] Removed shipped flag 2022-03-08 07:06:23 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests heap: Refactor sweeping finalization for young GC 2022-03-08 16:48:43 +00:00
wasm-api-tests [wasm-gc] Merge anyref and externref 2022-03-01 22:12:59 +00:00
wasm-js [wasm] Update spec tests 2022-02-10 13:15:08 +00:00
wasm-spec-tests [wasm] Update spec tests 2022-02-10 13:15:08 +00:00
webkit [test] Disable failing MSVC test 2021-12-01 15:51:59 +00:00
BUILD.gn
OWNERS