Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.cc1369 size_t madvise_size = page_map_mem_map_.End() - madvise_begin; in Trim() local
1370 if (madvise_size > 0) { in Trim()
1372 DCHECK_EQ(RoundUp(madvise_size, kPageSize), madvise_size); in Trim()
1374 memset(madvise_begin, 0, madvise_size); in Trim()
1376 CHECK_EQ(madvise(madvise_begin, madvise_size, MADV_DONTNEED), 0); in Trim()