Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Перейти к файлу
Gabriele Svelto 322404bebb Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj
Crash annotations in content processes are currently sent over IPC via
shared memory buffers. To pave the way for the Rust rewrite of the exception
handler we are removing this code and gathering all the crash annotations
within the content processes themselves. This patch causes annotations to be
stored in the global table of each content process. They are then streamed
out to the parent process by the exception handler together with the
exception-time annotations.

This has a number of benefits:

* we have one less channel to exchange data between content processes and
  the parent process
* we save memory because we don't need to allocate the shared memory buffers
* annotations are faster because we don't stream them all out every time one
  changes
* we won't truncate annotations anymore if we run out of space in the shared
  segment.
* we don't need delayed annotations anymore, so we can get rid of the
  associated machinery

As I refactored the code I tried to adjust all the obsolete comments,
consolidate shared code and remove the redundant steps that were sometimes
present. In many places we had two entire crash annotation tables we merged to
change just a couple; that comes from the fact that historically we loaded
them from disk. Now it doesn't matter anymore and we can just go ahead and
change the ones we care about.

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

--HG--
extra : moz-landing-system : lando
2020-03-21 17:13:08 +00:00
.cargo Bug 1619005 - Update cubeb-coreaudio to 799518a. r=padenot 2020-03-20 16:41:27 +00:00
.vscode
accessible Bug 1622731 - Notify of destruction after detaching accessible wrap/proxy. r=morgan 2020-03-21 05:26:19 +00:00
browser Bug 1592498 - adjust disabling condition for browser_urlbar_matchBuckets_migration60.js on all win platforms r=jmaher 2020-03-22 09:02:56 +00:00
build Merge autoland to mozilla-central. a=merge 2020-03-19 23:55:44 +02:00
caps Backed out 4 changesets (bug 1622042) for causing AddonInstallException: Could not install add-on: c:\users\task_1584560140\appdata\local\temp\tmpbg9_h7.zip: ERROR_FILE_ACCESS: There was an error accessing the filesystem. CLOSED TREE 2020-03-18 22:49:23 +02:00
chrome Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
config Backed out changeset 8009b44fdab1 (bug 1021214) for build bustages in autobinscope.py on a CLOSED TREE 2020-03-20 03:49:30 +02:00
devtools Bug 1621655 - Disabled browser_styleeditor_media_sidebar_links.js on debug/asan for frequent failures. r=jmaher 2020-03-22 11:04:32 +00:00
docs Bug 1623320 - Add support to run mozlint on dotfile r=linter-reviewers,ahal 2020-03-20 21:51:03 +00:00
docshell Bug 1621192 - P4: Remove documentOpenFlags from DocumentChannelCreationArgs. r=mattwoodrow 2020-03-19 01:49:24 +00:00
dom Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-03-21 17:13:08 +00:00
editor Bug 1620504 - part 22-6: Clean up warnings in HTMLEditorObjectResizer.cpp r=m_kato 2020-03-19 11:38:42 +00:00
extensions Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj 2020-03-17 12:42:12 +00:00
gfx Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-03-21 17:13:08 +00:00
gradle/wrapper
hal Bug 1609815 - Remove Web Replay C++ implementation. r=jgilbert,jandem,gbrown 2020-02-27 17:39:15 +00:00
image Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj 2020-03-17 12:42:12 +00:00
intl Bug 1623778 - Improve error reporting for AddResource. r=emilio 2020-03-21 04:05:33 +00:00
ipc Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-03-21 17:13:08 +00:00
js Bug 1622562 - Remove JSREPORT_IS_WARNING everywhere. r=baku 2020-03-21 20:14:13 +00:00
layout Bug 1623858: part 4) Document `PresShell::mSelectionFlags`. r=smaug 2020-03-20 13:24:48 +00:00
media Backed out 9 changesets (bug 1616875) for bustages complaining about RTCRtpReceiver.h CLOSED TREE 2020-03-20 16:38:30 +02:00
memory Bug 1623508 - Print out original argument on error in block_analyzer. r=njn 2020-03-19 00:21:34 +00:00
mfbt Bug 1620568 - Disable equality comparison operators for Maybe<T&>. r=froydnj 2020-03-18 13:24:17 +00:00
mobile Bug 1316748 - Move Port messaging off MessageChannel r=mixedpuppy 2020-03-21 00:02:20 +00:00
modules Bug 1595244 - Use field labels and attributes to determine new-password field types r=MattN 2020-03-21 20:53:09 +00:00
mozglue Backed out changeset fe0c22951e7c (bug 1291377) for mozglue related Android bustages CLOSED TREE 2020-03-20 16:39:42 +02:00
netwerk Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-03-21 17:13:08 +00:00
nsprpub Bug 1600803 - NSPR_4_25_RTM for Firefox 74. r=kjacobs UPGRADE_NSPR_RELEASE 2020-02-03 12:17:20 +00:00
other-licenses Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj 2020-03-17 12:42:12 +00:00
parser Bug 1621813 - Remove nsIScriptError.exceptionFlag. r=mccr8 2020-03-19 21:31:44 +00:00
python Bug 1623320 - Add support to run mozlint on dotfile r=linter-reviewers,ahal 2020-03-20 21:51:03 +00:00
remote Bug 1622906 - Disabling tests is never unexpected, r=remote-protocol-reviewers,whimboo 2020-03-19 11:06:42 +00:00
security Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-03-21 17:13:08 +00:00
services Bug 1622666 - Removes redundant access specifier r=froydnj 2020-03-22 11:58:15 +00:00
servo Backed out 7 changesets (bug 1341507) for mochitest failures in dom/grid/test/chrome/test_grid_repeat_auto_fill.html CLOSED TREE 2020-03-19 02:49:17 +02:00
startupcache Bug 1143478 - Rename mozilla::Pair to CompactPair. r=froydnj 2020-03-17 12:42:12 +00:00
storage Bug 1620632 - Ensure nsTArray_Impl only declares a copy-constructor/assignment operator if E is copy-constructible. r=froydnj 2020-03-20 17:13:51 +00:00
taskcluster Merge autoland to mozilla-central. a=merge 2020-03-19 23:55:44 +02:00
testing Bug 1623853 - [wpt-sync] Update web-platform-tests to d154c9ec965214293d679640834e70ec2fd915dc, a=testonly 2020-03-21 00:32:44 +00:00
third_party Bug 1619005 - Update cubeb-coreaudio to 799518a. r=padenot 2020-03-20 16:41:27 +00:00
toolkit Bug 1614933 - Gather content processes' crash annotations at exception time instead of using IPC; r=froydnj 2020-03-21 17:13:08 +00:00
tools Bug 1623320 - mozlint - Run license analysis on dotfiles r=linter-reviewers,ahal DONTBUILD 2020-03-21 10:20:32 +00:00
uriloader Bug 1623222 - Remove the charset parameter from nsITextToSubURI::UnEscapeURIForUI. r=hsivonen 2020-03-19 10:45:28 +00:00
view Bug 1503656 - Part 7. Notify of safe area insets changed. r=smaug 2020-03-04 08:16:31 +00:00
widget Bug 1620632 - Ensure nsTArray_Impl only declares a copy-constructor/assignment operator if E is copy-constructible. r=froydnj 2020-03-20 17:13:51 +00:00
xpcom Backed out changeset 86a23ca27412 (bug 1621116) for causing gtest and mochitest failures. 2020-03-20 23:53:34 +02:00
xpfe/appshell Bug 1507375 - Restrict the controllability of UI parts visibility with features parameter of window.open. r=smaug 2020-03-19 09:13:12 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr 2020-03-19 13:47:51 +00:00
.clang-format
.clang-format-ignore Bug 1353652 - Initial Draft of MPRIS API Provider (Media API on Linux) r=alwu 2020-02-12 13:10:50 +00:00
.cron.yml Bug 1619944 Migrate partials and pipfile-updates to use requirements.txt r=bhearsum 2020-03-05 13:49:24 +00:00
.eslintignore Bug 1620542 - Turn on linting of .eslintrc.js files. r=mossop 2020-03-07 09:30:44 +00:00
.eslintrc.js Bug 1622328 - .eslintrc.js: Add the license r=Standard8 2020-03-18 09:27:54 +00:00
.flake8 Backed out changeset a5ce9219be07 (bug 1622682) for causing lint failures. 2020-03-18 14:24:18 +02:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1614314 - Use GitHub as upstream for the Java code of the HTML parser. r=alchen 2020-02-10 15:05:17 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1617827 - Wasm: Switch to 'wasm-generate-testsuite' tooling for importing spec test-suite. r=lth 2020-03-11 04:05:15 +00:00
.hgtags No bug - Tagging mozilla-central 34377d8c0d2ad98f525b26e7ad8003dbdac94da6 with FIREFOX_NIGHTLY_75_END a=release DONTBUILD CLOSED TREE 2020-03-09 15:37:31 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc Bug 1620218 - Update Prettier to 1.18.2 and other ESLint modules to the latest versions. r=mossop 2020-03-08 21:45:23 +00:00
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Bug 1610512 - Part 5: Updating ICU requires a clobber. r=jwalden 2020-03-19 09:35:16 +00:00
Cargo.lock Bug 1619005 - Update cubeb-coreaudio to 799518a. r=padenot 2020-03-20 16:41:27 +00:00
Cargo.toml Bug 1623085 - Only explicitly set number of Rust codegen-units for target artifacts. r=froydnj 2020-03-17 16:47:52 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1620744 - Convert generated_sources.py to py3; r=firefox-build-system-reviewers,rstewart 2020-03-10 20:19:32 +00:00
README.txt Bug 1617846 - Replace IRC with matrix.r=firefox-source-docs-reviewers,sylvestre 2020-02-25 11:39:53 +00:00
aclocal.m4
build.gradle
client.mk
client.py
configure.in
configure.py Bug 1619788 - Ensure files generated by `./mach configure` don't have CRLF line endings, even under Python 3 r=glandium 2020-03-06 02:19:21 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1616584 - Run `mach mozregression` with Python 3 r=ahal 2020-03-20 19:12:51 +00:00
moz.build Bug 1620744 - Convert variables.py:source_repo_header() to py3; r=firefox-build-system-reviewers,rstewart 2020-03-10 20:19:24 +00:00
moz.configure Bug 1620980 - Fix Windows artifact builds after bug 1620165. r=froydnj 2020-03-10 00:23:40 +00:00
mozilla-config.h.in
old-configure.in Bug 1621350 - land NSS 710d10a72934 UPGRADE_NSS_RELEASE, r=jcj 2020-03-10 21:35:56 +00:00
package-lock.json Bug 1620556 - Update Prettier to 1.19.1. r=Standard8 2020-03-13 23:39:00 +00:00
package.json Bug 1620556 - Update Prettier to 1.19.1. r=Standard8 2020-03-13 23:39:00 +00:00
settings.gradle
substitute-local-geckoview.gradle
test.mozbuild

README.txt

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Mozilla from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/how_to_contribute_firefox.html

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.