Bug 419470: Re-enable PGO for Linux mozjemalloc. r=glandium
authorDavid Major <dmajor@mozilla.com>
Wed, 22 Feb 2017 09:46:06 +1300
changeset 373197 972714aa03b210476c57991c58e30ea9f98745e2
parent 373196 bc401cae3a9074ad98566042c7e4188881dcefaf
child 373198 125a0e765379cebd702ecbcda6b60b56076e95c4
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs419470
milestone54.0a1
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']: