Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid over-allocation of brk on first malloc | Rich Felker | 2011-04-01 | 1 | -4/+4 |
| | | | | | | | if init_malloc returns positive (successful first init), malloc will retry getting a chunk from the free bins rather than expanding the heap again. also pass init_malloc a hint for the size of the initial allocation. | ||||
* | very cheap double-free checks in malloc | Rich Felker | 2011-03-23 | 1 | -0/+4 |
| | |||||
* | make malloc(0) return unique pointers rather than NULL | Rich Felker | 2011-02-20 | 1 | -5/+9 |
| | | | | | | | this change is made with some reluctance, but i think it's for the best. correct programs must handle either behavior, so there is little advantage to having malloc(0) return NULL. and i managed to actually make the malloc code slightly smaller with this change. | ||||
* | initial check-in, version 0.5.0 v0.5.0 | Rich Felker | 2011-02-12 | 1 | -0/+515 |