gecko-dev/tools
Nicholas Nethercote 94ec493862 Bug 1557907 - Fix `jemalloc_replace_dynamic()`. r=glandium
`jemalloc_replace_dynamic()` is badly broken. If you install a malloc table
other than the default at startup (e.g. DMD's or PHC's), when you call
`jemalloc_replace_dynamic()` it installs a new allocator that wraps the
*default* allocator, and then when you call `jemalloc_replace_dynamic(nullptr)`
it switches back to the *default* allocator.

This commits makes numerous improvements.

- It removes the "flip-flopping" between malloc tables, which didn't really
  work and isn't necessary.

- `jemalloc_replace_dynamic()` now switches between the *original* malloc table
  and the new one, rather than the *default* malloc table and the new one.

- It renames various things, to make the names shorter and clearer.

- It clearly documents the dangers and limitations of
  `jemalloc_replace_dynamic()`.

- It removes and inlines `profiler::Init()`, because there was only one call
  site.

- It rearranges `install_memory_counter()` so the control flow is simpler.

Differential Revision: https://phabricator.services.mozilla.com/D34266

--HG--
extra : moz-landing-system : lando
2019-06-13 20:42:19 +00:00
..
bloatview
browsertime Bug 1558271 - Update mozilla/browsertime snapshot to b8c1becaee74970a6f6e4222a64d1e2e18f20cd6 r=nalexander 2019-06-10 21:03:22 +00:00
clang-tidy Bug 1558987 - For clang based static-analysis, disable readability-isolate-declaration. r=sylvestre 2019-06-13 12:32:57 +00:00
code-coverage Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky 2019-04-16 03:50:44 +00:00
compare-locales Bug 1492070, update mach command for compare-locales, #firefox-build-system-reviewers r=firefox-build-system-reviewers,ted 2018-12-03 12:08:31 +00:00
coverity Bug 1544767 - Add description at review phase about defects found - coverity. r=bastien 2019-04-18 08:52:31 +00:00
crashreporter Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
docs Bug 1556460 - [docs] Use compatible-release operator instead of * in tools/docs/Pipenv, r=davehunt 2019-06-06 08:13:47 +00:00
fuzzing Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj 2019-06-06 14:57:34 +00:00
infer Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander 2018-10-24 21:54:34 +00:00
jprof Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
leak-gauge Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop 2019-04-24 19:43:57 +00:00
lint Bug 1543598 - Move OneCRL and Pinning blocklist clients out of services r=jcj,glasserc 2019-06-11 10:14:40 +00:00
power Bug 1535880 - Always check ReadValueFromPowerFile() return value. r=glandium 2019-03-19 11:20:11 +00:00
profiler Bug 1557907 - Fix `jemalloc_replace_dynamic()`. r=glandium 2019-06-13 20:42:19 +00:00
quitter Bug 1548515 - Make quitter wait until we've run idle tasks, r=kmag 2019-05-24 12:58:43 +01:00
rb Bug 1499907 - Add a `jsonEscape` argument to `fixSymbols`. r=erahm 2018-11-21 10:28:00 +11:00
rewriting Bug 1473295 - add enviroment for unit tests, r=jdescottes,ladybenko 2019-06-06 13:49:49 +00:00
tryselect Bug 1555458 - require --full for android-hw job scheduling with fuzzy r=jmaher,gbrown 2019-06-05 20:26:36 +00:00
update-packaging Backed out 4 changesets (bug 1458385) for nightly updates fail. a=backout 2019-04-10 21:09:46 +03:00
update-verify No bug: [release] Fix path to update-verify diff-summary log; r=bhearsum 2019-05-24 00:22:50 +00:00
mach_commands.py Bug 1543246 - Implement |./mach busted|. r=froydnj 2019-04-10 16:26:44 +00:00
moz.build Bug 1529617 - Refresh the BUG_COMPONENT in tools/ r=ahal 2019-02-21 17:10:08 +00:00