v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::internal::LargePageSpace Class Referencefinal

#include <heap-space.h>

Inheritance diagram for cppgc::internal::LargePageSpace:
Collaboration diagram for cppgc::internal::LargePageSpace:

Public Member Functions

 LargePageSpace (RawHeap *heap, size_t index)
 
- Public Member Functions inherited from cppgc::internal::BaseSpace
 BaseSpace (const BaseSpace &)=delete
 
BaseSpaceoperator= (const BaseSpace &)=delete
 
virtual ~BaseSpace ()
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
size_t size () const
 
bool is_large () const
 
size_t index () const
 
RawHeapraw_heap ()
 
const RawHeapraw_heap () const
 
void AddPage (BasePage *)
 
void RemovePage (BasePage *)
 
Pages RemoveAllPages ()
 
v8::base::Mutexpages_mutex () const
 
bool is_compactable () const
 

Static Public Member Functions

static LargePageSpaceFrom (BaseSpace &space)
 
static const LargePageSpaceFrom (const BaseSpace &space)
 

Additional Inherited Members

- Public Types inherited from cppgc::internal::BaseSpace
using Pages = std::vector<BasePage*>
 
using iterator = Pages::iterator
 
using const_iterator = Pages::const_iterator
 
- Protected Types inherited from cppgc::internal::BaseSpace
enum class  PageType { kNormal , kLarge }
 
- Protected Member Functions inherited from cppgc::internal::BaseSpace
 BaseSpace (RawHeap *heap, size_t index, PageType type, bool is_compactable)
 

Detailed Description

Definition at line 116 of file heap-space.h.

Constructor & Destructor Documentation

◆ LargePageSpace()

cppgc::internal::LargePageSpace::LargePageSpace ( RawHeap * heap,
size_t index )

Definition at line 48 of file heap-space.cc.

Member Function Documentation

◆ From() [1/2]

static LargePageSpace & cppgc::internal::LargePageSpace::From ( BaseSpace & space)
inlinestatic

Definition at line 118 of file heap-space.h.

Here is the caller graph for this function:

◆ From() [2/2]

static const LargePageSpace & cppgc::internal::LargePageSpace::From ( const BaseSpace & space)
inlinestatic

Definition at line 122 of file heap-space.h.


The documentation for this class was generated from the following files: