Deleted Added
full compact
116c116
< void
---
> bool
118a119
> bool unzeroed;
121a123
> unzeroed = true;
124a127
> # define JEMALLOC_MADV_ZEROS true
126a130
> # define JEMALLOC_MADV_ZEROS false
130c134,137
< madvise(addr, length, JEMALLOC_MADV_PURGE);
---
> int err = madvise(addr, length, JEMALLOC_MADV_PURGE);
> unzeroed = (JEMALLOC_MADV_ZEROS == false || err != 0);
> # undef JEMALLOC_MADV_PURGE
> # undef JEMALLOC_MADV_ZEROS
131a139
> return (unzeroed);