Home | History | Annotate | Download | only in src

Lines Matching refs:MORECORE

117   System requirements: Any combination of MORECORE and/or MMAP/MUNMAP
122 MORECORE and MMAP are enabled. On Win32, it uses emulations
154 or actions surrounding MORECORE and MMAP that have times
291 MORECORE default: sbrk
293 memory. See below for guidance on writing custom MORECORE
294 functions. The type of the argument to sbrk/MORECORE varies across
302 version of MORECORE.
305 If true, take advantage of fact that consecutive calls to MORECORE
313 True if MORECORE cannot release space back to the system when given
315 using a hand-crafted MORECORE
323 used as a backup strategy in cases where MORECORE fails to provide
382 most systems with contiguous MORECORE, there is no reason to
396 useful in long-lived programs using contiguous MORECORE. Because
547 #ifndef MORECORE
548 #define MORECORE sbrk
549 #endif /* MORECORE */
1292 /* MORECORE and MMAP must return MFAIL on failure */
1412 #define CALL_MORECORE(S) MORECORE(S)
1417 /* mstate bit set if contiguous morecore disabled or failed */
1432 MORECORE. In many cases sys_alloc requires two calls, that should
1434 protect against direct calls to MORECORE by other threads not
1895 adjacent to an existing segment. MORECORE normally contiguously
1897 which is simpler and faster to deal with. (This is why MORECORE is
1936 MORECORE so can be merged with surrounding MORECORE'd segments
1937 and deallocated/trimmed using MORECORE with negative arguments.
2046 MORECORE or MMAP. Attempted frees and reallocs of any address less
2053 Bits recording whether to use MMAP, locks, or contiguous MORECORE
2057 obtained via MORECORE or MMAP.
2430 /* Check if address a is at least as high as any from MORECORE or MMAP */
3425 /* Get memory from system using MORECORE or MMAP */
3443 1. A call to MORECORE that can normally contiguously extend memory.
3447 Note that under the default settings, if MORECORE is unable to
3453 3. A call to MORECORE that cannot usually contiguously extend memory.
3470 /* Can't call MORECORE if size is negative when treated as signed */
3479 /* Subtract out existing available top space from MORECORE request. */
3529 if (HAVE_MORECORE && tbase == CMFAIL) { /* Try noncontiguous MORECORE */
4895 /* -------------------- Alternative MORECORE functions ------------------- */
4898 Guidelines for creating a custom version of MORECORE:
4900 * For best performance, MORECORE should allocate in multiples of pagesize.
4901 * MORECORE may allocate more memory than requested. (Or even less,
4903 * MORECORE must not allocate memory when given argument zero, but
4906 * For best performance, consecutive calls to MORECORE with positive
4909 * Even though consecutive calls to MORECORE need not return contiguous
4912 * MORECORE need not handle negative arguments -- it may instead
4914 Negative arguments are always multiples of pagesize. MORECORE
4919 As an example alternative MORECORE, here is a custom allocator
4926 #define MORECORE osMoreCore
5031 * Better detection and support for non-contiguousness of MORECORE.