Commit Graph

18 Commits

Author SHA1 Message Date
trav90 41b6745059 Silence the -Wuninitialized warning in mozjemalloc
GCC 7+ warns about too many false positives.
2018-09-08 10:00:10 -05:00
wolfbeast 69627ad410 Revert "Switch to using a single memory allocation arena"
This reverts commit 4ceb21241e.
2018-09-01 19:06:20 +02:00
wolfbeast 4ceb21241e Switch to using a single memory allocation arena 2018-08-25 22:32:22 +02:00
wolfbeast fcd7ee3c88 Remove the Dark Matter Detector (DMD) Memeory debugger component.
This resolves #376.
2018-05-23 16:31:42 +02:00
wolfbeast e16bcd08aa Remove MOZ_WIDGET_GONK [2/2]
Tag #288
2018-05-13 00:08:52 +02:00
wolfbeast f7b98c15a1 Use slim reader/writer locks instead of critical sections. 2018-04-28 14:21:19 +02:00
wolfbeast e56cebf8da Remove the unused and rudimentary arena load balancer.
Lock contention is not something we'd easily have to deal with in our application.
This simplifies our code.
2018-04-28 13:17:57 +02:00
wolfbeast 08e66d3512 Make our allocator use multiple arenas based on number of CPU cores. 2018-04-28 08:59:44 +02:00
wolfbeast 90920ec0ba Remove single-threaded considerations.
We assume our applications are always going to have multithreaded access to the malloc.
2018-04-27 22:56:03 +02:00
wolfbeast a7ec27a9cc Update credits in BSD-licensed files. 2018-04-27 22:49:31 +02:00
wolfbeast c6177a81ee Remove jemalloc 4 leftover conditional. 2018-04-27 22:48:34 +02:00
wolfbeast 9c07867573 Remove MOZ_REPLACE_JEMALLOC
This was only defined when building jemalloc4 as a replace-malloc library.
2018-04-27 20:23:28 +02:00
wolfbeast 43034a36e1 Remove jemalloc 4 from our tree. 2018-04-27 19:16:45 +02:00
wolfbeast 077c630844 Remove support for making jemalloc4 the default memory allocator. 2018-04-27 13:56:47 +02:00
wolfbeast be1786f7b0 Remove support for system jemalloc. 2018-04-26 17:59:36 +02:00
Mike Hommey f56791f643 Bug 1424709 - Force disable the OSX system "nano allocator". r=spohl, a=RyanVM
We're not actually using it, and it messes up with the zone allocator in
mozjemalloc after fork(). See the lengthy analysis in
https://bugzilla.mozilla.org/show_bug.cgi?id=1424709#c34 and following.

--HG--
extra : rebase_source : b191048290a907cc7668ad7ab6369ef8661f31dc
extra : intermediate-source : 45c5d467a46077dcc3ccd59feafd0c2784432fef
extra : source : bf1efa161edb20a83fe8db2f96c51f4e66880153
2018-03-14 10:56:20 +01:00
trav90 4537850611 Use |noexcept| instead of an exception-specification in mozalloc.h
We are using |throw(std::bad_alloc)|, but dynamic exception specifications have been deprecated in C++11. The C++11 equivalent is |noexcept(false)|. This causes build warning spam when using newer compilers such as GCC 7.x.
2018-03-04 15:12:03 -06:00
Matt A. Tobin 5f8de423f1 Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00