V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::Bitmap Class Reference

Public Member Functions

int CellsCount ()
 
V8_INLINE MarkBit::CellTypecells ()
 
MarkBit MarkBitFromIndex (uint32_t index)
 
void Clear ()
 
void MarkAllBits ()
 
template<AccessMode mode = AccessMode::NON_ATOMIC>
void ClearBitsInCell (uint32_t cell_index, uint32_t mask)
 
template<AccessMode mode = AccessMode::NON_ATOMIC>
void SetBitsInCell (uint32_t cell_index, uint32_t mask)
 
void SetRange (uint32_t start_index, uint32_t end_index)
 
void ClearRange (uint32_t start_index, uint32_t end_index)
 
bool AllBitsSetInRange (uint32_t start_index, uint32_t end_index)
 
bool AllBitsClearInRange (uint32_t start_index, uint32_t end_index)
 
void Print ()
 
bool IsClean ()
 

Static Public Member Functions

static int CellsForLength (int length)
 
static V8_INLINE uint32_t IndexToCell (uint32_t index)
 
static V8_INLINE uint32_t IndexInCell (uint32_t index)
 
static V8_INLINE uint32_t CellAlignIndex (uint32_t index)
 
static V8_INLINE BitmapFromAddress (Address addr)
 

Static Public Attributes

static const uint32_t kBitsPerCell = 32
 
static const uint32_t kBitsPerCellLog2 = 5
 
static const uint32_t kBitIndexMask = kBitsPerCell - 1
 
static const uint32_t kBytesPerCell = kBitsPerCell / kBitsPerByte
 
static const uint32_t kBytesPerCellLog2 = kBitsPerCellLog2 - kBitsPerByteLog2
 
static const size_t kLength = (1 << kPageSizeBits) >> (kPointerSizeLog2)
 
static const size_t kSize
 

Detailed Description

Definition at line 93 of file marking.h.

Member Data Documentation

◆ kSize

const size_t v8::internal::Bitmap::kSize
static
Initial value:
= (1 << kPageSizeBits) >>
(kPointerSizeLog2 + kBitsPerByteLog2)

Definition at line 103 of file marking.h.


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