Searched refs:page_begin (Results 1 – 2 of 2) sorted by relevance
/art/libartbase/base/ |
D | mem_map.cc | 1212 uint8_t* const page_begin = AlignUp(mem_begin, kPageSize); in ZeroAndReleasePages() local 1214 if (!kMadviseZeroes || page_begin >= page_end) { in ZeroAndReleasePages() 1219 DCHECK_LE(mem_begin, page_begin); in ZeroAndReleasePages() 1220 DCHECK_LE(page_begin, page_end); in ZeroAndReleasePages() 1222 std::fill(mem_begin, page_begin, 0); in ZeroAndReleasePages() 1226 CHECK_NE(madvise(page_begin, page_end - page_begin, MADV_DONTNEED), -1) << "madvise failed"; in ZeroAndReleasePages()
|
/art/runtime/gc/space/ |
D | image_space.cc | 2412 uint8_t* const page_begin = AlignUp(Begin() + metadata.Offset(), 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()
|