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

#include <zone-compression.h>

Collaboration diagram for v8::internal::ZoneCompression:

Static Public Member Functions

static Address base_of (const void *zone_pointer)
 
static bool CheckSameBase (const void *p1, const void *p2)
 
static uint32_t Compress (const void *value)
 
static Address Decompress (const void *zone_pointer, uint32_t compressed_value)
 

Static Public Attributes

static const size_t kReservationSize = size_t{2} * GB
 
static const size_t kReservationAlignment
 
static const size_t kOffsetMask = kReservationAlignment - 1
 

Detailed Description

Definition at line 30 of file zone-compression.h.

Member Function Documentation

◆ base_of()

static Address v8::internal::ZoneCompression::base_of ( const void * zone_pointer)
inlinestatic

Definition at line 40 of file zone-compression.h.

Here is the caller graph for this function:

◆ CheckSameBase()

static bool v8::internal::ZoneCompression::CheckSameBase ( const void * p1,
const void * p2 )
inlinestatic

Definition at line 44 of file zone-compression.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Compress()

static uint32_t v8::internal::ZoneCompression::Compress ( const void * value)
inlinestatic

Definition at line 50 of file zone-compression.h.

Here is the caller graph for this function:

◆ Decompress()

static Address v8::internal::ZoneCompression::Decompress ( const void * zone_pointer,
uint32_t compressed_value )
inlinestatic

Definition at line 58 of file zone-compression.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kOffsetMask

const size_t v8::internal::ZoneCompression::kOffsetMask = kReservationAlignment - 1
static

Definition at line 38 of file zone-compression.h.

◆ kReservationAlignment

const size_t v8::internal::ZoneCompression::kReservationAlignment
static
Initial value:
=
COMPRESS_ZONES_BOOL ? size_t{4} * GB : 1
#define COMPRESS_ZONES_BOOL
Definition globals.h:520
constexpr int GB
Definition v8-internal.h:57

Definition at line 32 of file zone-compression.h.

◆ kReservationSize

const size_t v8::internal::ZoneCompression::kReservationSize = size_t{2} * GB
static

Definition at line 31 of file zone-compression.h.


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