David Major
2f8a0aa015
Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted
2017-08-23 15:05:40 -04:00
Sebastian Hengst
cd3a8b86af
Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE
2017-08-23 18:12:46 +02:00
David Major
0aace12760
Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted
2017-08-23 11:10:39 -04:00
Mike Hommey
d3ca146523
Bug 1368932 - Add a testcase for a replace-malloc library that doesn't implement all functions. r=njn
2017-05-31 15:04:32 +09:00
Mike Hommey
1f354dbf2a
Bug 1363992 - Remove support for making jemalloc4 the default. r=njn
2017-05-11 13:16:00 +09:00
Emanuel Hoogeveen
ba1459c85c
Bug 1338574 - Part 1: Add MOZ_CRASH_UNSAFE_OOL and MOZ_CRASH_UNSAFE_PRINTF to crash with a runtime generated explanation string. r=froydnj
2017-02-21 18:01:41 +01:00
Sylvestre Ledru
c86cd0927f
Bug 1338086 - Remove useless else blocks in order to reduce complexity in memory/ r=njn
...
MozReview-Commit-ID: G7jBKlDHshQ
2017-02-09 11:24:39 +01:00
Mike Hommey
605fdf3ce8
Bug 1321093 - Avoid logalloc-replay make check failure when libstdc++ allocates memory in some static initializer. r=njn
2016-11-30 07:22:20 +09:00
Emanuel Hoogeveen
2ab5f433fd
Bug 1309573 - Part 2: Define MOZ_HAS_MOZGLUE in various places so that the crash reason gets used. r=glandium
2016-11-08 03:53:00 -05:00
Mike Hommey
e02f259e7a
Bug 1303232 - Use per-process reduced thread-ids when munging logalloc logs. r=njn
...
Bug 1300948 added thread-ids to logalloc logs, and logalloc_munge.py was
munging them all as if they were all under the same namespace. But when
filtering munged logs to only contain logs from a given process,
thread-ids then don't necessarily start from 1, which would be the
desired outcome.
So use a different pool of thread-ids for each process.
2016-09-20 13:44:27 +09:00
Mike Hommey
478295f55b
Bug 1300974 - Work around race condition leading to deadlock on fork when enabling LogAlloc. r=njn
2016-09-08 07:56:02 +09:00
Mike Hommey
5e0fc294de
Bug 1300948 - Add thread identifier to LogAlloc output. r=njn
2016-09-08 07:55:03 +09:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Alexandre Lissy
b2834a3543
Bug 1284674 - Remove NUWA r=cyu
...
MozReview-Commit-ID: GyMRNzOBKw6
2016-08-02 14:54:00 +02:00
Tom Tromey
1b5a2bdb96
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Chris Peterson
1e35dbdf75
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Mike Hommey
328053961a
Bug 1235738 - Move MOZ_DEBUG_DEFINES to build frontend. r=gps
...
MOZ_DEBUG_DEFINES are essentially defines used everywhere. So treat them as
feeding the initial value for DEFINES in each moz.build sandbox. This allows
the kind overrides that was done in the past by resetting MOZ_DEBUG_DEFINES
in Makefiles.
2015-12-31 07:27:23 +09:00
Mike Hommey
8e1b364f27
Bug 1209875 - Get rid of XULPPFLAGS. r=gps
...
The flags added in toolkit/locales/Makefile.in turn out not to be actually
used, so just remove that.
The remaining uses of XULPPFLAGS are to set debug flags depending on whether
MOZ_DEBUG is set or not. Just set a dedicated variable with the right value
from configure.
2015-10-01 07:30:48 +09:00
Chris Peterson
752223fd52
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Nicholas Nethercote
e8452d2670
Bug 1202965 (part 2) - Use MOZ_UNUSED in FdPrintf.c. r=glandium.
2015-09-09 17:01:32 -07:00
Mike Hommey
f35b22f2be
Bug 1201792 - s/MOZ_JEMALLOC3/MOZ_JEMALLOC4/. r=njn
2015-09-04 15:15:47 +09:00
Nicholas Nethercote
ba32a0523f
Bug 1200623 - Fix FdPrintf.o link error in --disable-optimize builds. r=glandium.
2015-09-01 17:52:56 -07:00
Nicholas Nethercote
d47c1cf452
Bug 1200097 - Fix warnings in logalloc. r=glandium.
2015-08-31 16:53:13 -07:00
Nicholas Nethercote
12fec02dfb
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Makoto Kato
e8fc4b202b
Bug 830801 - Part 3. Remove NOMINMAX define from cpp source. r=mshal
2015-08-03 10:07:20 +09:00
Ehsan Akhgari
d5c417f392
Bug 1188209 - Fix more constructors in memory; r=njn
2015-07-28 08:53:29 -04:00
Ehsan Akhgari
9aea0e3f0a
Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
...
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
bcf61be505
Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE
2015-04-21 15:47:40 -07:00
Ehsan Akhgari
e383d2c003
Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
...
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 16:31:58 -04:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Masatoshi Kimura
bae0a32948
Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo
2015-01-11 11:34:52 +09:00
Ehsan Akhgari
6ef7b88a88
Bug 1109746 - Fix more bad implicit constructors in some random code across the tree
2014-12-13 14:17:04 -05:00
Mike Hommey
116f10a3de
Bug 1098967 - Use native Win32 APIs to append to the LogAlloc output. r=nfroyd
...
Because it turns out that the POSIX API the CRT exposes doesn't do O_APPEND
in a sane manner.
2014-11-19 09:46:49 +09:00
Mike Hommey
9636dfc30e
Bug 1087245 part 2 - Register the MALLOC_LOG file handle from LogAlloc to poison IO interposer. r=nfroyd
2014-11-18 19:21:06 +09:00
Mike Hommey
6e86d77dc0
Bug 818922 - Add bidirectional method calls with replace-malloc library. r=njn
2014-11-18 19:21:06 +09:00
Guilherme Goncalves
de6737fe81
Bug 1093174 - Properly compute the total size for calloc() calls. r=glandium
2014-11-03 09:01:00 -05:00
Mike Hommey
632dbaeb90
Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
...
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.
Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.
Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey
748473a643
Bug 1083686 - Tool to capture and reproduce Firefox's memory allocations. r=njn,r=mshal
2014-10-24 13:08:01 +09:00