|
V8 Project
|
#include <spaces.h>
Inheritance diagram for v8::internal::MapSpace:
Collaboration diagram for v8::internal::MapSpace:Static Public Attributes | |
| static const int | kMaxMapPageIndex = 1 << 16 |
Protected Member Functions | |
| virtual void | VerifyObject (HeapObject *obj) |
Protected Member Functions inherited from v8::internal::PagedSpace | |
| 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 Public Member Functions inherited from v8::internal::PagedSpace | |
| static bool | ShouldBeSweptBySweeperThreads (Page *p) |
Static Public Member Functions inherited from v8::internal::Malloced | |
| static void | FatalProcessOutOfMemory () |
| static void * | New (size_t size) |
| static void | Delete (void *p) |
Protected Attributes inherited from v8::internal::PagedSpace | |
| 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.
Here is the call graph for this function:
|
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().