|
| enum | MemoryChunkFlags {
IS_EXECUTABLE,
ABOUT_TO_BE_FREED,
POINTERS_TO_HERE_ARE_INTERESTING,
POINTERS_FROM_HERE_ARE_INTERESTING,
SCAN_ON_SCAVENGE,
IN_FROM_SPACE,
IN_TO_SPACE,
NEW_SPACE_BELOW_AGE_MARK,
CONTAINS_ONLY_DATA,
EVACUATION_CANDIDATE,
RESCAN_ON_EVACUATION,
WAS_SWEPT_PRECISELY,
WAS_SWEPT_CONSERVATIVELY,
HAS_PROGRESS_BAR,
NUM_MEMORY_CHUNK_FLAGS
} |
| |
| enum | ParallelSweepingState { PARALLEL_SWEEPING_DONE,
PARALLEL_SWEEPING_FINALIZE,
PARALLEL_SWEEPING_IN_PROGRESS,
PARALLEL_SWEEPING_PENDING
} |
| |
| static MemoryChunk * | FromAddress (Address a) |
| |
| static MemoryChunk * | FromAnyPointerAddress (Heap *heap, Address addr) |
| |
| static void | IncrementLiveBytesFromGC (Address address, int by) |
| |
| static void | IncrementLiveBytesFromMutator (Address address, int by) |
| |
| static uint32_t | FastAddressToMarkbitIndex (Address addr) |
| |
| static void | UpdateHighWaterMark (Address mark) |
| |
| static const int | kWriteBarrierCounterGranularity = 500 |
| |
| static const int | kPointersToHereAreInterestingMask |
| |
| static const int | kPointersFromHereAreInterestingMask |
| |
| static const int | kEvacuationCandidateMask |
| |
| static const int | kSkipEvacuationSlotsRecordingMask |
| |
| static const intptr_t | kAlignment |
| |
| static const intptr_t | kAlignmentMask = kAlignment - 1 |
| |
| static const intptr_t | kSizeOffset = 0 |
| |
| static const intptr_t | kLiveBytesOffset |
| |
| static const size_t | kSlotsBufferOffset = kLiveBytesOffset + kIntSize |
| |
| static const size_t | kWriteBarrierCounterOffset |
| |
| static const size_t | kHeaderSize |
| |
| static const int | kBodyOffset |
| |
| static const int | kObjectStartAlignment = 32 * kPointerSize |
| |
| static const int | kObjectStartOffset |
| |
| static const int | kFlagsOffset = kPointerSize |
| |
| static MemoryChunk * | Initialize (Heap *heap, Address base, size_t size, Address area_start, Address area_end, Executability executable, Space *owner) |
| |
| size_t | size_ |
| |
| intptr_t | flags_ |
| |
| Address | area_start_ |
| |
| Address | area_end_ |
| |
| VirtualMemory | reservation_ |
| |
| Address | owner_ |
| |
| Heap * | heap_ |
| |
| int | store_buffer_counter_ |
| |
| int | live_byte_count_ |
| |
| SlotsBuffer * | slots_buffer_ |
| |
| SkipList * | skip_list_ |
| |
| intptr_t | write_barrier_counter_ |
| |
| int | progress_bar_ |
| |
| int | high_water_mark_ |
| |
| AtomicWord | parallel_sweeping_ |
| |
| intptr_t | available_in_small_free_list_ |
| |
| intptr_t | available_in_medium_free_list_ |
| |
| intptr_t | available_in_large_free_list_ |
| |
| intptr_t | available_in_huge_free_list_ |
| |
| intptr_t | non_available_small_blocks_ |
| |
Definition at line 870 of file spaces.h.