Commit Graph

267 Commits

Author SHA1 Message Date
Mike Hommey
d824ba74fd Bug 826171 - Fix strndup in memory/build/mozmemory_wrap.c. r=jlebar 2013-01-03 16:05:20 +01:00
Trevor Saunders
6380733341 bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Justin Lebar
4667550ede Bug 824395 - Report used stacks separately from unused stacks. r=njn 2012-12-23 21:48:03 -05:00
Nicholas Nethercote
31198c8eea Bug 824340 - DMD: fix a deadlock when getting stack traces. r=jlebar.
--HG--
extra : rebase_source : c0bb85cddb6abed0eedd49d959001a0b95667946
2012-12-23 17:35:56 -08:00
Nicholas Nethercote
650d95bc63 Bug 824390 - DMD: Don't use PTHREAD_MUTEX_INITIALIZER for non-static mutexes. r=jlebar.
--HG--
extra : rebase_source : a8cdd5e3d3db05cbb78441477508c05168e67ecd
2012-12-23 17:35:23 -08:00
Nicholas Nethercote
53b2e2c546 Bug 822148 (part 9) - DMD: rename "groups" as "records". r=jlebar.
--HG--
extra : rebase_source : e48e309bb7efc62ef52202e50e0f662814108e54
2012-12-17 21:54:08 -08:00
Nicholas Nethercote
2f717ac5d7 Bug 822148 (part 8) - DMD: remove a friend declaration. r=jlebar.
--HG--
extra : rebase_source : c9c23e0bcb2d6a50085daf23d7be04614efa7ac8
2012-12-19 19:48:43 -08:00
Nicholas Nethercote
d918ebce9e Bug 822148 (part 7) - DMD: use Percent() in a couple of appropriate places. r=jlebar.
--HG--
extra : rebase_source : 4f99a7aca69ccf821209169a5b91c50738de736c
2012-12-19 19:41:57 -08:00
Nicholas Nethercote
dd849c50d1 Bug 822148 (part 6) - DMD: print block counts in the summary. r=jlebar.
--HG--
extra : rebase_source : 84c3cff46912bc7b9fe3bb4790d2cec874ae3201
2012-12-18 19:08:07 -08:00
Nicholas Nethercote
2e279fe871 Bug 822148 (part 5) - DMD: avoid empty library names in stacks. r=jlebar.
--HG--
extra : rebase_source : dcf7ebcc296663221dc7f671cd151d5d1f438971
2012-12-17 21:55:12 -08:00
Nicholas Nethercote
c759e65b06 Bug 822148 (part 4) - DMD: Capitalize class Thread's method names. r=jlebar.
--HG--
extra : rebase_source : 6cb59d548f2e972398c6a14cdfe44d2a2d474af0
2012-12-17 19:59:29 -08:00
Nicholas Nethercote
37005fd521 Bug 822148 (part 3) - DMD: Rename |LiveBlock| as |Block|. r=jlebar.
--HG--
extra : rebase_source : 65ccba830ca872fd28a410122ebf65c12cbf6377
2012-12-17 19:56:51 -08:00
Nicholas Nethercote
d1985a03e0 Bug 822148 (part 2) - DMD: Treat twice-reported blocks more like other blocks. r=jlebar.
--HG--
extra : rebase_source : 345123de945a3c26ec6ca88a599b45efddc4209e
2012-12-17 19:40:07 -08:00
Nicholas Nethercote
0d26120cb5 Bug 822148 (part 1) - DMD: remove reporter names from output because they're redundant. r=jlebar.
--HG--
extra : rebase_source : c9bf57dbd3612719ba60951cb14988ec38b392f0
2012-12-16 16:56:04 -08:00
Nicholas Nethercote
023fca81d9 Bug 822700 - When DMD is disabled its SizeOf() function shouldn't try to measure non-existent structures. r=jlebar.
--HG--
extra : rebase_source : 21066e5173dbc7e4a6c7615f1b355989bf046082
2012-12-18 15:14:31 -08:00
Kartikaya Gupta
ff89d55966 Bug 822698 - Rename GroupSize to GetGroupSize to fix a gcc 4.6 compilation error on Android. r=njn 2012-12-19 11:24:49 -05:00
Nicholas Nethercote
43f1555e44 Bug 821577 - DMD: Fix hang at start-up on Mac. r=jlebar.
--HG--
extra : rebase_source : 39b46f3a7b8aead6e971f55cb0821f443b7368dc
2012-12-13 19:42:47 -08:00
Nicholas Nethercote
331a06e2d2 Bug 819817 - DMD: cache calls to NS_DescribeCodeAddress for faster dumping. r=jlebar.
--HG--
extra : rebase_source : 418ef965586c5cafa5623d72d1ae92ea8ee749c2
2012-12-13 16:58:28 -08:00
Ehsan Akhgari
590bab4d4b Bug 820875 - Reimplement DMD's MutexBase using critical sections; r=bbondy 2012-12-13 19:51:41 -05:00
Ehsan Akhgari
dff7c46c55 Bug 821358 - Port the trace-malloc Windows TLS macros to DMD; r=njn 2012-12-13 19:47:41 -05:00
Nicholas Nethercote
f68111e9de Bug 820652 (part 7) - DMD: Fix bug in strdup_. r=jlebar.
--HG--
extra : rebase_source : d15a08687b465c9c63c8a3786fdc7ba2539f2b82
2012-12-12 21:57:23 -08:00
Nicholas Nethercote
be93835e35 Bug 820652 (part 6) - DMD: Don't use LiveBlockKey in LiveBlock. r=jlebar.
--HG--
extra : rebase_source : b65e0d34f6787a0f5031b685ececc61e19d4b0a3
2012-12-12 21:40:01 -08:00
Nicholas Nethercote
5ec1f90b98 Bug 820652 (part 5) - DMD: Store the block address in LiveBlock. r=jlebar.
--HG--
extra : rebase_source : ff147323054910d946e0023a97726c9e2268f733
2012-12-12 21:16:28 -08:00
Nicholas Nethercote
9d244ab0f2 Bug 820652 (part 4) - DMD: Inline BlockSize into LiveBlock. r=jlebar.
--HG--
extra : rebase_source : a543b4df4cbcecca8c6e59b6722a3a2b7298c2fa
2012-12-12 20:16:20 -08:00
Nicholas Nethercote
67b10f4d22 Bug 820652 (part 3) - DMD: Distinguish BlockSize and GroupSize. r=jlebar.
--HG--
extra : rebase_source : de31af9d5c00e52a7f775d7e0e11204edcb9e21b
2012-12-11 19:47:46 -08:00
Nicholas Nethercote
784df47c48 Bug 820652 (part 2) - DMD: Embriefen the hash policy of LiveBlockGroup and DoubleReportBlockGroup. r=jlebar.
--HG--
extra : rebase_source : 41d1190f86cb2514c3b93717be6975d197226474
2012-12-11 19:46:53 -08:00
Nicholas Nethercote
e4bc626684 Bug 820652 (part 1) - DMD: Split BlockKey in two, and fix the ensuing fall-out. r=jlebar.
--HG--
extra : rebase_source : 9fdda42f633b209b0111fe6104e08b5028dda8b5
2012-12-11 19:08:38 -08:00
Nicholas Nethercote
05afc3e8ce Bug 820682 - DMD: Tweak stress mode. r=jlebar.
--HG--
extra : rebase_source : a9f9fe54ae78a7c959479a8818a62a23f6c7fa53
2012-12-11 17:52:04 -08:00
Ehsan Akhgari
0f661a6534 Bug 820875 - Implement MutexBase on Windows; r=bbondy 2012-12-12 11:18:17 -05:00
Nicholas Nethercote
036385fed8 Bug 819772 - Add a memory reporter for DMD's data. r=jlebar.
--HG--
extra : rebase_source : d85f4f08b3c0ec5e81bde9caa63699e60a303b33
2012-12-11 13:54:11 -08:00
Nicholas Nethercote
286438a568 Bug 819833 (part 1) - DMD: Print PCs at the end of lines. r=jlebar.
--HG--
extra : rebase_source : ce17d41f692c2babb9d7aec9dbca00ab42d10250
2012-12-10 19:26:56 -08:00
Justin Lebar
3e112225e8 Bug 820401 - Default DMD to sample-below=4093. r=njn
Also print out the sample size, since it's no longer explicit in the $DMD envvar.
2012-12-11 18:26:43 -05:00
Nicholas Nethercote
bc6e504af4 Bug 717853 - Add a native version of DMD. r=jlebar,glandium.
--HG--
extra : rebase_source : 9b824556591abd63b42aa7ff823e9cd25976c162
2012-12-10 16:05:07 -08:00
Mike Hommey
d631bf6223 Bug 804303 part 3 - Build jemalloc3 as a replace-malloc library when building with mozjemalloc. r=khuey 2012-12-07 09:32:24 +01:00
Mike Hommey
59b6cf75be Bug 804303 part 2 - Add ability to dynamically replace or supplement jemalloc implementation. r=jlebar,r=khuey 2012-12-07 09:32:24 +01:00
Mike Hommey
d5e3887cb4 Bug 804303 part 1 - Cleanup how the mozjemalloc/jemalloc3 glue is set up, attempting to make it clearer. r=jlebar,r=khuey
--HG--
rename : memory/build/extraMallocFuncs.c => memory/build/jemalloc_config.c
rename : memory/mozjemalloc/jemalloc.h => memory/build/mozmemory.h
rename : memory/build/extraMallocFuncs.c => memory/build/mozmemory_wrap.c
2012-12-07 09:32:24 +01:00
Mike Hommey
7a1f556209 Bug 815071 - Update jemalloc3 to commit 6eb84fb. r=jlebar 2012-12-07 09:32:23 +01:00
Gabriele Svelto
b0e4008f39 Bug 811740 - Reduce the amount of unused dirty pages kept by jemalloc to 1MiB in B2G. r=jlebar, r=glandium 2012-11-28 17:03:35 +01:00
Gabriele Svelto
31446e19f7 Bug 805855 - Add an extra function to jemalloc to free dirty unused pages. r=glandium 2012-11-08 20:06:50 +01:00
Rafael Ávila de Espíndola
7a1ec44b6c Bug 807112 - change MOZ_EXPORT_API and MOZ_IMPORT_API to not take the type. r=Waldo. 2012-10-31 18:18:12 -04:00
Jacek Szpot
3864cd4332 Bug 800106: Replace more NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00
Jan Beich
376af77a1a Bug 762445 - Add jemalloc3 glue for heap-committed, heap-dirty in about:memory. r=glandium,jlebar 2012-10-18 16:09:07 +02:00
Jan Beich
5291459067 Bug 788955 - Check for malloc_usable_size() and malloc_np.h via autoconf. r=glandium 2012-10-17 16:39:15 +02:00
Jan Beich
3f52b11bfc Bug 788955 - Mark some jemalloc functions as weak on BSDs. r=glandium 2012-10-17 16:38:43 +02:00
Jan Beich
4697f18049 Bug 788955 - Without --enable-jemalloc detect and use jemalloc3 in libc. r=glandium 2012-10-17 16:36:49 +02:00
Mike Hommey
69de5256ca Bug 799090 - Update jemalloc3 to commit d0ffd8e. r=jlebar 2012-10-17 16:29:28 +02:00
Ehsan Akhgari
71927a786f Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP 2012-10-15 14:19:55 -04:00
Chris Jones
db11da9481 Bug 799849: Wrap nothrow libstdc++ allocators. r=glandium 2012-10-13 03:16:53 -07:00
Jacek Szpot
b848f67ec0 Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan 2012-10-13 17:52:10 +02:00
Justin Lebar
be343871b9 Bug 787675 - When jemalloc hits a fatal assertion, crash within a new stack frame, in the hopes of making the crashstats more understandable. r=glandium 2012-09-03 22:01:24 -04:00