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
Bill McCloskey
1c9af5c86d
Bug 863116 - MOZ_ALWAYS_INLINE should not inline in debug builds (r=Waldo)
2013-04-19 10:55:34 -07:00
Rafael Ávila de Espíndola
9b94369d2b
Bug 839338 - ASan alloc/dealloc mismatch in _M_create_nodes/_M_destroy_nodes. r=waldo.
2013-02-12 08:30:16 -05:00
Jacek Szpot
151a2a463e
Bug 800106: Replace more NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Ehsan Akhgari
9e0549e4d9
Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP
2012-10-15 14:19:55 -04:00
Jacek Szpot
0ebb25a85a
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
2012-10-13 17:52:10 +02:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
ca04e9af34
Bug 737164 prerequisite - move mozilla::fallible_t to its own header so that everyone can reference it reasonable, r=cjones
...
--HG--
extra : rebase_source : 1f0e042f6d639b960c85f7813346e82afcf27861
2012-05-08 12:30:37 -04:00
Mike Hommey
46646a522a
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
a7ad4ef70e
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Ms2ger
00eac5024e
Bug 717441 - Backout bug 715093 / changeset d5f3e38021fd for Fennec crashes.
2012-01-12 21:35:48 +01:00
Ms2ger
70afb05660
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
f102556f32
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
d9cce21d61
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.
--HG--
extra : rebase_source : 098c1f5df472bcc572b812fe5d4f12c8eadf14d2
2011-10-18 14:19:23 -04:00
Justin Lebar
72783f7f69
Bug 682437 - Add memory reporter for History::mObservers. r=bz
...
--HG--
extra : rebase_source : f280a6beefd32319816ff8720f7bf65c04343b1e
2011-09-14 17:37:45 -07: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
Mike Hommey
54c811d7b4
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
f7b38c7dad
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
28d67e6217
Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
...
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Saint Wesonga
22b3386667
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
cdebcfceeb
b=566447; add presshell memory reporter; r=bz
2010-05-31 19:19:35 -07:00
Brad Lassey
a15e734cc6
bug 559263 - implement jemalloc for android r=vlad
2010-05-25 11:28:14 -04:00
Daniel Holbert
aa7e2ebe29
Bug 564261: fix build warning about C++ style comment in mozalloc.h. r=cjones
2010-05-11 12:07:33 -07: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
Chris Jones
cedd844205
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
da9eaa48df
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
c3fc2f9d1c
Bug 550371 mozalloc failed to build on Solaris r=bsmedberg
2010-04-07 14:16:32 +08:00
Jacek Caban
dc667e4c55
Bug 441324 - mingw fix
2010-03-06 05:59:00 -06:00
Mats Palmgren
fdd268282f
Implement std::nothrow variants of operator new/delete. b=550805 r=cjones
2010-03-14 20:56:47 +01:00
Chris Jones
a89f8525fc
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