v8/test/unittests/heap
Olivier Flückiger a2f63f1886 [gc][static-roots] Don't access markbits on R/O pages
Markbits on read only pages are initialized BLACK and never change. For
any practical purposes they are unused.

This CL prevents any access to the markbits of these pages. This is a
precursor to removing them entirely from the page to make room for
static roots.

Bug: v8:13466
Change-Id: I61d3f6d9bbca750d0f34475859b34ff44f7fec1e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4212397
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Auto-Submit: Olivier Flückiger <olivf@chromium.org>
Commit-Queue: Olivier Flückiger <olivf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#85665}
2023-02-06 09:36:57 +00:00
..
base cppgc: young-gen: Reuse SlotSet. 2022-10-06 09:23:01 +00:00
cppgc cppgc: Fix CombinedWriteBarrierSlow() 2023-02-02 13:38:39 +00:00
cppgc-js [heap] Merge mechanisms for disabling CSS 2023-01-02 16:51:48 +00:00
allocation-observer-unittest.cc Revert "Reland "[heap] Invoke allocation observers before limiting the LAB"" 2022-11-17 23:05:37 +00:00
bitmap-test-utils.h [heap] Relax accessing markbits in ranges. 2019-02-25 15:28:41 +00:00
bitmap-unittest.cc [heap] Fix an out-of-bounds access in the marking bitmap 2020-04-20 09:07:57 +00:00
code-object-registry-unittest.cc Reland "[heap] Sweep code pages on the background thread" 2022-06-22 07:59:18 +00:00
conservative-stack-visitor-unittest.cc [heap] Fix saving the callee-saved registers on stack 2023-01-19 12:29:05 +00:00
gc-idle-time-handler-unittest.cc Reland "Fix -Wimplicit-int-float-conversions." 2021-06-29 16:36:18 +00:00
gc-tracer-unittest.cc [heap] Delay remembered set filtering to next GC marking phase 2023-01-31 11:37:46 +00:00
global-handles-unittest.cc [api, heap] Avoid deprecated usage of EmbedderHeapTracer 2022-12-16 12:19:10 +00:00
global-safepoint-unittest.cc [heap] Fix remaining test failures with --shared-heap 2022-10-05 08:30:26 +00:00
heap-controller-unittest.cc [cleanup] Replace all remaining Min/Max uses with std::min/max 2020-11-24 17:32:01 +00:00
heap-unittest.cc Reland "[heap] Iterate promoted pages during sweeping" 2023-01-12 12:35:19 +00:00
heap-utils.cc [heap] Convert unittest to avoid using deprecated APIs 2022-12-20 08:12:07 +00:00
heap-utils.h [api, heap, handles] Remove deprecated EmbedderHeapTracer 2023-01-02 15:17:40 +00:00
index-generator-unittest.cc [Heap]: Implement IndexGenerator for Jobs use cases. 2020-09-11 19:25:33 +00:00
lab-unittest.cc [heap] Add Heap::NotifyObjectSizeChange for right-trimming 2022-04-27 08:01:24 +00:00
list-unittest.cc [heap] Make Heap::Contains const 2020-05-13 13:19:22 +00:00
local-factory-unittest.cc [heap] Use v8_flags for accessing flag values 2022-09-05 10:59:05 +00:00
local-handles-unittest.cc [test] Migrate cctest/test-local-handles to unittests/ 2022-08-15 16:51:26 +00:00
local-heap-unittest.cc [heap] Introduce shared marking in the C++ marking barrier 2022-11-11 11:03:42 +00:00
marking-inner-pointer-resolution-unittest.cc [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
marking-unittest.cc Move remaining files in src/ 2019-05-24 18:24:36 +00:00
marking-worklist-unittest.cc [gc][static-roots] Don't access markbits on R/O pages 2023-02-06 09:36:57 +00:00
memory-reducer-unittest.cc [heap] Introduce getters for MemoryReducer::State 2023-01-23 07:54:44 +00:00
object-start-bitmap-unittest.cc heap: Fix and clean up object start bitmap 2022-05-31 16:37:08 +00:00
object-stats-unittest.cc Move more relevant files to src/objects 2019-05-23 08:52:30 +00:00
page-promotion-unittest.cc [heap] Move marking states to heap. 2022-10-05 16:22:57 +00:00
persistent-handles-unittest.cc [test] Move cctest/test-persistent-handles to 2022-06-27 11:30:34 +00:00
progressbar-unittest.cc heap: Fix TSAN race when setting a flag after page initialization 2021-08-19 10:28:57 +00:00
safepoint-unittest.cc [heap] Rename safepoint scopes 2022-10-25 16:32:55 +00:00
shared-heap-unittest.cc Revert "[heap] Ignore client isolates that are tearing down" 2022-12-15 21:24:09 +00:00
slot-set-unittest.cc cppgc: young-gen: Reuse SlotSet. 2022-10-06 09:23:01 +00:00
spaces-unittest.cc [heap] Add Heap::NotifyObjectSizeChange for right-trimming 2022-04-27 08:01:24 +00:00
unmapper-unittest.cc [heap] Enable concurrent sweeping for MinorMC 2022-10-18 10:26:26 +00:00