Home
last modified time | relevance | path

Searched refs:new_end (Results 1 – 7 of 7) sorted by relevance

/art/runtime/gc/space/
Dbump_pointer_space-inl.h63 byte* new_end; in AllocNonvirtualWithoutAccounting() local
66 new_end = old_end + num_bytes; in AllocNonvirtualWithoutAccounting()
68 if (UNLIKELY(new_end > growth_end_)) { in AllocNonvirtualWithoutAccounting()
71 } while (!end_.CompareExchangeWeakSequentiallyConsistent(old_end, new_end)); in AllocNonvirtualWithoutAccounting()
Dmalloc_space.cc135 byte* new_end = original_end + increment; in MoreCore() local
139 CHECK_LE(new_end, Begin() + Capacity()); in MoreCore()
151 CHECK_MEMORY_CALL(madvise, (new_end, size, MADV_DONTNEED), GetName()); in MoreCore()
152 CHECK_MEMORY_CALL(mprotect, (new_end, size, PROT_NONE), GetName()); in MoreCore()
155 SetEnd(new_end); in MoreCore()
/art/runtime/
Dmem_map.cc496 MemMap* MemMap::RemapAtEnd(byte* new_end, const char* tail_name, int tail_prot, in RemapAtEnd() argument
498 DCHECK_GE(new_end, Begin()); in RemapAtEnd()
499 DCHECK_LE(new_end, End()); in RemapAtEnd()
504 DCHECK(IsAligned<kPageSize>(new_end)); in RemapAtEnd()
507 byte* new_base_end = new_end; in RemapAtEnd()
512 size_ = new_end - reinterpret_cast<byte*>(begin_); in RemapAtEnd()
515 size_t tail_size = old_end - new_end; in RemapAtEnd()
Dmem_map.h131 MemMap* RemapAtEnd(byte* new_end, const char* tail_name, int tail_prot,
/art/runtime/gc/accounting/
Dspace_bitmap.cc74 void SpaceBitmap<kAlignment>::SetHeapLimit(uintptr_t new_end) { in SetHeapLimit() argument
75 DCHECK(IsAligned<kBitsPerWord * kAlignment>(new_end)); in SetHeapLimit()
76 size_t new_size = OffsetToIndex(new_end - heap_begin_) * kWordSize; in SetHeapLimit()
Dspace_bitmap.h173 void SetHeapLimit(uintptr_t new_end);
/art/runtime/mirror/
Darray-inl.h118 byte* new_end = reinterpret_cast<byte*>(array->GetRawData(component_size_, length)); in operator() local
120 memset(old_end, 0, new_end - old_end); in operator()