Remove support for making jemalloc4 the default memory allocator.

This commit is contained in:
wolfbeast 2018-04-27 13:56:47 +02:00 • committed by Roy Tam
commit 797ca533f9
12 changed files with 32 additions and 439 deletions

View file

@ -8,16 +8,15 @@ EXPORTS += [
'jemalloc_types.h',
]
if not CONFIG['MOZ_JEMALLOC4']:
SOURCES += [
'jemalloc.c',
]
FINAL_LIBRARY = 'memory'
SOURCES += [
'jemalloc.c',
]
FINAL_LIBRARY = 'memory'
# See bug 422055.
if CONFIG['OS_ARCH'] == 'SunOS' and not CONFIG['GNU_CC'] \
and CONFIG['MOZ_OPTIMIZE']:
CFLAGS += ['-xO5']
# See bug 422055.
if CONFIG['OS_ARCH'] == 'SunOS' and not CONFIG['GNU_CC'] \
and CONFIG['MOZ_OPTIMIZE']:
CFLAGS += ['-xO5']
# For non release/esr builds, enable (some) fatal jemalloc assertions. This
# helps us catch memory errors.