Always disable redzone by default.
Always disable redzone by default, even when --enable-debug is specified. The memory overhead for redzones can be substantial, which makes this feature something that should only be opted into.
This commit is contained in:
parent
c751b1c2b0
commit
d6abcbb14b
@ -865,9 +865,7 @@ for (i = 0; i < nbins; i++) {
|
||||
url="http://http://valgrind.org/">Valgrind</ulink>, which needs
|
||||
redzones in order to do effective buffer overflow/underflow detection.
|
||||
This option is intended for debugging and will impact performance
|
||||
negatively. This option is disabled by default unless
|
||||
<option>--enable-debug</option> is specified during configuration, in
|
||||
which case it is enabled by default.</para></listitem>
|
||||
negatively. This option is disabled by default.</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="opt.zero">
|
||||
|
@ -14,17 +14,15 @@ const char *je_malloc_conf JEMALLOC_ATTR(visibility("default"));
|
||||
bool opt_abort = true;
|
||||
# ifdef JEMALLOC_FILL
|
||||
bool opt_junk = true;
|
||||
bool opt_redzone = true;
|
||||
# else
|
||||
bool opt_junk = false;
|
||||
bool opt_redzone = false;
|
||||
# endif
|
||||
#else
|
||||
bool opt_abort = false;
|
||||
bool opt_junk = false;
|
||||
bool opt_redzone = false;
|
||||
#endif
|
||||
size_t opt_quarantine = ZU(0);
|
||||
bool opt_redzone = false;
|
||||
bool opt_utrace = false;
|
||||
bool opt_valgrind = false;
|
||||
bool opt_xmalloc = false;
|
||||
|
Loading…
Reference in New Issue
Block a user