5#ifndef V8_HEAP_MUTABLE_PAGE_METADATA_INL_H_
6#define V8_HEAP_MUTABLE_PAGE_METADATA_INL_H_
47 &(from->external_backing_store_bytes_[
static_cast<int>(type)]), amount);
49 &(to->external_backing_store_bytes_[
static_cast<int>(type)]), amount);
64template <AccessMode mode>
AllocationSpace identity() const
void SetOldGenerationPageFlags(MarkingMode marking_mode, AllocationSpace space)
void DecrementExternalBackingStoreBytes(ExternalBackingStoreType type, size_t amount)
void SetLiveBytes(size_t value)
static V8_INLINE MutablePageMetadata * FromAddress(Address a)
MarkingBitmap * marking_bitmap()
std::atomic< size_t > external_backing_store_bytes_[static_cast< int >(ExternalBackingStoreType::kNumValues)]
void IncrementExternalBackingStoreBytes(ExternalBackingStoreType type, size_t amount)
AllocationSpace owner_identity() const
static void MoveExternalBackingStoreBytes(ExternalBackingStoreType type, MutablePageMetadata *from, MutablePageMetadata *to, size_t amount)
V8_INLINE void SetOldGenerationPageFlags(MarkingMode marking_mode)
static V8_INLINE MutablePageMetadata * FromHeapObject(Tagged< HeapObject > o)
static void MoveExternalBackingStoreBytes(ExternalBackingStoreType type, Space *from, Space *to, size_t amount)
void IncrementExternalBackingStoreBytes(ExternalBackingStoreType type, size_t amount)
void DecrementExternalBackingStoreBytes(ExternalBackingStoreType type, size_t amount)
void CheckedDecrement(std::atomic< T > *number, T amount, std::memory_order order=std::memory_order_seq_cst)
void CheckedIncrement(std::atomic< T > *number, T amount, std::memory_order order=std::memory_order_seq_cst)
#define DCHECK_NOT_NULL(val)
#define DCHECK_EQ(v1, v2)