commit | cb00a7de88ddbf87aa46d32a8c9006c5b6490db2 | [log] [tgz] |
---|---|---|
author | Valentin Bartenev <vbart@nginx.com> | Wed Mar 23 17:44:04 2016 +0300 |
committer | Valentin Bartenev <vbart@nginx.com> | Wed Mar 23 17:44:04 2016 +0300 |
tree | 8b19296108bd9b8d8622f8805b10675b8fb0295b | |
parent | 7706b2c42bb2089cc6cff46ba68fe6cb06bca00d [diff] |
Core: introduced the NGX_DEBUG_PALLOC macro. It allows to turn off accumulation of small pool allocations into a big preallocated chunk of memory. This is useful for debugging memory access with sanitizer, since such accumulation can cover buffer overruns from being detected.