Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
d25f1e6e2b
Bug 737164 prerequisite - move mozilla::fallible_t to its own header so that everyone can reference it reasonable, r=cjones
2012-05-08 12:30:37 -04:00
Mike Hommey
f9e07dcd00
Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey
2012-04-05 09:20:53 +02:00
Nicholas Nethercote
c1dd090b4c
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
2012-01-25 00:52:51 -08:00
Ms2ger
6a752be079
Bug 717441 - Backout bug 715093 / changeset d5f3e38021fd for Fennec crashes.
2012-01-12 21:35:48 +01:00
Ms2ger
3a4e490266
Bug 715093 - Get rid of MOZALLOC_INLINE in favour of MOZ_ALWAYS_INLINE; r=glandium
2012-01-11 09:22:16 +01:00
Nicholas Nethercote
c0681f567c
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Jeff Muizelaar
c84fb09a0a
Bug 695171. Make our operator new throw std::bad_alloc. r=cjones
...
If new doesn't throw bad_alloc the compiler emits a null check after to avoid
calling the constructor. http://llvm.org/bugs/show_bug.cgi?id=10895
Adding throw(std::bad_alloc) shaves 57KB of .text off a gcc mac build and 61KB off
a clang build.
2011-10-18 14:19:23 -04:00
Justin Lebar
cdc3458bc4
Bug 682437 - Add memory reporter for History::mObservers. r=bz
2011-09-14 17:37:45 -07:00
Paul Biggar
d8519ed4e6
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
Mike Hommey
05f91655a5
Bug 662224 - Define NS_ATTR_MALLOC and NS_WARN_UNUSED_RESULT in xpcom-config.h, and include it from mozalloc.h. r=bsmedberg
2011-06-07 03:09:46 +02:00
Ryan VanderMeulen
c219122054
Bug 578546 - Fix MSVC warning spam by adjusting ifdef to include MSVC. r=cjones a=benjamin
2010-11-16 10:19:23 +01:00
Chris Jones
2f8662485b
Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
2010-11-08 20:48:59 -06:00
Saint Wesonga
551396d11c
Bug 570553 - mozalloc.h:208:1: warning: C++ style comments are not allowed in ISO C90. r=vlad
2010-06-16 18:54:25 +02:00
Vladimir Vukicevic
72a0025709
b=566447; add presshell memory reporter; r=bz
2010-05-31 19:19:35 -07:00
Brad Lassey
414fcaa685
bug 559263 - implement jemalloc for android r=vlad
2010-05-25 11:28:14 -04:00
Daniel Holbert
0d6d7bc64a
Bug 564261: fix build warning about C++ style comment in mozalloc.h. r=cjones
2010-05-11 12:07:33 -07:00
Chris Jones
e590b07136
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
Chris Jones
c4df938d48
Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg
2010-04-20 15:12:02 -05:00
Chris Jones
4eb274531d
Bug 550401: Do the __declspec import/export dance in mozalloc to avoid MSVC warnings. r=bsmedberg
2010-04-08 13:05:02 -05:00
Ginn Chen
6d1162b5ca
Bug 550371 mozalloc failed to build on Solaris r=bsmedberg
2010-04-07 14:16:32 +08:00
Jacek Caban
6f60e23795
Bug 441324 - mingw fix
2010-03-06 05:59:00 -06:00
Mats Palmgren
881b6e7b15
Implement std::nothrow variants of operator new/delete. b=550805 r=cjones
2010-03-14 20:56:47 +01:00
Chris Jones
91ed1da469
Bug 441324, part 2: Implement libmozalloc with support for fallible and infallible malloc et al. and |operator new|s. r=bsmedberg
2010-03-03 23:02:56 -06:00