Commit graph

12 commits

Author SHA1 Message Date
wolfbeast
09f98d848b 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.
2019-02-15 23:52:21 +08:00
wolfbeast
30e71338fd Make our allocator use multiple arenas based on number of CPU cores. 2019-02-15 23:52:20 +08:00
wolfbeast
7ea1703d6b Remove single-threaded considerations.
We assume our applications are always going to have multithreaded access to the malloc.
2019-02-15 23:52:17 +08:00
wolfbeast
46548c6098 Update credits in BSD-licensed files. 2019-02-15 23:52:15 +08:00
wolfbeast
dd3affa0db Remove jemalloc 4 leftover conditional. 2019-02-15 23:52:14 +08:00
wolfbeast
7f3296be1d Remove MOZ_REPLACE_JEMALLOC
This was only defined when building jemalloc4 as a replace-malloc library.
2019-02-15 23:52:12 +08:00
wolfbeast
d804882857 Remove jemalloc 4 from our tree. 2019-02-15 23:52:10 +08:00
wolfbeast
797ca533f9 Remove support for making jemalloc4 the default memory allocator. 2019-02-15 23:52:09 +08:00
wolfbeast
c76d18a40d Remove support for system jemalloc. 2019-02-15 23:52:07 +08:00
Mike Hommey
6837efcaef 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
2019-02-15 23:36:57 +08:00
trav90
cad73db0f2 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.
2019-02-15 23:35:46 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00