V8 Project
|
#include <spaces.h>
Classes | |
class | CellPrinter |
Public Member Functions | |
int | CellsCount () |
INLINE (static uint32_t IndexToCell(uint32_t index)) | |
INLINE (static uint32_t CellToIndex(uint32_t index)) | |
INLINE (static uint32_t CellAlignIndex(uint32_t index)) | |
INLINE (MarkBit::CellType *cells()) | |
INLINE (Address address()) | |
INLINE (static Bitmap *FromAddress(Address addr)) | |
MarkBit | MarkBitFromIndex (uint32_t index, bool data_only=false) |
void | Print () |
bool | IsClean () |
Static Public Member Functions | |
static int | CellsForLength (int length) |
static int | SizeFor (int cells_count) |
static void | Clear (MemoryChunk *chunk) |
static void | PrintWord (uint32_t word, uint32_t himask=0) |
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 |
|
inline |
Definition at line 158 of file spaces.h.
References kBitsPerCell, and kBitsPerCellLog2.
Referenced by CellsCount().
|
inlinestatic |
Definition at line 21 of file spaces-inl.h.
References CellsCount(), v8::internal::MemoryChunk::markbits(), and v8::internal::MemoryChunk::ResetLiveBytes().
Referenced by v8::internal::ClearMarkbitsInNewSpace(), v8::internal::ClearMarkbitsInPagedSpace(), v8::internal::SemiSpace::GrowTo(), v8::internal::MemoryChunk::Initialize(), v8::internal::IncrementalMarking::PrepareForScavenge(), and v8::internal::NewSpace::ResetAllocationInfo().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 172 of file spaces.h.
References kBitsPerCellLog2.
|
inline |
Definition at line 168 of file spaces.h.
References kBitsPerCellLog2.
|
inline |
Definition at line 255 of file spaces.h.
References CellsCount().
Definition at line 190 of file spaces.h.
References kBitIndexMask, and kBitsPerCellLog2.
Referenced by v8::internal::IsOnInvalidatedCodeObject(), and v8::internal::SetMarkBitsUnderInvalidatedCode().
|
inline |
Definition at line 246 of file spaces.h.
References CellsCount(), v8::internal::Bitmap::CellPrinter::Flush(), v8::internal::Bitmap::CellPrinter::Print(), and v8::internal::PrintF().
Referenced by v8::internal::MemoryChunk::PrintMarkbits().
Definition at line 198 of file spaces.h.
References v8::internal::PrintF().
Referenced by v8::internal::Bitmap::CellPrinter::Print().
|
static |
Definition at line 148 of file spaces.h.
Referenced by INLINE(), and MarkBitFromIndex().
|
static |
Definition at line 146 of file spaces.h.
Referenced by CellsForLength(), v8::internal::DiscoverGreyObjectsOnPage(), and v8::internal::Bitmap::CellPrinter::Flush().
|
static |
Definition at line 147 of file spaces.h.
Referenced by CellsForLength(), INLINE(), and MarkBitFromIndex().
|
static |
|
static |
|
static |
Definition at line 152 of file spaces.h.
Referenced by CellsCount().
|
static |