Commit Graph

29 Commits

Author SHA1 Message Date
Nicholas Nethercote
6313e20983 Bug 678977 - Teach sqlite to use jemalloc directly when applicable. code=nnethercote,khuey. r=khuey,sdwilsh,jlebar. 2011-11-03 20:53:41 -07:00
Justin Lebar
df44dc931c Bug 693404 - Part 1: On MacOS, add public jemalloc function to purge MADV_FREE'd pages, making our RSS reflect reality. r=khuey 2011-10-24 13:23:47 -04:00
Justin Lebar
849fa684fe Back out bug 693404 (2f7668cd67bc, 3db099ca452a) due to red. 2011-10-24 14:02:16 -04:00
Justin Lebar
1237bf2fd2 Bug 693404 - Part 1: On MacOS, add public jemalloc function to purge MADV_FREE'd pages, making our RSS reflect reality. r=khuey
--HG--
extra : rebase_source : fb043fcb06963ed2d5f94e8f4659da94f43ed014
2011-10-24 13:23:47 -04:00
Makoto Kato
760958734d Bug 681202 - Add Android x86 target. r=glandium 2011-09-29 13:39:03 +09:00
Mike Hommey
35dde42be0 Bug 680373 - Link jemalloc into mozutils instead of mozalloc on Android. r=blassey,r=pbiggar 2011-08-24 12:55:13 +02:00
Mike Hommey
2d38faddec Bug 678195 - Remove old style jemalloc. r=khuey 2011-08-23 15:43:17 +02:00
Paul Biggar ext:(%2C%20Jason%20Evans%20%3Cjasone%40canonware.com%3E%20and%20Dale%20Kim%20%3Cdalekim1%40illinois.edu%3E)
c0072a7363 Bug 414946 (part 1): Fix jemalloc on Mac, but leave disabled (r=pavlov)
Overwrite the OSX default zone allocator, taking into account the malloc_zone_t
version (supported versions are 3, 6, and 8) for Leopard, Snow Leopard and
Lion. jemalloc can be dynamically disabled for unknown malloc_zone_t versions,
for OSX 10.8 and beyond.

The changeset does not enable jemalloc, to allow for easy disabling if there's
a problem. It will be enabled in the next changeset.

This should be a 15-20% improvement in memory usage.
2011-05-21 20:27:00 -07:00
Kyle Huey
8bedd0a52b Bug 515492: Android build bustage fix. 2011-06-27 19:20:03 -07:00
Kyle Huey
fe3a563ed6 Bug 515492: Android build bustage fix. 2011-06-27 17:30:53 -07:00
Kyle Huey
7b00e784db Bug 515492: Android build bustage fix. 2011-06-27 16:59:20 -07:00
Kyle Huey
bc67963bab Bug 515492: Android build bustage fix. 2011-06-27 16:28:36 -07:00
Kyle Huey
01e3c2c10f Followup fixes for Bug 515492. 2011-06-27 16:11:45 -07:00
Kyle Huey
6306507768 Bug 515492: Make jemalloc work on VS 2010. r=ted,pbiggar 2011-06-27 12:44:51 -07:00
Chris Jones
2a2ad8a179 Bug 557935: Show jemalloc stats in about:memory on linux. r=vlad 2010-05-26 14:40:52 -05:00
Brad Lassey
a15e734cc6 bug 559263 - implement jemalloc for android r=vlad 2010-05-25 11:28:14 -04:00
Brad Lassey
1d8ccacd0a pushing white space change to trigger a new build 2010-05-24 17:42:39 -04:00
Chris Jones
7e1c6d756d Bug 550692: Wrap posix_memalign, memalign, and valloc if jemalloc provides them and the OS doesn't. r=bsmedberg 2010-04-21 23:41:40 -05:00
Takanori MATSUURA
093c23c49b Bug 526389 - Skip redefinition of memory allocation functions for MacOS X and Linux. r=jasone 2010-03-07 10:53:46 +01:00
David Mandelin
ff172068b2 Bug 515211: remove memory reserve feature from jemalloc, r=jasone 2009-11-02 13:02:37 -08:00
David Mandelin
34cbc0857f Backed out changeset 109b74e8e902 due to tinderbox bustage (was bug 515211) 2009-10-30 11:15:03 -07:00
David Mandelin
a5e5a4367e Bug 515211: remove memory reserve feature from jemalloc, r=jasone 2009-10-30 11:02:38 -07:00
Vladimir Vukicevic
9be2078d7e b=488608; enable jemalloc on CE6; r+sr=stuart 2009-04-24 10:31:18 -07:00
Vladimir Vukicevic
801b1f9b61 Backed out changeset 1eec75c27e2f 2009-04-24 10:43:19 -07:00
Vladimir Vukicevic
aa56e5c711 b=488608; enable jemalloc on CE6; r+sr=stuart 2009-04-24 10:31:18 -07:00
Jason Evans
3613eedfbc Bug 427109: Add memory reserve and xmalloc() API, r=benjamin
This re-commmit adds locking that was missing in changeset c14ab4f6cec6.
2008-07-01 15:41:14 -07:00
Robert O'Callahan
6c148ce2dd Backing out bug 427109 to try to fix Linux bustage 2008-06-24 19:52:40 +12:00
Jason Evans
d6f55ddb16 Bug 427109: Add memory reserve and xmalloc() API, r=benjamin
Add support for a memory reserve, which is managed via the reserve_*() API.

Add xmalloc() variants of malloc()-like functions.  These functions never
return NULL.
2008-06-23 07:46:37 -07:00
Jason Evans
c2b08b09ba Bug 422960: Add jemalloc_stats() and jemalloc.h, r=benjamin 2008-06-20 10:34:42 -07:00