v8/include/cppgc
Omer Katz e18591dfb4 cppgc: Check AssignUnsafe use cases
Assert that the lock is help whenever AssignUnsafe is called.
LazyMutex::AssertHeld resolves to a DCHECK so this should not
regress production performance (other than the call itself
that might not be inlined).

Bug: chromium:1056170
Change-Id: Ic2005d180e6960c24dff7743aa3e0d5e57a63d80
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2716286
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Omer Katz <omerkatz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73000}
2021-02-24 12:13:21 +00:00
..
internal cppgc: Check AssignUnsafe use cases 2021-02-24 12:13:21 +00:00
allocation.h cppgc: MakeGarbageCollected: Move static asserts to implementation 2021-01-25 12:17:46 +00:00
common.h cppgc: Random style fixes and comment updates 2021-01-26 22:43:44 +00:00
cross-thread-persistent.h cppgc: Check AssignUnsafe use cases 2021-02-24 12:13:21 +00:00
custom-space.h cppgc: Fix CustomSpace trait 2021-01-27 16:48:28 +00:00
default-platform.h cppgc: Fix and merge cppgc samples 2020-11-26 09:12:35 +00:00
DEPS cppgc: Use libplatform as default platform 2020-10-08 18:16:52 +00:00
ephemeron-pair.h cppgc: Check ephemerons for unset key 2021-02-12 16:55:00 +00:00
garbage-collected.h cppgc: Improve API documentation 2020-10-19 09:36:18 +00:00
heap-consistency.h cppgc: Fix low-level write barriers 2021-02-05 15:22:04 +00:00
heap-state.h cppgc: Fix low-level write barriers 2021-02-05 15:22:04 +00:00
heap-statistics.h cppgc: Rename allocated_size to physical_size in statistics 2021-02-11 17:44:35 +00:00
heap.h cppgc: Allow to disable incremental marking/sweeping 2020-12-10 15:59:38 +00:00
liveness-broker.h cppgc: Add WeakMember handler to LivenessBroker 2021-01-27 00:33:09 +00:00
macros.h cppgc: Add testing API structure 2021-02-03 16:00:37 +00:00
member.h cppgc: Fix low-level write barriers 2021-02-05 15:22:04 +00:00
name-provider.h cppgc: Add naming infrastructure 2020-10-08 12:25:21 +00:00
object-size-trait.h cppgc: Fix compilation error on older gcc compilers 2021-01-22 23:13:30 +00:00
OWNERS cppgc: Make bikineev and omerkatz owners of include/cppgc 2020-08-28 08:05:30 +00:00
persistent.h cppgc: Fix low-level write barriers 2021-02-05 15:22:04 +00:00
platform.h cppgc: Allow multiple calls to InitializeProcess/ShutdownProcess 2021-02-10 17:02:20 +00:00
prefinalizer.h cppgc: Fix IsGarabgeCollected trait and friends 2021-01-22 16:20:46 +00:00
process-heap-statistics.h cppgc: Implement process-global state accessors. 2021-02-17 22:37:24 +00:00
README.md
sentinel-pointer.h cppgc: Fix low-level write barriers 2021-02-05 15:22:04 +00:00
source-location.h cppgc: Improve API documentation 2020-10-19 09:36:18 +00:00
testing.h cppgc: Remove explit setter to enable testing features 2021-02-11 17:23:02 +00:00
trace-trait.h cppgc: Fix IsGarabgeCollected trait and friends 2021-01-22 16:20:46 +00:00
type-traits.h cppgc: Fix GC traits and add documentation 2021-01-22 20:27:09 +00:00
visitor.h cppgc: Remove ephemeron filter 2021-02-17 16:15:05 +00:00

C++ Garbage Collection

This directory provides an open-source garbage collection library for C++.

The library is under construction, meaning that all APIs in this directory are incomplete and considered unstable and should not be used.