Граф коммитов

6728 Коммитов

Автор SHA1 Сообщение Дата
prathiksha 70eb996035 Bug 1555438 - Add support to get appBuildID in RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D33063

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:42 +00:00
prathiksha 71e6682344 Bug 1555438 - Add support for getIntPref in RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D33062

--HG--
extra : moz-landing-system : lando
2019-06-26 20:23:32 +00:00
Marco Castelluccio ed545ba83e Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246

--HG--
extra : moz-landing-system : lando
2019-06-26 15:31:24 +00:00
Marco Castelluccio cad5dfda57 Bug 1559975 - Fix py3 lint issues in testing/firefox-ui and enable py3 linter r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35244

--HG--
extra : moz-landing-system : lando
2019-06-26 18:25:18 +00:00
Marco Castelluccio 9ef2872276 Bug 1559975 - Remove tools/update-packaging from py3 exclude list. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35237

--HG--
extra : moz-landing-system : lando
2019-06-26 16:09:56 +00:00
Chris AtLee 2735dd4a00 Bug 1559975: Don't require absolute import future if we don't have any imports r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35341

--HG--
extra : moz-landing-system : lando
2019-06-24 21:20:43 +00:00
Chris Manchester 89a6a2647d Bug 1559982 - Make testing/gtest importable with python 3. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35245

--HG--
extra : moz-landing-system : lando
2019-06-24 21:20:43 +00:00
Christian Holler 75691588ac Bug 1561346 - Allow FUZZING_INTERFACE_STREAM to be used multiple times. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D35824

--HG--
extra : moz-landing-system : lando
2019-06-25 22:02:52 +00:00
Jim Porter 32b61264e9 Bug 1551992 - Compress profile data before sending to perf-html; r=mstange,julienw
Differential Revision: https://phabricator.services.mozilla.com/D33399

--HG--
extra : moz-landing-system : lando
2019-06-25 09:54:49 +00:00
Nazım Can Altınova 2ecffabef5 Bug 1548694 - Split the profiler page information tests to prevent intermittent timeout r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D29812

--HG--
rename : tools/profiler/tests/browser/browser_test_profile_history_page_info.js => tools/profiler/tests/browser/browser_test_profile_pushstate_page_info.js
rename : tools/profiler/tests/browser/browser_test_profile_page_info.js => tools/profiler/tests/browser/browser_test_profile_single_frame_page_info.js
extra : moz-landing-system : lando
2019-05-03 12:43:55 +00:00
Dorel Luca d85302a490 Backed out 3 changesets (bug 1559975) for Build bustage. CLOSED TREE
Backed out changeset bdb15150dc59 (bug 1559975)
Backed out changeset 16efad631029 (bug 1559975)
Backed out changeset d72bc2063456 (bug 1559975)
2019-06-24 23:42:34 +03:00
Bastien Abadie be17d14cb5 Bug 1559975 - Fix python3 lint issues on js/src, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35243

--HG--
extra : moz-landing-system : lando
2019-06-24 16:55:05 +00:00
Marco Castelluccio 6af2d64066 Bug 1559975 - Remove tools/update-packaging from py3 exclude list. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35237

--HG--
extra : moz-landing-system : lando
2019-06-24 16:49:01 +00:00
Chris AtLee f9fda033ba Bug 1559975: Don't require absolute import future if we don't have any imports r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35341

--HG--
extra : moz-landing-system : lando
2019-06-24 16:49:55 +00:00
Mark Banner fc492ced11 Bug 1464007 - Specify the 'html' plugin in .eslintrc.js by default for better editor integration. r=mossop
This moves the html plugin enabling from the ./mach command line to the configuration, which means editors can pick this up automatically.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 21:33:34 +00:00
Jan de Mooij a261b8dc01 Bug 1551499 - Support Baseline Interpreter code in the profiler. r=djvj
Because the return address cannot be used to uniquely identify script/pc, this
is unfortunately quite different from what we do for Baseline/Ion code.

The strategy is as follows:

* When the profiler is enabled, ensure each JitScript has a pointer to the
  profile string (released when the script is finalized).

* The BaselineInterpreter code is registered with the JitcodeMap.

* The profiler code treats interpreter frames like C++ Interpreter frames,
  instead of doing the return address based mapping.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 16:13:48 +00:00
Ciure Andrei 217ab9d060 Backed out 4 changesets (bug 1545582) for causing spidermonkey bustages CLOSED TREE
Backed out changeset c53f9e22d5f7 (bug 1545582)
Backed out changeset 6640b7f3d7e0 (bug 1545582)
Backed out changeset c65de5ec10da (bug 1545582)
Backed out changeset 3224107774b1 (bug 1545582)
2019-06-20 19:39:54 +03:00
Greg Tatum d8ea7bc1ac Bug 1545582 - Add tests for new JS allocations feature; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34544

--HG--
extra : moz-landing-system : lando
2019-06-19 21:08:27 +00:00
Greg Tatum 8bc06cf8cd Bug 1545582 - Integrate JavaScript memory allocation tracking to the profiler; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34543

--HG--
extra : moz-landing-system : lando
2019-06-19 21:30:48 +00:00
Jory A. Pratt 9c57855404 Bug 1358214 - gettid wrapper is not provided by any libc in linux r=njn
BIONIC is only platform that actually supports gettid. Easiest
    solution is to check for linux and disable for BIONIC platform. This
    includes the change requested by Gerald to keep the two profilers  sync'd.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 07:16:31 +00:00
Nick Alexander 86801c417d Bug 1556567 - Use custom `geckodriver` with pre-release Android support in `mach browsertime`. r=sefeng
Differential Revision: https://phabricator.services.mozilla.com/D33574

--HG--
extra : moz-landing-system : lando
2019-06-18 22:44:52 +00:00
Alexandre Poirot d73b8a9739 Bug 1545147 - Run remote agent's mochitests in a distinct "remote" job. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D32028

--HG--
extra : moz-landing-system : lando
2019-06-17 13:57:03 +00:00
Bas Schouten 202c0599be Bug 1553254 - Part 1: Allow low-overhead selective collection of internal performance probes through ChromeUtils. r=brennie,nika
Differential Revision: https://phabricator.services.mozilla.com/D32039

--HG--
extra : rebase_source : 2484b8d3d15495e63b9e02139aafd3e78a710f37
2019-05-21 21:01:31 +02:00
Mark Banner 201255ab84 Bug 1558485 - Turn on ESLint for all of dom/ disabling most of the failing rules. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D34761

--HG--
extra : moz-landing-system : lando
2019-06-13 20:21:46 +00:00
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
Andi-Bogdan Postelnicu 4b22abe3d1 Bug 1558987 - For clang based static-analysis, disable readability-isolate-declaration. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D34818

--HG--
extra : moz-landing-system : lando
2019-06-13 12:32:57 +00:00
Mathieu Leplatre a102f01554 Bug 1543598 - Move OneCRL and Pinning blocklist clients out of services r=jcj,glasserc
Differential Revision: https://phabricator.services.mozilla.com/D32297

--HG--
rename : services/common/tests/unit/test_blocklist_onecrl.js => security/manager/ssl/tests/unit/test_blocklist_onecrl.js
rename : services/common/tests/unit/test_blocklist_pinning.js => security/manager/ssl/tests/unit/test_blocklist_pinning.js
extra : moz-landing-system : lando
2019-06-11 10:14:40 +00:00
Denis Palmeiro 7b9e1b6ba5 Bug 1558271 - Update mozilla/browsertime snapshot to b8c1becaee74970a6f6e4222a64d1e2e18f20cd6 r=nalexander
Changes include a fix for visual metrics calculations on desktop, and appending visual metrics information to gecko profiles.

Additionally, add the browsertime-results directory to gitignore.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 21:03:22 +00:00
Denis Palmeiro 2c01bcf632 Bug 1558271 - Set verbose to false by default in ./mach browsertime r=nalexander
Flip set_log_level to false by default so we don't clutter stdout.  Flip on with --verbose.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 19:30:00 +00:00
Denis Palmeiro c32ed0ea49 Bug 1551355 - Use TimeStamp::NowUnfuzzed() instead of TimeStamp::Now() during gecko profiling r=mstange
The profiler will require non-fuzzed timers for accuracy.  Making the switch early will avoid surprises when FuzzyFox is enabled.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 17:35:42 +00:00
Victor Porof 1b8a37fd24 Bug 1556013 - Add prettier to the top-level eslint config, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D33303

--HG--
extra : moz-landing-system : lando
2019-06-07 14:20:09 +00:00
Nika Layzell 03a2f40528 Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj
The vast majority of the virtual methods which were used on ProtocolState were
actually methods which only had meaningful implementations on the toplevel
protocol. This patch adds a new field to IProtocol holding a direct pointer to
the protocol's `IToplevelProtocol`, and the methods formerly implemented with
ProtocolState now directly call the corresponding method on IToplevelProtocol.
IToplevelProtocol then shadows these methods with the toplevel protocol
implementation, meaning that the right code is run in the right places.

In addition, some state was maintained for protocols inside of the separate
ProtocolState allocation, and this patch moves that state back into the actor
itself.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 14:57:34 +00:00
Zibi Braniecki a49f5263f1 Bug 1552714 - Fix tests to compare the result of getAttributes against L10nKeys. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D33740

--HG--
extra : moz-landing-system : lando
2019-06-06 16:33:09 +00:00
Ola Gasidlo ae788a0773 Bug 1473295 - add enviroment for unit tests, r=jdescottes,ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D32959

--HG--
extra : moz-landing-system : lando
2019-06-06 13:49:49 +00:00
Andrew Halberstadt bffa8f298f Bug 1556460 - [docs] Use compatible-release operator instead of * in tools/docs/Pipenv, r=davehunt
Using compatible release means that we will pick up minor updates to these
packages. Dependencies (i.e things not explicitly listed in the Pipfile), may
have their major versions updated as long as the package that uses them lists
it as compatible.

This will also allow us to update our dependencies' major/minor versions one at
a time. Using '*', Pipenv does not have any way of updating only a single
package at a time (that I could find).

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

--HG--
extra : moz-landing-system : lando
2019-06-06 08:13:47 +00:00
Andrei Oprea 6c4e640dae Bug 1553926 - Add fetch-options eslint plugin to mozilla central r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D32723

--HG--
extra : moz-landing-system : lando
2019-06-06 11:31:20 +00:00
Nazım Can Altınova 91197b28a2 Bug 1552286 - Move back GeckoJavaSampler to GeckoView and enable for it and fennec r=nalexander,gerald
Bug 1303806 moved `GeckoJavaSampler` to be Fennec-only as part of a general push
to slim GeckoView down.  But there is no reason to restrict to Fennec and it is useful
for other non-Fennec GeckoView vehicles.

This patch moves the `GeckoJavaSampler` inside `geckoview` and changes profiler
code to make Java sampling work in both GeckoView and Fennec.

Depends on D33522

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

--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoJavaSampler.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoJavaSampler.java
extra : moz-landing-system : lando
2019-06-05 10:58:47 +00:00
Gerald Squelart 3b85f8b3c7 Bug 1492121 - Use BaseProfiler in XRE_Init{Parent,Child}Process() - r=njn
Differential Revision: https://phabricator.services.mozilla.com/D31934

--HG--
extra : moz-landing-system : lando
2019-06-06 06:20:49 +00:00
Gerald Squelart 06fdb64502 Bug 1492121 - Gecko Profiler integrates BaseProfiler startup profiled threads - r=njn
If MOZ_BASE_PROFILER_STARTUP and MOZ_PROFILER_STARTUP are set, this will integrate
a pre-XPCOM startup profile into the main profile.
It is stored as separate threads (in a single JSON string that is moved around),
which will appear as a new track under the main process.

Only adding threads from BaseProfiler means a better integration with Gecko
Profiler profiles, and is more efficient: Less code, and a smaller memory
footprint.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 06:20:14 +00:00
Gerald Squelart a54d246a96 Bug 1492121 - Run BaseProfiler's InitializeWin64ProfilerHooks once from either profiler - r=njn
Running identical (but separate) InitializeWin64ProfilerHooks in both profilers
confuses the DLL interceptor and the 2nd one crashes because of unexpected
opcodes introduced by the 1st one.
If MOZ_BASE_PROFILER is defined, Gecko Profiler will use that implementation of
InitializeWin64ProfilerHooks instead of its own; and that code also has a guard
so that it effectively only run once even if called from both profilers.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 06:20:07 +00:00
Gerald Squelart 11d60b8f63 Bug 1492121 - Rename env-vars MOZ_PROFILER_* to MOZ_BASE_PROFILER_* - r=njn
Notice the extra 'BASE' in the env-var names.
This is to control BaseProfiler separately from the Gecko Profiler.

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

--HG--
extra : moz-landing-system : lando
2019-06-06 06:18:47 +00:00
Noemi Erli 31c85bd5fe Backed out 13 changesets (bug 1492121) for valgrind bustage
Backed out changeset e707f1890820 (bug 1492121)
Backed out changeset 90aeaad4a4de (bug 1492121)
Backed out changeset 2ffb6ccca437 (bug 1492121)
Backed out changeset 4215fefb6ef3 (bug 1492121)
Backed out changeset b54b813c4c6c (bug 1492121)
Backed out changeset 46f57504c087 (bug 1492121)
Backed out changeset a3fe26927b31 (bug 1492121)
Backed out changeset 39c486afacec (bug 1492121)
Backed out changeset bf1731627e07 (bug 1492121)
Backed out changeset 77e7b13c6237 (bug 1492121)
Backed out changeset 1f10b50f758f (bug 1492121)
Backed out changeset db1506f94d0d (bug 1492121)
Backed out changeset 72c4026e9455 (bug 1492121)
2019-06-06 04:01:24 +03:00
Gerald Squelart ad5d0acdd9 Bug 1492121 - Use BaseProfiler in XRE_Init{Parent,Child}Process() - r=njn
Differential Revision: https://phabricator.services.mozilla.com/D31934

--HG--
extra : moz-landing-system : lando
2019-06-05 23:43:01 +00:00
Gerald Squelart ed30216728 Bug 1492121 - Gecko Profiler integrates BaseProfiler startup profiled threads - r=njn
If MOZ_BASE_PROFILER_STARTUP and MOZ_PROFILER_STARTUP are set, this will integrate
a pre-XPCOM startup profile into the main profile.
It is stored as separate threads (in a single JSON string that is moved around),
which will appear as a new track under the main process.

Only adding threads from BaseProfiler means a better integration with Gecko
Profiler profiles, and is more efficient: Less code, and a smaller memory
footprint.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 23:42:01 +00:00
Gerald Squelart 249f53552f Bug 1492121 - Run BaseProfiler's InitializeWin64ProfilerHooks once from either profiler - r=njn
Running identical (but separate) InitializeWin64ProfilerHooks in both profilers
confuses the DLL interceptor and the 2nd one crashes because of unexpected
opcodes introduced by the 1st one.
If MOZ_BASE_PROFILER is defined, Gecko Profiler will use that implementation of
InitializeWin64ProfilerHooks instead of its own; and that code also has a guard
so that it effectively only run once even if called from both profilers.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 23:41:40 +00:00
Gerald Squelart bf5eeb02e8 Bug 1492121 - Rename env-vars MOZ_PROFILER_* to MOZ_BASE_PROFILER_* - r=njn
Notice the extra 'BASE' in the env-var names.
This is to control BaseProfiler separately from the Gecko Profiler.

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

--HG--
extra : moz-landing-system : lando
2019-06-05 23:40:47 +00:00
Edwin Gao 0da1d200eb Bug 1555458 - require --full for android-hw job scheduling with fuzzy r=jmaher,gbrown
Changes:
- require `--full` keyword for `./mach try fuzzy` in order to schedule android-hw jobs to hopefully reduce the backlog

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

--HG--
extra : moz-landing-system : lando
2019-06-05 20:26:36 +00:00
Bogdan Tara 47274faae8 Backed out 12 changesets (bug 1492121) for platform.cpp and TestBaseProfiler.cpp related bustages CLOSED TREE
Backed out changeset 9d768006784a (bug 1492121)
Backed out changeset 1bf52d547eb7 (bug 1492121)
Backed out changeset da72675c0d37 (bug 1492121)
Backed out changeset bdf3b865c947 (bug 1492121)
Backed out changeset 0c6cf7bc131f (bug 1492121)
Backed out changeset 0cddbdfdfae2 (bug 1492121)
Backed out changeset ac8da816859d (bug 1492121)
Backed out changeset 3800ef0a0e37 (bug 1492121)
Backed out changeset 5f30af0d0f63 (bug 1492121)
Backed out changeset de1c3ae8df14 (bug 1492121)
Backed out changeset 0689c1b8f4f7 (bug 1492121)
Backed out changeset 5e7817b385fc (bug 1492121)
2019-06-04 12:08:39 +03:00
Gerald Squelart eadc54dcc3 Bug 1492121 - Use BaseProfiler in XRE_Init{Parent,Child}Process() - r=njn
Differential Revision: https://phabricator.services.mozilla.com/D31934

--HG--
extra : moz-landing-system : lando
2019-06-04 06:55:48 +00:00
Gerald Squelart 78897828c9 Bug 1492121 - Gecko Profiler integrates BaseProfiler startup profiled threads - r=njn
If MOZ_BASE_PROFILER_STARTUP and MOZ_PROFILER_STARTUP are set, this will integrate
a pre-XPCOM startup profile into the main profile.
It is stored as separate threads (in a single JSON string that is moved around),
which will appear as a new track under the main process.

Only adding threads from BaseProfiler means a better integration with Gecko
Profiler profiles, and is more efficient: Less code, and a smaller memory
footprint.

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

--HG--
extra : moz-landing-system : lando
2019-06-04 06:55:37 +00:00