Lines Matching refs:Address
374 static MemoryChunk* FromAddress(Address a) { in FromAddress()
378 static inline MemoryChunk* FromAnyPointerAddress(Heap* heap, Address addr);
380 static inline void UpdateHighWaterMark(Address mark) { in UpdateHighWaterMark()
396 Address address() { return reinterpret_cast<Address>(this); } in address()
400 bool Contains(Address addr) { in Contains()
406 bool ContainsLimit(Address addr) { in ContainsLimit()
463 Address area_start() { return area_start_; } in area_start()
464 Address area_end() { return area_end_; } in area_end()
472 Address HighWaterMark() { return address() + high_water_mark_.Value(); } in HighWaterMark()
494 inline uint32_t AddressToMarkbitIndex(Address addr) { in AddressToMarkbitIndex()
498 inline Address MarkbitIndexToAddress(uint32_t index) { in MarkbitIndexToAddress()
567 owner_ = reinterpret_cast<Address>(space) + kPageHeaderTag; in set_owner()
578 static MemoryChunk* Initialize(Heap* heap, Address base, size_t size,
579 Address area_start, Address area_end,
592 Address area_start_;
593 Address area_end_;
601 Address owner_;
675 static Page* FromAddress(Address addr) { in FromAddress()
683 static Page* FromAllocationAreaAddress(Address address) { in FromAllocationAreaAddress()
688 static bool OnSamePage(Address address1, Address address2) { in OnSamePage()
693 static bool IsAlignedToPageSize(Address addr) { in IsAlignedToPageSize()
697 static bool IsAtObjectStart(Address addr) { in IsAtObjectStart()
702 inline static Page* FromAnyPointerAddress(Heap* heap, Address addr);
725 inline size_t Offset(Address a) { return static_cast<size_t>(a - address()); } in Offset()
728 Address OffsetToAddress(size_t offset) { in OffsetToAddress()
804 Address GetAddressToShrink();
806 void ClearOutOfLiveRangeSlots(Address free_start);
863 void AllocationStep(Address soon_object, int size);
957 Address start() { in start()
959 return static_cast<Address>(code_range_->address()); in start()
965 bool contains(Address address) { in contains()
967 Address start = static_cast<Address>(code_range_->address()); in contains()
974 MUST_USE_RESULT Address AllocateRawMemory(const size_t requested_size,
977 bool CommitRawMemory(Address start, size_t length);
978 bool UncommitRawMemory(Address start, size_t length);
979 void FreeRawMemory(Address buf, size_t length);
985 FreeBlock(Address start_arg, size_t size_arg) in FreeBlock()
991 : start(static_cast<Address>(start_arg)), size(size_arg) { in FreeBlock()
996 Address start;
1044 starts_[idx] = reinterpret_cast<Address>(-1); in Clear()
1048 Address StartFor(Address addr) { return starts_[RegionNumber(addr)]; } in StartFor()
1050 void AddObject(Address addr, int size) { in AddObject()
1065 static inline int RegionNumber(Address addr) { in RegionNumber()
1069 static void Update(Address addr, int size) { in Update()
1087 Address starts_[kSize];
1277 Address ReserveAlignedMemory(size_t requested, size_t alignment,
1279 Address AllocateAlignedMemory(size_t reserve_size, size_t commit_size,
1283 bool CommitMemory(Address addr, size_t size, Executability executable);
1286 void PartialFreeMemory(MemoryChunk* chunk, Address start_free);
1287 void FreeMemory(Address addr, size_t size, Executability executable);
1293 bool CommitBlock(Address start, size_t size, Executability executable);
1299 bool UncommitBlock(Address start, size_t size);
1303 void ZapBlock(Address start, size_t size);
1306 Address start, size_t commit_size,
1458 Address cur_addr_; // Current iteration point.
1459 Address cur_end_; // End iteration point.
1475 AllocationInfo(Address top, Address limit) in AllocationInfo()
1478 void Reset(Address top, Address limit) { in Reset()
1484 Address original_top() { in original_top()
1490 INLINE(void set_top(Address top)) { in INLINE()
1496 INLINE(Address top()) const { in INLINE()
1502 Address* top_address() { return &top_; } in top_address()
1504 INLINE(void set_limit(Address limit)) { in INLINE()
1508 INLINE(Address limit()) const { in INLINE()
1512 Address* limit_address() { return &limit_; } in limit_address()
1524 Address original_top_;
1526 Address top_;
1528 Address limit_;
1673 size_t Free(Address start, size_t size_in_bytes, FreeMode mode);
1884 inline NewSpacePageRange(Address start, Address limit);
1914 inline bool Contains(Address a);
1916 bool ContainsSlow(Address addr);
1922 Object* FindObject(Address addr);
1971 Address top() { return allocation_info_.top(); } in top()
1972 Address limit() { return allocation_info_.limit(); } in limit()
1975 Address* allocation_top_address() { return allocation_info_.top_address(); } in allocation_top_address()
1978 Address* allocation_limit_address() { in allocation_limit_address()
2007 size_t Free(Address start, size_t size_in_bytes) { in Free()
2014 size_t UnaccountedFree(Address start, size_t size_in_bytes) { in UnaccountedFree()
2023 void SetTopAndLimit(Address top, Address limit) { in SetTopAndLimit()
2030 void SetAllocationInfo(Address top, Address limit);
2193 inline bool ContainsSlow(Address a);
2215 Address space_start() { in space_start()
2225 Address space_end() { return anchor_.prev_page()->area_end(); } in space_end()
2228 Address page_low() { return current_page_->area_start(); } in page_low()
2231 Address page_high() { return current_page_->area_end(); } in page_high()
2254 Address age_mark() { return age_mark_; } in age_mark()
2255 void set_age_mark(Address mark);
2296 static void AssertValidRange(Address from, Address to);
2299 inline static void AssertValidRange(Address from, Address to) {} in AssertValidRange()
2328 Address age_mark_;
2355 void Initialize(Address start, Address end);
2358 Address current_;
2360 Address limit_;
2383 inline bool ContainsSlow(Address a);
2452 Address age_mark = to_space_.age_mark(); in AllocatedSinceLastGC()
2511 Address top() { in top()
2517 Address limit() { in limit()
2523 Address bottom() { return to_space_.space_start(); } in bottom()
2526 Address age_mark() { return from_space_.age_mark(); } in age_mark()
2528 void set_age_mark(Address mark) { to_space_.set_age_mark(mark); } in set_age_mark()
2531 Address* allocation_top_address() { return allocation_info_.top_address(); } in allocation_top_address()
2534 Address* allocation_limit_address() { in allocation_limit_address()
2576 Address FromSpacePageLow() { return from_space_.page_low(); } in FromSpacePageLow()
2577 Address FromSpacePageHigh() { return from_space_.page_high(); } in FromSpacePageHigh()
2578 Address FromSpaceStart() { return from_space_.space_start(); } in FromSpaceStart()
2579 Address FromSpaceEnd() { return from_space_.space_end(); } in FromSpaceEnd()
2582 Address ToSpaceStart() { return to_space_.space_start(); } in ToSpaceStart()
2583 Address ToSpaceEnd() { return to_space_.space_end(); } in ToSpaceEnd()
2585 inline bool ToSpaceContainsSlow(Address a);
2586 inline bool FromSpaceContainsSlow(Address a);
2658 Address top_on_previous_step_;
2671 void InlineAllocationStep(Address top, Address new_top, Address soon_object,
2821 Object* FindObject(Address a);
2825 LargePage* FindPage(Address a);
2835 void RemoveChunkMapEntries(LargePage* page, Address free_start);
2841 bool ContainsSlow(Address addr) { return FindObject(addr)->IsHeapObject(); } in ContainsSlow()