Home | History | Annotate | Download | only in dlmalloc

Lines Matching refs:MORECORE

129   System requirements: Any combination of MORECORE and/or MMAP/MUNMAP
134 MORECORE and MMAP are enabled. On Win32, it uses emulations
166 or actions surrounding MORECORE and MMAP that have times
353 MORECORE default: sbrk
355 memory. See below for guidance on writing custom MORECORE
356 functions. The type of the argument to sbrk/MORECORE varies across
365 If true, take advantage of fact that consecutive calls to MORECORE
373 True if MORECORE cannot release space back to the system when given
375 using a hand-crafted MORECORE function that cannot handle negative
380 returned by either MORECORE or CALL_MMAP. This disables
389 used as a backup strategy in cases where MORECORE fails to provide
452 most systems with contiguous MORECORE, there is no reason to
466 useful in long-lived programs using contiguous MORECORE. Because
1634 /* MORECORE and MMAP must return MFAIL on failure */
1713 #ifdef MORECORE
1714 #define CALL_MORECORE(S) MORECORE(S)
1715 #else /* MORECORE */
1717 #endif /* MORECORE */
1767 /* mstate bit set if continguous morecore disabled or failed */
1782 sequences of calls to MORECORE. In many cases sys_alloc requires
1784 threads. This does not protect against direct calls to MORECORE
2424 adjacent to an existing segment. MORECORE normally contiguously
2426 which is simpler and faster to deal with. (This is why MORECORE is
2465 MORECORE so can be merged with surrounding MORECORE'd segments
2466 and deallocated/trimmed using MORECORE with negative arguments.
2539 MORECORE or MMAP. Attempted frees and reallocs of any address less
2549 Bits recording whether to use MMAP, locks, or contiguous MORECORE
2553 obtained via MORECORE or MMAP.
3010 /* Check if address a is at least as high as any from MORECORE or MMAP */
4052 /* Get memory from system using MORECORE or MMAP */
4088 1. A call to MORECORE that can normally contiguously extend memory.
4092 Note that under the default settings, if MORECORE is unable to
4098 3. A call to MORECORE that cannot usually contiguously extend memory.
4131 /* Subtract out existing available top space from MORECORE request. */
4177 if (HAVE_MORECORE && tbase == CMFAIL) { /* Try noncontiguous MORECORE */
6014 /* -------------------- Alternative MORECORE functions ------------------- */
6017 Guidelines for creating a custom version of MORECORE:
6019 * For best performance, MORECORE should allocate in multiples of pagesize.
6020 * MORECORE may allocate more memory than requested. (Or even less,
6022 * MORECORE must not allocate memory when given argument zero, but
6025 * For best performance, consecutive calls to MORECORE with positive
6028 * Even though consecutive calls to MORECORE need not return contiguous
6031 * MORECORE need not handle negative arguments -- it may instead
6033 Negative arguments are always multiples of pagesize. MORECORE
6038 As an example alternative MORECORE, here is a custom allocator
6045 #define MORECORE osMoreCore
6188 * Better detection and support for non-contiguousness of MORECORE.