mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-22 10:52:12 +03:00
Remove the "opt.valgrind" mallctl.
Remove the "opt.valgrind" mallctl because it is unnecessary -- jemalloc automatically detects whether it is running inside valgrind.
This commit is contained in:
parent
a2c719b374
commit
ecd3e59ca3
7 changed files with 24 additions and 41 deletions
|
|
@ -146,7 +146,7 @@ quarantine(void *ptr)
|
|||
* Only do redzone validation if Valgrind isn't in
|
||||
* operation.
|
||||
*/
|
||||
if ((config_valgrind == false || opt_valgrind == false)
|
||||
if ((config_valgrind == false || in_valgrind == false)
|
||||
&& usize <= SMALL_MAXCLASS)
|
||||
arena_quarantine_junk_small(ptr, usize);
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue