Bug 419470: Re-enable PGO for Linux mozjemalloc. r=glandium
authorDavid Major <dmajor@mozilla.com>
Wed, 22 Feb 2017 09:46:06 +1300
changeset 344170 972714aa03b210476c57991c58e30ea9f98745e2
parent 344169 bc401cae3a9074ad98566042c7e4188881dcefaf
child 344171 125a0e765379cebd702ecbcda6b60b56076e95c4
push id31402
push usercbook@mozilla.com
push dateWed, 22 Feb 2017 13:33:50 +0000
treeherdermozilla-central@f5372cb6c3c7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs419470
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 419470: Re-enable PGO for Linux mozjemalloc. r=glandium It only took nine years. MozReview-Commit-ID: 2zsCBMTJ6O1
memory/mozjemalloc/moz.build
--- a/memory/mozjemalloc/moz.build
+++ b/memory/mozjemalloc/moz.build
@@ -23,21 +23,16 @@ if not CONFIG['MOZ_JEMALLOC4']:
 # helps us catch memory errors.
 if CONFIG['MOZ_UPDATE_CHANNEL'] not in ('release', 'esr'):
     DEFINES['MOZ_JEMALLOC_HARD_ASSERTS'] = True
 
 DEFINES['abort'] = 'moz_abort'
 
 DEFINES['MOZ_JEMALLOC_IMPL'] = True
 
-#XXX: PGO on Linux causes problems here
-# See bug 419470
-if CONFIG['OS_TARGET'] == 'Linux':
-    NO_PGO = True
-
 LOCAL_INCLUDES += [
     '/memory/build',
 ]
 
 if CONFIG['GNU_CC']:
     CFLAGS += ['-Wno-unused'] # too many annoying warnings from mfbt/ headers
 
 if CONFIG['_MSC_VER']: