v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ExternalEntityTable< Entry, size >::SpaceWithBlackAllocationSupport Struct Reference

#include <external-entity-table.h>

Inheritance diagram for v8::internal::ExternalEntityTable< Entry, size >::SpaceWithBlackAllocationSupport:
Collaboration diagram for v8::internal::ExternalEntityTable< Entry, size >::SpaceWithBlackAllocationSupport:

Public Member Functions

bool allocate_black ()
 
void set_allocate_black (bool allocate_black)
 
- Public Member Functions inherited from v8::internal::ExternalEntityTable< Entry, size >::Space
 Space ()=default
 
 Space (const Space &)=delete
 
Spaceoperator= (const Space &)=delete
 
 ~Space ()
 
uint32_t freelist_length () const
 
uint32_t num_segments ()
 
bool is_empty ()
 
uint32_t capacity ()
 
bool Contains (uint32_t index)
 
bool is_internal_read_only_space () const
 
uint32_t NumSegmentsForTesting ()
 

Private Attributes

bool allocate_black_ = false
 

Additional Inherited Members

- Protected Attributes inherited from v8::internal::ExternalEntityTable< Entry, size >::Space
std::atomic< FreelistHeadfreelist_head_ = FreelistHead()
 
std::set< Segmentsegments_
 
bool is_internal_read_only_space_ = false
 
base::Mutex mutex_
 

Detailed Description

template<typename Entry, size_t size>
struct v8::internal::ExternalEntityTable< Entry, size >::SpaceWithBlackAllocationSupport

Definition at line 150 of file external-entity-table.h.

Member Function Documentation

◆ allocate_black()

template<typename Entry , size_t size>
bool v8::internal::ExternalEntityTable< Entry, size >::SpaceWithBlackAllocationSupport::allocate_black ( )
inline

Definition at line 151 of file external-entity-table.h.

◆ set_allocate_black()

template<typename Entry , size_t size>
void v8::internal::ExternalEntityTable< Entry, size >::SpaceWithBlackAllocationSupport::set_allocate_black ( bool allocate_black)
inline

Definition at line 152 of file external-entity-table.h.

Member Data Documentation

◆ allocate_black_

template<typename Entry , size_t size>
bool v8::internal::ExternalEntityTable< Entry, size >::SpaceWithBlackAllocationSupport::allocate_black_ = false
private

Definition at line 157 of file external-entity-table.h.


The documentation for this struct was generated from the following file: