5#ifndef V8_HEAP_CPPGC_GC_INFO_TABLE_H_
6#define V8_HEAP_CPPGC_GC_INFO_TABLE_H_
83 size_t MaxTableSize()
const;
85 void CheckMemoryIsZeroed(uintptr_t*
base,
size_t len);
116 return Get().GCInfoFromIndex(index);
const GCInfo & GCInfoFromIndex(GCInfoIndex index) const
FatalOutOfMemoryHandler & oom_handler_
GCInfoIndex NumberOfGCInfos() const
GCInfo & TableSlotForTesting(GCInfoIndex index)
PageAllocator & allocator() const
uint8_t * read_only_table_end_
GCInfoTable & operator=(const GCInfoTable &)=delete
GCInfoIndex LimitForTesting() const
PageAllocator & page_allocator_
v8::base::Mutex table_mutex_
GCInfoTable(const GCInfoTable &)=delete
GlobalGCInfoTable(const GlobalGCInfoTable &)=delete
static const GCInfo & GCInfoFromIndex(GCInfoIndex index)
static const GCInfoTable & Get()
GlobalGCInfoTable & operator=(const GlobalGCInfoTable &)=delete
static GCInfoTable * global_table_
static GCInfoTable & GetMutable()
cppgc::PageAllocator * page_allocator_
void(*)(void *) FinalizationCallback
HeapObjectName(*)(const void *, HeapObjectNameForUnnamedObject) NameCallback
void(*)(Visitor *visitor, const void *object) TraceCallback
SourcePositionTable *const table_
#define DCHECK_GE(v1, v2)
#define DCHECK(condition)
#define DCHECK_LT(v1, v2)
#define DISALLOW_NEW_AND_DELETE()
FinalizationCallback finalize
constexpr GCInfo(FinalizationCallback finalize, TraceCallback trace, NameCallback name)