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:
Jason Evans
2012-04-12 17:09:54 -07:00
parent c751b1c2b0
commit d6abcbb14b
2 changed files with 2 additions and 6 deletions

View File

@@ -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;