v8/include/cppgc/internal
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
..
api-constants.h cppgc: Adjust assert ensuring Oilpan generally satisfies alignof(std::max_align_t) 2021-10-18 13:21:04 +00:00
atomic-entry-flag.h cppgc: Add write barrier 2020-06-02 18:03:35 +00:00
caged-heap-local-data.h cppgc: Fix compilation of young generation 2021-09-01 07:24:23 +00:00
compiler-specific.h [cleanup][include] Remove redundant NOLINT annotations 2021-04-30 16:22:19 +00:00
finalizer-trait.h cppgc: Fix gcc compilation of FinalizerTrait 2021-08-16 09:01:05 +00:00
gc-info.h cppgc: Fix GCInfo creation 2021-09-07 12:51:20 +00:00
logging.h cppgc: Fix "#if" directive in logging.h 2021-11-23 13:24:29 +00:00
name-trait.h cppgc: Optimize GCInfo setup 2021-08-14 11:16:11 +00:00
persistent-node.h cppgc: Persistent: Check thread usage on slow path 2021-12-07 14:32:47 +00:00
pointer-policies.h cppgc: Move interesting checks behind DEBUG 2021-10-26 07:37:11 +00:00
prefinalizer-handler.h cppgc: Typo and signature fix 2020-09-02 07:34:20 +00:00
write-barrier.h cppgc: Add early bailout to write barrier 2021-09-23 08:17:58 +00:00