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
542 #ifndef MORECORE
543 #define MORECORE sbrk
544 #endif /* MORECORE */
1287 /* MORECORE and MMAP must return MFAIL on failure */
1407 #define CALL_MORECORE(S) MORECORE(S)
1412 /* mstate bit set if contiguous morecore disabled or failed */
1427 MORECORE. In many cases sys_alloc requires two calls, that should
1429 protect against direct calls to MORECORE by other threads not
1890 adjacent to an existing segment. MORECORE normally contiguously
1892 which is simpler and faster to deal with. (This is why MORECORE is
1931 MORECORE so can be merged with surrounding MORECORE'd segments
1932 and deallocated/trimmed using MORECORE with negative arguments.
2041 MORECORE or MMAP. Attempted frees and reallocs of any address less
2048 Bits recording whether to use MMAP, locks, or contiguous MORECORE
2052 obtained via MORECORE or MMAP.
2425 /* Check if address a is at least as high as any from MORECORE or MMAP */
3420 /* Get memory from system using MORECORE or MMAP */
3438 1. A call to MORECORE that can normally contiguously extend memory.
3442 Note that under the default settings, if MORECORE is unable to
3448 3. A call to MORECORE that cannot usually contiguously extend memory.
3465 /* Can't call MORECORE if size is negative when treated as signed */
3474 /* Subtract out existing available top space from MORECORE request. */
3524 MORECORE */
4890 /* -------------------- Alternative MORECORE functions ------------------- */
4893 Guidelines for creating a custom version of MORECORE:
4895 * For best performance, MORECORE should allocate in multiples of pagesize.
4896 * MORECORE may allocate more memory than requested. (Or even less,
4898 * MORECORE must not allocate memory when given argument zero, but
4901 * For best performance, consecutive calls to MORECORE with positive
4904 * Even though consecutive calls to MORECORE need not return contiguous
4907 * MORECORE need not handle negative arguments -- it may instead
4909 Negative arguments are always multiples of pagesize. MORECORE
4914 As an example alternative MORECORE, here is a custom allocator
4921 #define MORECORE osMoreCore
5026 * Better detection and support for non-contiguousness of MORECORE.