V8 Project
|
#include <spaces.h>
Static Public Attributes | |
static const int | kMaxMapPageIndex = 1 << 16 |
Protected Member Functions | |
virtual void | VerifyObject (HeapObject *obj) |
![]() | |
FreeList * | free_list () |
intptr_t | SizeOfFirstPage () |
bool | Expand () |
HeapObject * | AllocateLinearly (int size_in_bytes) |
MUST_USE_RESULT HeapObject * | WaitForSweeperThreadsAndRetryAllocation (int size_in_bytes) |
MUST_USE_RESULT HeapObject * | SlowAllocateRaw (int size_in_bytes) |
Private Member Functions | |
int | CompactionThreshold () |
Private Attributes | |
const int | max_map_space_pages_ |
Static Private Attributes | |
static const int | kMapsPerPage = Page::kMaxRegularHeapObjectSize / Map::kSize |
Additional Inherited Members | |
![]() | |
static bool | ShouldBeSweptBySweeperThreads (Page *p) |
![]() | |
static void | FatalProcessOutOfMemory () |
static void * | New (size_t size) |
static void | Delete (void *p) |
![]() | |
int | area_size_ |
intptr_t | max_capacity_ |
AllocationStats | accounting_stats_ |
Page | anchor_ |
FreeList | free_list_ |
AllocationInfo | allocation_info_ |
intptr_t | unswept_free_bytes_ |
Page * | end_of_unswept_pages_ |
MemoryChunk * | emergency_memory_ |
|
inline |
Definition at line 2623 of file spaces.h.
|
inlineprivate |
Reimplemented from v8::internal::Space.
Definition at line 2631 of file spaces.h.
References v8::base::bits::IsPowerOfTwo32(), v8::internal::Map::kSize, RoundDown(), and size.
|
protectedvirtual |
|
staticprivate |
Definition at line 2643 of file spaces.h.
Referenced by CompactionThreshold().
|
static |
|
private |
Definition at line 2650 of file spaces.h.
Referenced by CompactionThreshold().