Searched refs:page_begin (Results 1 – 2 of 2) sorted by relevance
/art/libartbase/base/ |
D | mem_map.cc | 1230 uint8_t* const page_begin = AlignUp(mem_begin, kPageSize); in ZeroAndReleasePages() local 1232 if (!kMadviseZeroes || page_begin >= page_end) { in ZeroAndReleasePages() 1237 DCHECK_LE(mem_begin, page_begin); in ZeroAndReleasePages() 1238 DCHECK_LE(page_begin, page_end); in ZeroAndReleasePages() 1240 std::fill(mem_begin, page_begin, 0); in ZeroAndReleasePages() 1244 CHECK_NE(madvise(page_begin, page_end - page_begin, MADV_DONTNEED), -1) << "madvise failed"; in ZeroAndReleasePages()
|
/art/runtime/gc/space/ |
D | image_space.cc | 3683 uint8_t* const page_begin = AlignUp(Begin() + metadata.Offset(), kPageSize); in ReleaseMetadata() local 3685 if (page_begin < page_end) { in ReleaseMetadata() 3686 CHECK_NE(madvise(page_begin, page_end - page_begin, MADV_DONTNEED), -1) << "madvise failed"; in ReleaseMetadata()
|