Home
last modified time | relevance | path

Searched refs:page_begin (Results 1 – 2 of 2) sorted by relevance

/art/libartbase/base/
Dmem_map.cc1230 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/
Dimage_space.cc4195 uint8_t* const page_begin = AlignUp(Begin() + metadata.Offset(), kPageSize); in ReleaseMetadata() local
4197 if (page_begin < page_end) { in ReleaseMetadata()
4198 CHECK_NE(madvise(page_begin, page_end - page_begin, MADV_DONTNEED), -1) << "madvise failed"; in ReleaseMetadata()