aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/debug
blob: 3a251fd458e8e638ebc4a2299aee0361d87d01e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# MALLOC_CHECK_: should the system (libc) malloc check for memory errors?
# Used values are:
# unset: do not check
# 0: silently ignore errors
# 1: print diagnostics on stderr when an error is detected
# 2: call abort when an error is detected
export MALLOC_CHECK_=1

# MALLOC_PERTURB_: initialize cleared memory to the specified value
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))

# Perform extra sanity checking in the gslice allocator
export G_SLICE=debug-blocks