|
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 | 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 () |
|
|
static const Flags | kPointersToHereAreInterestingMask |
|
static const Flags | kPointersFromHereAreInterestingMask |
|
static const Flags | kEvacuationCandidateMask = EVACUATION_CANDIDATE |
|
static const Flags | kIsInNewSpaceMask = IN_FROM_SPACE | IN_TO_SPACE |
|
static const Flags | kSkipEvacuationSlotsRecordingMask |
|
static const intptr_t | kAlignment |
|
static const intptr_t | kAlignmentMask = kAlignment - 1 |
|
static const intptr_t | kSizeOffset = 0 |
|
static const intptr_t | kFlagsOffset = kSizeOffset + kSizetSize |
|
static const intptr_t | kMarkBitmapOffset = kFlagsOffset + kPointerSize |
|
static const intptr_t | kReservationOffset = kMarkBitmapOffset + kPointerSize |
|
static const size_t | kHeaderSize |
|
static const int | kPageSize = 1 << kPageSizeBits |
|
static const int | kMaxWriteUnprotectCounter = 4 |
|
Definition at line 259 of file spaces.h.