]> git.kaiwu.me - njs.git/commit
NXT_DEBUG_MEMORY macro.
authorValentin Bartenev <vbart@nginx.com>
Thu, 8 Dec 2016 16:29:40 +0000 (19:29 +0300)
committerValentin Bartenev <vbart@nginx.com>
Thu, 8 Dec 2016 16:29:40 +0000 (19:29 +0300)
commit3578edef98a47b53d9f47ef4e34070120debf3e2
treeaf7209a8e0b3c48285fe475e8b9cb6f20ab9798d
parent5a7ad9b6fe01839500788c90b26bc5ba903a6101
NXT_DEBUG_MEMORY 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.
nxt/nxt_mem_cache_pool.c