Searched refs:MADV_FREE (Results 1 - 12 of 12) sorted by relevance

/macosx-10.10/WTF-7600.1.24/wtf/
H A DOSAllocatorPosix.cpp155 #elif HAVE(MADV_FREE)
156 while (madvise(address, bytes, MADV_FREE) == -1 && errno == EAGAIN) { }
H A DTCSystemAlloc.cpp391 #elif HAVE(MADV_FREE) || HAVE(MADV_DONTNEED)
395 // MADV_FREE clears the modified bit on pages, which allows
397 #if HAVE(MADV_FREE)
398 const int advice = MADV_FREE;
/macosx-10.10/JavaScriptCore-7600.1.17/jit/
H A DExecutableAllocatorFixedVMPool.cpp49 // MADV_FREE_REUSABLE does not work for JIT memory on older OSes so use MADV_FREE in that case.
96 int result = madvise(page, pageSize(), MADV_FREE);
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dmman.h169 #define MADV_FREE 5 /* pages unneeded, discard contents */ macro
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dmemory_tests.c175 my_err = madvise(my_bufp, (my_page_size * 10), MADV_FREE);
220 my_err = madvise( my_addr, (my_page_size * 2), MADV_FREE );
/macosx-10.10/system_cmds-643.1.1/memory_pressure.tproj/
H A Dmemory_pressure.c304 error = madvise(range_current_addr, size, MADV_FREE);
320 error = madvise(range_current_addr, size, MADV_FREE);
/macosx-10.10/libdispatch-442.1.4/src/
H A Dallocator.c569 MADV_FREE));
H A Dvoucher.c1192 len * _voucher_activity_buffer_size, MADV_FREE)); local
/macosx-10.10/dyld-353.2.1/src/
H A DImageLoaderMachOCompressed.cpp346 markLINKEDIT(context, MADV_FREE);
388 if ( advise == MADV_FREE )
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dkern_mman.c897 case MADV_FREE:
/macosx-10.10/libmalloc-53.1.1/src/
H A Dnano_malloc.c90 #define SCRUBBLE_BYTE 0xdd /* madvise(..., MADV_FREE) scriblle */
1553 if (-1 == madvise((void *)q.addr, vm_page_size, MADV_FREE))
H A Dmagazine_malloc.c153 #define SCRUBBLE_BYTE 0xdd /* madvise(..., MADV_FREE) scriblle */
1210 * On iOS MADV_FREE is used, which does no such tinkering and madvise_reuse_range is a
1214 # define MADVISE_STYLE MADV_FREE
2190 // Scan the metadata identifying blocks which span one or more pages. Mark the pages MADV_FREE taking care to preserve free list
2351 // Mark free'd dirty pages with MADV_FREE to reduce memory pressure
2424 /* FIXME: Would Uniprocessor benefit from recirc and MADV_FREE? */
2598 /* FIXME: Would Uniprocessor benefit from recirc and MADV_FREE? */
2625 // Calcuate the first page in the coalesced block that would be safe to mark MADV_FREE
2630 // Calcuate the last page in the coalesced block that would be safe to mark MADV_FREE
2635 // The newly freed block may complete a span of bytes that cover a page. Mark it with MADV_FREE
[all...]

Completed in 395 milliseconds