Ehsan Akhgari
b870bb3fe9
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Eric Rahm
2e1050c23e
Bug 968956 - DMD: Acquire state lock before clearing reports. r=njn.
...
DONTBUILD because DMD is NPOTB.
--HG--
extra : rebase_source : c3e5b2f27d4983c5802f1a38c8accc31a2b07fa2
2014-02-07 15:23:50 -08:00
Marcin Juszkiewicz
f859be2f82
Bug 963028 - AArch64 support for jemalloc. r=froydnj
2014-01-23 16:34:31 -05:00
Shelly Lin
a031d65530
Bug 801571 - Override vasprintf and asprint for Android platform to avoid the mismatch of malloc()/free(). r=glandium
2014-01-17 16:54:06 +08:00
Ryan VanderMeulen
41ae41c2b0
Backed out changeset 4230d328b65f (bug 801571) for memory leaks.
2014-01-17 14:25:28 -05:00
Shelly Lin
7e0c060dfd
Bug 801571 - Override vasprintf and asprint for Android platform to avoid the mismatch of malloc()/free(). r=glandium
...
DONTBUILD
2014-01-17 16:54:06 +08:00
Ryan VanderMeulen
c078284cba
Backed out changeset 0496d73bf88e for landing with the wrong bug # in the commit message.
2014-01-17 11:13:30 -05:00
Shelly Lin
ad1c315a7d
Bug 801517 - Override vasprintf and asprint for Android platform to avoid the mismatch of malloc()/free(). r=glandium
2014-01-17 16:54:06 +08:00
Kai-Zhen Li
b16aaa6f7f
Bug 957450 - fix compile error from jemalloc in gonk-kk. r=gal
2014-01-10 14:14:53 +08:00
Marco Chen
e515090378
Backout 977d6be3df40 Bug 957450 - The added "or condition" didn't prevent gonk-kk version fall into non-const definition.
2014-01-15 15:55:12 +08:00
Jon Coppeard
0956f2e4d6
Bug 956501 - Update mozjemalloc chunk_alloc_mmap functions to latest upstream version r=glandium
2014-01-14 10:06:25 +00:00
Kai-Zhen Li
8d36cf0bd0
Bug 957450 - fix compile error in gonk-kk. r=iacobcatalin
2014-01-10 14:14:53 +08:00
Nicholas Nethercote
bc3240a496
Bug 950545 (part 2) - Fix assertion failures and output mismatches in the DMD test. r=iacobcatalin.
...
DONTBUILD because DMD is NPOTB
--HG--
extra : rebase_source : 48388b467bcbce8347792c8e7f0cb45b1fc177aa
2013-12-18 13:58:08 -08:00
Nicholas Nethercote
062f3b1e47
Bug 950545 (part 1) - Fix the dump numbering in the DMD test. r=iacobcatalin.
...
--HG--
extra : rebase_source : 2b04382850c19aff46fce02d02ce1c235edde473
2013-12-18 13:55:47 -08:00
Nicholas Nethercote
c53ec0ce66
Bug 948621 (part 2) - Abort DMD-enabled Windows builds unless --enable-profiling is specified. r=ehsan.
...
--HG--
extra : rebase_source : 7398d8d7f13792912f27948f9681ff608a0e90c6
2013-12-15 13:50:39 -08:00
Nicholas Nethercote
6d00ee88e5
Bug 948621 (part 1) - DMD: Handle arbitrary PC values in stack frames. r=iacobcatalin.
...
DONTBUILD because NPOTB
--HG--
extra : rebase_source : 63a30251498dc5e5df2952a468f46ada8598e03e
2013-12-15 13:47:11 -08:00
Mike Hommey
3325256d97
Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn
2013-12-09 13:39:26 +09:00
Birunthan Mohanathas
2a97f4dc0d
Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo
2013-12-08 21:52:33 -05:00
Mike Shal
94d19c46f2
Bug 875013 - Remove VPATH; r=glandium
2013-11-21 14:57:06 -05:00
Markus Stange
3847e1823e
Bug 945131 - Fix DMD build by using const char*. r=njn
...
DONTBUILD because NPOTB
2013-12-02 23:13:20 +01:00
Catalin Iacob
7528af489d
Bug 819839 - Part 2 - Print file name and line number if available in DMD report. r=njn
2013-11-29 16:09:42 +01:00
Mike Hommey
9245936f8b
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-27 22:55:07 +09:00
Mike Hommey
2b828323f2
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
...
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Mike Hommey
d210f8ff00
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
2013-11-28 13:08:16 +09:00
Catalin Iacob
34e8b4863e
Bug 940218 - Build memory/ in unified mode; r=ehsan
2013-11-25 12:09:59 +01:00
Ehsan Akhgari
420fcbeed2
Backed out changeset c3d41ab0a2df (bug 940218) for causing bug 941616
...
--HG--
extra : rebase_source : c0d9b2840ddb6a6b88b86cfc3e3a6810ac9e37e2
2013-11-21 14:28:52 -05:00
Nathan Froyd
769a285e52
Bug 941616 - fix jemalloc build for --enable-replace-malloc; r=ehsan
2013-11-21 09:46:32 -05:00
Chris Peterson
8c9d97fa4e
Bug 940218 - Build memory/jemalloc and friends in unified mode. r=glandium
2013-11-17 01:16:36 -08:00
Mike Hommey
b95448fc0b
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
2013-11-19 11:47:45 +09:00
Mike Hommey
bb6779efe3
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
57a2dfcb91
Bug 939039 - Remove now useless FORCE_STATIC_LIB definitions. r=gps
2013-11-19 11:47:28 +09:00
Mike Hommey
d7b6f95761
Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps
2013-11-19 11:47:14 +09:00
Birunthan Mohanathas
58a91e67d8
Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan
2013-11-11 14:17:14 -05:00
Daniel Holbert
bd6e7083c6
Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg
2013-10-31 19:39:03 -07:00
David Major
986ec3972c
Bug 931196 - Remove MOZ_TEMP_INVESTIGATION poisoning code. r=glandium
2013-10-31 11:52:08 -04:00
Ted Mielczarek
154a815b9e
Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal
2013-10-24 15:06:19 -04:00
Cykesiopka
b49b10627d
Bug 914270 - Part 2: Manual moves. r=joey
2013-10-24 18:52:00 +01:00
Cykesiopka
a3710e5c11
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Mike Hommey
e2ae65f67a
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Masatoshi Kimura
610685c38b
Bug 928210 - Get rid of MOZ_INLINE
2013-10-22 06:34:24 +09:00
Nathan Froyd
1012aff6b9
Bug 925169 - part 1 - don't use MOZ_MEMORY_SIZEOF_PTR_2POW in jemalloc.c; r=glandium
2013-10-09 19:04:43 -04:00
Ms2ger
41452165ce
Bug 923489 - Part c: qualify paths in memory/replace/dmd/; r=gps
2013-10-05 13:28:25 +02:00
Ms2ger
7b5622b8dd
Bug 923489 - Part b: qualify paths in memory/replace/jemalloc/; r=gps
2013-10-05 12:19:08 +02:00
Ms2ger
c521a390af
Bug 923489 - Part a: qualify paths in memory/jemalloc/; r=gps
2013-10-05 12:18:36 +02:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Douglas Crosher
1c4d303bce
Bug 908971 - jemalloc: fix uninitialized 'mapped' variable. r=jlebar
2013-08-24 13:35:08 +10:00
Justin Lebar
b966ab06c5
Bug 903420 - Two fixes to jemalloc's memory reporters. r=glandium
...
1) We were counting "dirty" pages in "waste", when we shouldn't have
been. This was causing the assertion at the end of jemalloc_stats()
which checks that mapped memory is greater than committed memory to
fail.
2) jemalloc_stats used stats_chunks.curchunks to measure the number of
mapped pages. This was problematic for two reasons.
a) stats_chunks.curchunks was not locked when it was modified in
chunk_{de}alloc(), so its value could be garbage.
b) Even if it had been locked properly, it was possible for an
allocation to occur during a call to jemalloc_stats which would
cause the measured amount of allocated memory to exceed the
measured amount of mapped memory, tripping the assertion we
tripped in (1).
We fixed these issues by deleting stats_chunks entirely, and by
introducing huge_mapped, which measures the amount of memory mapped
by huge allocations (and is properly protected by huge_mtx).
We now measure the amount of mapped memory by adding huge_mapped and
each arena's mapped memory, and we do this in such a way that even if
an allocation occurs during our call to jemalloc_stats, we'll still
get a consistent result (where mapped >= committed).
2013-08-15 11:15:04 -07:00
Mike Hommey
987e662e58
Bug 901211 - Don't use static page size on ia64, sparc and mips. r=jlebar
2013-08-05 09:10:35 +09:00