Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 42411: Assume current C librarires handle free(NULL) | Taylor West | 2018-03-04 | 1 | -4/+2 |
| | |||||
* | 42401: workaround for gcc -foptimize-strlen oddit. | Peter Stephenson | 2018-02-26 | 1 | -1/+7 |
| | | | | Use realloc(NULL, ...) instead of malloc in zsh-mem calloc(). | ||||
* | 39874/0002 plus size=0 handling: zshcalloc: Remove code duplication. No ↵ | Daniel Shahaf | 2016-11-11 | 1 | -9/+1 |
| | | | | functional change. | ||||
* | 39680: correctly handle case of popping last arena | Barton E. Schaefer | 2016-10-19 | 1 | -1/+2 |
| | | | | | This mattered only when compiling with --enable-stack-allocation because otherwise the heap was never completely empty. | ||||
* | 39561: missing unqueue_signals() when ZSH_HEAP_DEBUG | Barton E. Schaefer | 2016-10-04 | 1 | -2/+7 |
| | |||||
* | 39545: Add some missing unqueue_signals(). | Peter Stephenson | 2016-10-03 | 1 | -2/+6 |
| | | | | All of these are added simply to fit existing logic in other branches. | ||||
* | 39086: declare file local variables as 'static' | Jun-ichi Takimoto | 2016-08-23 | 1 | -2/+2 |
| | |||||
* | unposted (cf. 36998,36999): undo 36956 / restore 34451 with expanded comment ↵ | Barton E. Schaefer | 2015-10-31 | 1 | -4/+3 |
| | | | | about the flip-flopping | ||||
* | 36906: quite_signals() in ZSH_MEM realloc() | Kamil Dudka | 2015-10-26 | 1 | -2/+7 |
| | |||||
* | 36956: revert 34451, mmap() is too slow on MacOS | Barton E. Schaefer | 2015-10-26 | 1 | -0/+7 |
| | |||||
* | 36943: restore scan for reclaimable blocks in freeheap() | Barton E. Schaefer | 2015-10-24 | 1 | -2/+8 |
| | | | | | | That scan had been removed by 36834, but testing showed memory usage climbing too high in cases where a new arena was always added at the end of the heap list. | ||||
* | One crucial assignment accidentally lost from 36834 when merging 36836. | Barton E. Schaefer | 2015-10-11 | 1 | -2/+3 |
| | |||||
* | 36836: zhalloc() avoids re-scanning all heaps when the last known heap with ↵ | Barton E. Schaefer | 2015-10-11 | 1 | -4/+8 |
| | | | | | | | free space does not have enough space This is the second of two performance optimizations for situations where all heap arenas in the list are mostly full. | ||||
* | 36834: freeheap preserves last allocated heap | Barton E. Schaefer | 2015-10-11 | 1 | -13/+52 |
| | | | | | This is the first of two optimizations to improve heap performance when there are a large number of mostly-filled heap arenas. | ||||
* | 34451: use mmap() also on Mac OS X | Jun-ichi Takimoto | 2015-02-03 | 1 | -0/+4 |
| | | | | | Let MAP_ANONYMOUS be an alias to MAP_ANON if the former is not defined. | ||||
* | 32853: redefine VARARR() to use heap rather than stack allocation | Barton E. Schaefer | 2014-07-24 | 1 | -1/+4 |
| | | | | enable old behavior via "configure --with-stack-allocation" | ||||
* | 32789: --enable-zsh-valgrind allows analysis of heap allocation | Peter Stephenson | 2014-06-24 | 1 | -4/+95 |
| | |||||
* | 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation | Nikolas Garofil | 2014-06-07 | 1 | -3/+3 |
| | | | | | | | | | | | fixes Src/utils.c: properly ifdef declarations Src/zsh_system.h: memmove() should return its dest argument Src/signals.c: define ret before use Src/mem.c: remove unused pointers Src/prototypes.h: use size_t in bcopy() Src/compat.c: fix const declaration inconsistency | ||||
* | unposted: reformulate 32285 to lift the fheap->sp test out of the loop, ↵ | Barton E. Schaefer | 2014-01-22 | 1 | -15/+9 |
| | | | | improve commentary | ||||
* | 32285: restart the fheap search in freeheap if the current fheap arena is ↵ | Barton E. Schaefer | 2014-01-18 | 1 | -0/+9 |
| | | | | about to be discarded; fixes crash | ||||
* | 29282: hide prototypes for ZSH_HEAP_DEBUG with #ifdef's | Peter Stephenson | 2011-05-14 | 1 | -0/+5 |
| | |||||
* | 29267: add -enable-zsh-debug and use for debugging completion matcher groups | Peter Stephenson | 2011-05-14 | 1 | -0/+194 |
| | |||||
* | 29175: optimize freeheap | Bart Schaefer | 2011-05-07 | 1 | -2/+22 |
| | |||||
* | 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong. | Peter Stephenson | 2008-09-11 | 1 | -2/+2 |
| | |||||
* | 25057: better debug error on memory failure | Peter Stephenson | 2008-05-17 | 1 | -1/+1 |
| | |||||
* | 23339: make malloc(0) allocate a byte | Peter Stephenson | 2007-04-30 | 1 | -1/+17 |
| | |||||
* | 22474: use variable argument lists to improve error message handling | Peter Stephenson | 2006-05-30 | 1 | -4/+4 |
| | |||||
* | 22321: optimize 22318. | Bart Schaefer | 2006-03-06 | 1 | -0/+15 |
| | |||||
* | 20173: fix crash when reallocating heaps | Peter Stephenson | 2004-07-17 | 1 | -0/+1 |
| | |||||
* | Marked unused parameters with the new UNUSED() macro. | Wayne Davison | 2004-06-02 | 1 | -1/+1 |
| | |||||
* | fix bug I missed, somehow | Peter Stephenson | 2004-05-12 | 1 | -12/+14 |
| | |||||
* | 19920: attempt to improve hrealloc() | Peter Stephenson | 2004-05-12 | 1 | -39/+114 |
| | |||||
* | a la 19209: zcalloc -> zshcalloc | Peter Stephenson | 2003-10-29 | 1 | -2/+2 |
| | |||||
* | 17582: Improved option argument handling. | Peter Stephenson | 2002-08-27 | 1 | -8/+8 |
| | | | | unposted: Updated version to 4.1.0-dev-6 because of interface change. | ||||
* | 17503: fix various typos and spelling mistakes in source code comments | Oliver Kiddle | 2002-08-05 | 1 | -3/+3 |
| | |||||
* | two optimisations | Sven Wischnowsky | 2001-03-07 | 1 | -3/+5 |
| | |||||
* | remove 13108 (trap queues); replace with signal queueing to ensure that user ↵ | Sven Wischnowsky | 2001-01-16 | 1 | -7/+52 |
| | | | | signal handlers are only executed when it is safe to run them (13365) | ||||
* | 12846: moved simple string manipulation functions to string.c | Clint Adams | 2000-09-19 | 1 | -26/+0 |
| | |||||
* | 12411, 12419: Andrej: environment handling with fewer assumptions | Peter Stephenson | 2000-07-28 | 1 | -124/+252 |
| | |||||
* | Initial revision | Tanaka Akira | 1999-04-15 | 1 | -0/+1254 |