v8/test/unittests/heap/cppgc
Michael Lippautz 3902ffbba4 cppgc: Persistent: Check thread usage on slow path
Checks whether a Persistent is used from the creation thread on slow
path allocations. In practice, these currently happen every 256
Persistent allocations. This is a best effort check that may help to
flush out issues that are missed with DCHECK builds.

Bug: chromium:1276570
Change-Id: Ia868ca436341b1b5ef427d5b3ec04926c1394e41
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3318658
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78276}
2021-12-07 14:32:47 +00:00
..
allocation-unittest.cc cppgc: Add support for double-word aligned allocations 2021-10-12 13:18:16 +00:00
compactor-unittest.cc cppgc: Gracefully finish running GC on ~Heap 2021-11-17 13:37:32 +00:00
concurrent-marking-unittest.cc cppgc: Cleanups 2021-03-15 08:37:39 +00:00
concurrent-sweeper-unittest.cc cppgc: Remove debugging info from tests 2021-07-21 16:49:31 +00:00
cross-thread-persistent-unittest.cc Migrate CrossThreadPersistent 2020-10-09 14:33:57 +00:00
custom-spaces-unittest.cc cppgc: Add support for double-word aligned allocations 2021-10-12 13:18:16 +00:00
ephemeron-pair-unittest.cc cppgc: Fix marking of ephemerons with keys in construction 2021-10-13 19:05:13 +00:00
explicit-management-unittest.cc cppgc: Returns BasePage::space() as reference 2021-05-26 11:46:10 +00:00
finalizer-trait-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
free-list-unittest.cc cppgc: Cleanups around testing 2021-03-05 17:04:19 +00:00
garbage-collected-unittest.cc cppgc: Force EBO to always work with GCed 2021-11-03 22:23:59 +00:00
gc-info-unittest.cc cppgc: Replace SetUp/TearDown with ctor/dtor 2021-05-03 16:17:36 +00:00
gc-invoker-unittest.cc [test][cppgc] Remove NOLINT because of virtual+override 2021-05-07 08:51:47 +00:00
heap-growing-unittest.cc cppgc, heap: Implement UMA reporting for cppgc library. 2021-05-27 16:02:35 +00:00
heap-object-header-unittest.cc cppgc: Rename HoH methods 2021-05-12 18:54:43 +00:00
heap-page-unittest.cc cppgc: Returns BasePage::space() as reference 2021-05-26 11:46:10 +00:00
heap-registry-unittest.cc cppgc: Improve Member checking 2021-05-17 13:48:26 +00:00
heap-statistics-collector-unittest.cc cppgc: Add support for double-word aligned allocations 2021-10-12 13:18:16 +00:00
heap-unittest.cc cppgc: Allow querying whether sweeping is active on owning thread 2021-11-26 15:51:30 +00:00
incremental-marking-schedule-unittest.cc cppgc: Fix reporting of marked bytes in the atomic pause 2021-02-18 21:52:14 +00:00
liveness-broker-unittest.cc cppgc: LivenessBroker: Treat nullptr as live 2021-08-11 11:59:31 +00:00
logging-unittest.cc cppgc: fix sourceLocation test on gcc 2021-04-23 21:45:24 +00:00
marker-unittest.cc cppgc: Gracefully finish running GC on ~Heap 2021-11-17 13:37:32 +00:00
marking-verifier-unittest.cc cppgc: Add support for young generation only marking verification 2021-10-25 11:16:28 +00:00
marking-visitor-unittest.cc cppgc: Rename HoH methods 2021-05-12 18:54:43 +00:00
member-unittest.cc cppgc: Improve Member checking 2021-05-17 13:48:26 +00:00
metric-recorder-unittest.cc cppgc, heap: Implement UMA reporting for cppgc library. 2021-05-27 16:02:35 +00:00
minor-gc-unittest.cc cppgc: Add support for young generation only marking verification 2021-10-25 11:16:28 +00:00
name-trait-unittest.cc cppgc: NameProvider:GetName() -> NameProvider::GetHumanReadableName() 2021-06-08 15:56:46 +00:00
object-size-trait-unittest.cc cppgc: Introduce ObjectSizeTrait 2021-01-22 20:53:55 +00:00
object-start-bitmap-unittest.cc cppgc: Remove -inl.h files 2020-07-01 08:46:26 +00:00
page-memory-unittest.cc [cppgc][unittests] Only expect guard pages support on 4k platforms. 2021-11-29 10:11:11 +00:00
persistent-family-unittest.cc cppgc: Persistent: Check thread usage on slow path 2021-12-07 14:32:47 +00:00
platform-unittest.cc cppgc-js: Allow custom OOM handling and redirect to V8 handler 2021-08-24 20:21:28 +00:00
prefinalizer-unittest.cc cppgc: Move interesting checks behind DEBUG 2021-10-26 07:37:11 +00:00
run-all-unittests.cc cppgc: Avoid initializing cppgc platform through V8 2021-02-09 08:26:11 +00:00
sanitizer-unittest.cc cppgc: Allow ASAN-safe memset in SetMemoryInaccessible() 2021-05-07 08:14:17 +00:00
source-location-unittest.cc cppgc: Rename unittest files 2020-05-08 08:50:48 +00:00
stack-unittest.cc cppgc: stack unittest: Fix order of attributes 2021-05-06 23:10:17 +00:00
stats-collector-scopes-unittest.cc cppgc: Remove StatsCollector dependency on HeapBase 2021-02-15 17:16:35 +00:00
stats-collector-unittest.cc cppgc: Wire up discarded size 2021-07-12 16:03:50 +00:00
sweeper-unittest.cc cppgc: Allow CrossThreadPersistent to access poisoned memory from GC 2021-07-21 19:11:01 +00:00
test-platform.cc cppgc: Add tracing scopes 2020-11-19 15:48:17 +00:00
test-platform.h [config] Add V8_NODISCARD for Scope classes 2020-11-26 11:08:45 +00:00
testing-unittest.cc cppgc: Implement testing APIs 2021-04-06 13:44:29 +00:00
tests.cc cppgc: Avoid initializing cppgc platform through V8 2021-02-09 08:26:11 +00:00
tests.h Reland "cppgc: Parallel marking in atomic pause" 2021-11-25 19:38:14 +00:00
visitor-unittest.cc cppgc: Another batch of tests 2021-04-22 22:46:58 +00:00
weak-container-unittest.cc cppgc: Fix marked bytes accounting for weak containers 2021-05-18 09:49:12 +00:00
workloads-unittest.cc Reland "cppgc: Fix data race ObjectSizeTrait" 2021-11-29 13:14:25 +00:00
write-barrier-unittest.cc cppgc: Avoid double-accounting live bytes through Steele barrier 2021-05-19 12:53:12 +00:00