5#ifndef V8_HEAP_CPPGC_HEAP_SPACE_H_
6#define V8_HEAP_CPPGC_HEAP_SPACE_H_
24 using Pages = std::vector<BasePage*>;
38 size_t size()
const {
return pages_.size(); }
49 Pages RemoveAllPages();
98 return From(
const_cast<BaseSpace&
>(space));
123 return From(
const_cast<BaseSpace&
>(space));
BaseSpace & operator=(const BaseSpace &)=delete
const RawHeap * raw_heap() const
const bool is_compactable_
BaseSpace(const BaseSpace &)=delete
Pages::const_iterator const_iterator
std::vector< BasePage * > Pages
bool is_compactable() const
const_iterator end() const
v8::base::Mutex & pages_mutex() const
const_iterator begin() const
v8::base::Mutex pages_mutex_
static const LargePageSpace & From(const BaseSpace &space)
static LargePageSpace & From(BaseSpace &space)
Address Allocate(size_t alloc_size)
void Set(Address ptr, size_t size)
LinearAllocationBuffer current_lab_
static NormalPageSpace & From(BaseSpace &space)
LinearAllocationBuffer & linear_allocation_buffer()
const FreeList & free_list() const
static const NormalPageSpace & From(const BaseSpace &space)
const LinearAllocationBuffer & linear_allocation_buffer() const
too high values may cause the compiler to set high thresholds for inlining to as much as possible avoid inlined allocation of objects that cannot escape trace load stores from virtual maglev objects use TurboFan fast string builder analyze liveness of environment slots and zap dead values trace TurboFan load elimination emit data about basic block usage in builtins to this enable builtin reordering when run mksnapshot flag for emit warnings when applying builtin profile data verify register allocation in TurboFan randomly schedule instructions to stress dependency tracking enable store store elimination in TurboFan rewrite far to near simulate GC compiler thread race related to allow float parameters to be passed in simulator mode JS Wasm Run additional turbo_optimize_inlined_js_wasm_wrappers enable experimental feedback collection in generic lowering enable Turboshaft s WasmLoadElimination enable Turboshaft s low level load elimination for JS enable Turboshaft s escape analysis for string concatenation use enable Turbolev features that we want to ship in the not too far future trace individual Turboshaft reduction steps trace intermediate Turboshaft reduction steps invocation count threshold for early optimization Enables optimizations which favor memory size over execution speed Enables sampling allocation profiler with X as a sample interval min size of a semi the new space consists of two semi spaces max size of the Collect garbage after Collect garbage after keeps maps alive for< n > old space garbage collections print one detailed trace line in allocation gc speed threshold for starting incremental marking via a task in percent of available space
ZoneVector< RpoNumber > & result
#define DCHECK_GE(v1, v2)
#define DCHECK(condition)
#define V8_EXPORT_PRIVATE