Home
last modified time | relevance | path

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

/art/libartbase/base/
Dmem_map.cc1213 uint8_t* const page_end = AlignDown(mem_end, kPageSize); in ZeroAndReleasePages() local
1214 if (!kMadviseZeroes || page_begin >= page_end) { in ZeroAndReleasePages()
1220 DCHECK_LE(page_begin, page_end); in ZeroAndReleasePages()
1221 DCHECK_LE(page_end, mem_end); in ZeroAndReleasePages()
1226 CHECK_NE(madvise(page_begin, page_end - page_begin, MADV_DONTNEED), -1) << "madvise failed"; in ZeroAndReleasePages()
1228 std::fill(page_end, mem_end, 0); in ZeroAndReleasePages()
/art/runtime/gc/space/
Dimage_space.cc2413 uint8_t* const page_end = AlignDown(Begin() + metadata.End(), kPageSize); in ReleaseMetadata() local
2414 if (page_begin < page_end) { in ReleaseMetadata()
2415 CHECK_NE(madvise(page_begin, page_end - page_begin, MADV_DONTNEED), -1) << "madvise failed"; in ReleaseMetadata()