v8
10.1.124 (node 18.2.0)
V8 is Google's open source JavaScript engine
|
#include <write-barrier.h>
Data Structures | |
struct | Params |
Public Types | |
enum class | Type : uint8_t { kNone , kMarking , kGenerational } |
enum class | ValueMode { kValuePresent , kNoValuePresent } |
Public Member Functions | |
template<typename HeapHandleCallback > | |
WriteBarrier::Type | GetWriteBarrierType (const void *slot, WriteBarrier::Params ¶ms, HeapHandleCallback callback) |
Static Public Member Functions | |
static V8_INLINE Type | GetWriteBarrierType (const void *slot, const void *value, Params ¶ms) |
template<typename HeapHandleCallback > | |
static V8_INLINE Type | GetWriteBarrierType (const void *slot, Params ¶ms, HeapHandleCallback callback) |
static V8_INLINE Type | GetWriteBarrierType (const void *value, Params ¶ms) |
static V8_INLINE void | DijkstraMarkingBarrier (const Params ¶ms, const void *object) |
static V8_INLINE void | DijkstraMarkingBarrierRange (const Params ¶ms, const void *first_element, size_t element_size, size_t number_of_elements, TraceCallback trace_callback) |
static V8_INLINE void | SteeleMarkingBarrier (const Params ¶ms, const void *object) |
static V8_INLINE void | GenerationalBarrier (const Params ¶ms, const void *slot) |
static V8_INLINE void | GenerationalBarrierForSourceObject (const Params ¶ms, const void *inner_pointer) |
static void | CheckParams (Type expected_type, const Params ¶ms) |
static bool | IsAnyIncrementalOrConcurrentMarking () |
Definition at line 35 of file write-barrier.h.
|
strong |
Enumerator | |
---|---|
kNone | |
kMarking | |
kGenerational |
Definition at line 37 of file write-barrier.h.
|
strong |
Enumerator | |
---|---|
kValuePresent | |
kNoValuePresent |
Definition at line 58 of file write-barrier.h.
Definition at line 95 of file write-barrier.h.
Referenced by WriteBarrier::DijkstraMarkingBarrier(), WriteBarrier::DijkstraMarkingBarrierRange(), and WriteBarrier::SteeleMarkingBarrier().
|
static |
Definition at line 365 of file write-barrier.h.
References WriteBarrier::CheckParams(), and WriteBarrier::kMarking.
Referenced by DijkstraWriteBarrierPolicy::AssigningBarrier(), and HeapConsistency::DijkstraWriteBarrier().
|
static |
Definition at line 377 of file write-barrier.h.
References WriteBarrier::CheckParams(), WriteBarrier::Params::heap, and WriteBarrier::kMarking.
Referenced by HeapConsistency::DijkstraWriteBarrierRange().
Definition at line 86 of file write-barrier.h.
Referenced by DijkstraWriteBarrierPolicy::AssigningBarrier(), and HeapConsistency::GenerationalBarrier().
|
inlinestatic |
Definition at line 88 of file write-barrier.h.
Referenced by HeapConsistency::GenerationalBarrierForSourceObject().
|
static |
Definition at line 342 of file write-barrier.h.
References WriteBarrierTypeForNonCagedHeapPolicy::Get(), and WriteBarrier::kValuePresent.
Referenced by DijkstraWriteBarrierPolicy::AssigningBarrier(), and HeapConsistency::GetWriteBarrierType().
|
static |
WriteBarrier::Type GetWriteBarrierType | ( | const void * | slot, |
WriteBarrier::Params & | params, | ||
HeapHandleCallback | callback | ||
) |
Definition at line 350 of file write-barrier.h.
References WriteBarrier::kNoValuePresent.
|
static |
Definition at line 358 of file write-barrier.h.
References WriteBarrierTypeForNonCagedHeapPolicy::Get(), and WriteBarrier::kValuePresent.
Referenced by HeapConsistency::GetWriteBarrierType().
|
inlinestatic |
Definition at line 101 of file write-barrier.h.
References AtomicEntryFlag::MightBeEntered().
Referenced by WriteBarrierTypeForNonCagedHeapPolicy::ValueModeDispatch< WriteBarrier::ValueMode::kNoValuePresent >::Get(), and WriteBarrierTypeForNonCagedHeapPolicy::ValueModeDispatch< WriteBarrier::ValueMode::kValuePresent >::Get().
|
static |
Definition at line 388 of file write-barrier.h.
References WriteBarrier::CheckParams(), and WriteBarrier::kMarking.
Referenced by HeapConsistency::SteeleWriteBarrier().