|
void | MarkNeverAllocateForTesting () |
|
void | MarkEvacuationCandidate () |
|
void | ClearEvacuationCandidate () |
|
Page * | next_page () |
|
Page * | prev_page () |
|
template<typename Callback > |
void | ForAllFreeListCategories (Callback callback) |
|
size_t | Offset (Address a) |
|
Address | OffsetToAddress (size_t offset) |
|
void | WaitUntilSweepingCompleted () |
|
void | AllocateLocalTracker () |
|
LocalArrayBufferTracker * | local_tracker () |
|
bool | contains_array_buffers () |
|
void | ResetFreeListStatistics () |
|
size_t | AvailableInFreeList () |
|
size_t | AvailableInFreeListFromAllocatedBytes () |
|
FreeListCategory * | free_list_category (FreeListCategoryType type) |
|
size_t | wasted_memory () |
|
void | add_wasted_memory (size_t waste) |
|
size_t | allocated_bytes () |
|
void | IncreaseAllocatedBytes (size_t bytes) |
|
void | DecreaseAllocatedBytes (size_t bytes) |
|
void | ResetAllocatedBytes () |
|
size_t | ShrinkToHighWaterMark () |
|
V8_EXPORT_PRIVATE void | CreateBlackArea (Address start, Address end) |
|
void | DestroyBlackArea (Address start, Address end) |
|
void | InitializeFreeListCategories () |
|
void | AllocateFreeListCategories () |
|
void | ReleaseFreeListCategories () |
|
void | SetOldGenerationPageFlags (bool is_marking) |
|
void | SetYoungGenerationPageFlags (bool is_marking) |
|
void | DiscardUnusedMemory (Address addr, size_t size) |
|
Address | address () const |
|
base::Mutex * | mutex () |
|
bool | Contains (Address addr) |
|
bool | ContainsLimit (Address addr) |
|
void | set_concurrent_sweeping_state (ConcurrentSweepingState state) |
|
ConcurrentSweepingState | concurrent_sweeping_state () |
|
bool | SweepingDone () |
|
size_t | size () const |
|
void | set_size (size_t size) |
|
Heap * | heap () const |
|
Heap * | synchronized_heap () |
|
SkipList * | skip_list () |
|
void | set_skip_list (SkipList *skip_list) |
|
template<RememberedSetType type> |
bool | ContainsSlots () |
|
template<RememberedSetType type, AccessMode access_mode = AccessMode::ATOMIC> |
SlotSet * | slot_set () |
|
template<RememberedSetType type, AccessMode access_mode = AccessMode::ATOMIC> |
TypedSlotSet * | typed_slot_set () |
|
template<RememberedSetType type> |
SlotSet * | AllocateSlotSet () |
|
template<RememberedSetType type> |
void | ReleaseSlotSet () |
|
template<RememberedSetType type> |
TypedSlotSet * | AllocateTypedSlotSet () |
|
template<RememberedSetType type> |
void | ReleaseTypedSlotSet () |
|
InvalidatedSlots * | AllocateInvalidatedSlots () |
|
void | ReleaseInvalidatedSlots () |
|
void | RegisterObjectWithInvalidatedSlots (HeapObject *object, int size) |
|
void | MoveObjectWithInvalidatedSlots (HeapObject *old_start, HeapObject *new_start) |
|
bool | RegisteredObjectWithInvalidatedSlots (HeapObject *object) |
|
InvalidatedSlots * | invalidated_slots () |
|
void | ReleaseLocalTracker () |
|
void | AllocateYoungGenerationBitmap () |
|
void | ReleaseYoungGenerationBitmap () |
|
void | AllocateMarkingBitmap () |
|
void | ReleaseMarkingBitmap () |
|
Address | area_start () |
|
Address | area_end () |
|
size_t | area_size () |
|
size_t | CommittedPhysicalMemory () |
|
Address | HighWaterMark () |
|
int | progress_bar () |
|
void | set_progress_bar (int progress_bar) |
|
void | ResetProgressBar () |
|
void | IncrementExternalBackingStoreBytes (ExternalBackingStoreType type, size_t amount) |
|
void | DecrementExternalBackingStoreBytes (ExternalBackingStoreType type, size_t amount) |
|
size_t | ExternalBackingStoreBytes (ExternalBackingStoreType type) |
|
uint32_t | AddressToMarkbitIndex (Address addr) const |
|
Address | MarkbitIndexToAddress (uint32_t index) const |
|
template<AccessMode access_mode = AccessMode::NON_ATOMIC> |
void | SetFlag (Flag flag) |
|
template<AccessMode access_mode = AccessMode::NON_ATOMIC> |
bool | IsFlagSet (Flag flag) |
|
void | ClearFlag (Flag flag) |
|
void | SetFlags (uintptr_t flags, uintptr_t mask) |
|
template<AccessMode access_mode = AccessMode::NON_ATOMIC> |
uintptr_t | GetFlags () |
|
bool | NeverEvacuate () |
|
void | MarkNeverEvacuate () |
|
bool | CanAllocate () |
|
template<AccessMode access_mode = AccessMode::NON_ATOMIC> |
bool | IsEvacuationCandidate () |
|
template<AccessMode access_mode = AccessMode::NON_ATOMIC> |
bool | ShouldSkipEvacuationSlotRecording () |
|
Executability | executable () |
|
bool | InNewSpace () |
|
bool | InToSpace () |
|
bool | InFromSpace () |
|
bool | InOldSpace () const |
|
bool | InLargeObjectSpace () const |
|
bool | IsInNewLargeObjectSpace () const |
|
Space * | owner () const |
|
void | set_owner (Space *space) |
|
bool | IsPagedSpace () const |
|
void | InitializationMemoryFence () |
|
void | SetReadAndExecutable () |
|
void | SetReadAndWritable () |
|
base::ListNode< MemoryChunk > & | list_node () |
|
|
enum | Flag {
NO_FLAGS = 0u,
IS_EXECUTABLE = 1u << 0,
POINTERS_TO_HERE_ARE_INTERESTING = 1u << 1,
POINTERS_FROM_HERE_ARE_INTERESTING = 1u << 2,
IN_FROM_SPACE = 1u << 3,
IN_TO_SPACE = 1u << 4,
NEW_SPACE_BELOW_AGE_MARK = 1u << 5,
EVACUATION_CANDIDATE = 1u << 6,
NEVER_EVACUATE = 1u << 7,
HAS_PROGRESS_BAR = 1u << 8,
PAGE_NEW_OLD_PROMOTION = 1u << 9,
PAGE_NEW_NEW_PROMOTION = 1u << 10,
FORCE_EVACUATION_CANDIDATE_FOR_TESTING = 1u << 11,
NEVER_ALLOCATE_ON_PAGE = 1u << 12,
PRE_FREED = 1u << 13,
POOLED = 1u << 14,
COMPACTION_WAS_ABORTED = 1u << 15,
COMPACTION_WAS_ABORTED_FOR_TESTING = 1u << 16,
SWEEP_TO_ITERATE = 1u << 17,
INCREMENTAL_MARKING = 1u << 18
} |
|
enum | ConcurrentSweepingState { kSweepingDone,
kSweepingPending,
kSweepingInProgress
} |
|
using | Flags = uintptr_t |
|
void | ReleaseAllocatedMemory () |
|
VirtualMemory * | reserved_memory () |
|
static MemoryChunk * | Initialize (Heap *heap, Address base, size_t size, Address area_start, Address area_end, Executability executable, Space *owner, VirtualMemory reservation) |
|
size_t | size_ |
|
uintptr_t | flags_ |
|
Bitmap * | marking_bitmap_ |
|
VirtualMemory | reservation_ |
|
Address | area_start_ |
|
Address | area_end_ |
|
std::atomic< Space * > | owner_ |
|
Heap * | heap_ |
|
intptr_t | progress_bar_ |
|
std::atomic< intptr_t > | live_byte_count_ |
|
SlotSet * | slot_set_ [NUMBER_OF_REMEMBERED_SET_TYPES] |
|
TypedSlotSet * | typed_slot_set_ [NUMBER_OF_REMEMBERED_SET_TYPES] |
|
InvalidatedSlots * | invalidated_slots_ |
|
SkipList * | skip_list_ |
|
std::atomic< intptr_t > | high_water_mark_ |
|
base::Mutex * | mutex_ |
|
std::atomic< intptr_t > | concurrent_sweeping_ |
|
base::Mutex * | page_protection_change_mutex_ |
|
uintptr_t | write_unprotect_counter_ |
|
size_t | allocated_bytes_ |
|
std::atomic< size_t > | external_backing_store_bytes_ [kNumTypes] |
|
size_t | wasted_memory_ |
|
base::ListNode< MemoryChunk > | list_node_ |
|
FreeListCategory * | categories_ [kNumberOfCategories] |
|
LocalArrayBufferTracker * | local_tracker_ |
|
std::atomic< intptr_t > | young_generation_live_byte_count_ |
|
Bitmap * | young_generation_bitmap_ |
|
Definition at line 768 of file spaces.h.