v8/include/cppgc/internal
Omer Katz fe5f67e9b5 cppgc: Add checks and locks to (Weak)CrossThreadPersistents
This CL adds missing locks to the PersistentRegions for
(Weak)CrossThreadPersistents.
To make sure no locks are missed in the future, this CL also splits
PersistentRegion and introduces CrossThreadPersistentRegion that checks
whether a lock is taken whenever it is accessed.

Bug: chromium:1056170
Change-Id: Iaaef4a28af0f02bcb896706e9abf1ee5ad2ee1e1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2737299
Commit-Queue: Omer Katz <omerkatz@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73264}
2021-03-08 14:01:13 +00:00
..
api-constants.h cppgc: Mark object as constructed using std::atomic::fetch_or 2020-11-11 17:30:18 +00:00
atomic-entry-flag.h cppgc: Add write barrier 2020-06-02 18:03:35 +00:00
caged-heap-local-data.h cppgc: Avoid dispatching write barrier during atomic pause 2021-02-08 12:56:09 +00:00
compiler-specific.h cppgc: Add initial implementation of young generation 2020-06-17 06:48:10 +00:00
finalizer-trait.h cppgc: Add public target to build against 2020-04-21 12:48:23 +00:00
gc-info.h cppgc: Add naming infrastructure 2020-10-08 12:25:21 +00:00
logging.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
name-trait.h cppgc: Fix compile-time typename for release builds 2020-10-09 09:33:02 +00:00
persistent-node.h cppgc: Add checks and locks to (Weak)CrossThreadPersistents 2021-03-08 14:01:13 +00:00
pointer-policies.h cppgc: Add checks and locks to (Weak)CrossThreadPersistents 2021-03-08 14:01:13 +00:00
prefinalizer-handler.h cppgc: Typo and signature fix 2020-09-02 07:34:20 +00:00
write-barrier.h cppgc: Implement process-global state accessors. 2021-02-17 22:37:24 +00:00