V8 Project
v8::internal::CodeRange::FreeBlock Class Reference
+ Collaboration diagram for v8::internal::CodeRange::FreeBlock:

Public Member Functions

 FreeBlock (Address start_arg, size_t size_arg)
 
 FreeBlock (void *start_arg, size_t size_arg)
 

Public Attributes

Address start
 
size_t size
 

Detailed Description

Definition at line 909 of file spaces.h.

Constructor & Destructor Documentation

◆ FreeBlock() [1/2]

v8::internal::CodeRange::FreeBlock::FreeBlock ( Address  start_arg,
size_t  size_arg 
)
inline

Definition at line 911 of file spaces.h.

912  : start(start_arg), size(size_arg) {
914  DCHECK(size >= static_cast<size_t>(Page::kPageSize));
915  }
static const intptr_t kAlignment
Definition: spaces.h:523
static const int kPageSize
Definition: spaces.h:748
#define DCHECK(condition)
Definition: logging.h:205
bool IsAddressAligned(Address addr, intptr_t alignment, int offset=0)
Definition: utils.h:129

References DCHECK, v8::internal::IsAddressAligned(), v8::internal::MemoryChunk::kAlignment, v8::internal::Page::kPageSize, size, and start.

+ Here is the call graph for this function:

◆ FreeBlock() [2/2]

v8::internal::CodeRange::FreeBlock::FreeBlock ( void *  start_arg,
size_t  size_arg 
)
inline

Definition at line 916 of file spaces.h.

917  : start(static_cast<Address>(start_arg)), size(size_arg) {
919  DCHECK(size >= static_cast<size_t>(Page::kPageSize));
920  }
byte * Address
Definition: globals.h:101

References DCHECK, v8::internal::IsAddressAligned(), v8::internal::MemoryChunk::kAlignment, v8::internal::Page::kPageSize, size, and start.

+ Here is the call graph for this function:

Member Data Documentation

◆ size

size_t v8::internal::CodeRange::FreeBlock::size

◆ start


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