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
Go to file
Gerald Squelart 2ab9046c97 Bug 1716959 - On-thread sampling uses a per-thread JS frame buffer that's only allocated when there's also a JSContext - r=canaltinova
MergeStack requires a fairly large buffer to store JS frames, too big to be allocated on the stack without risking a stack overflow.
Until now, there was only one buffer, stored in CorePS, and only accessible while holding the Profiler gPSMutex.

Now each thread that has a JSContext, also has its own JS frame buffer, which is accessible on the thread without needing any lock.
The Profiler's Sampler still uses the CorePS buffer for its periodic sampling, but it won't prevent parallel on-thread sampling anymore.

The appropriate buffer is passed to ExtractJsFrames and then MergeStacks.
MergeStacks accepts a null pointer, which happens on threads where there is no JSContext, and therefore no JS to sample.

Differential Revision: https://phabricator.services.mozilla.com/D122087
2021-08-24 21:58:43 +00:00
.cargo Bug 1726830 - Update mp4parse-rust to c6ba5af. r=kinetik 2021-08-20 23:57:06 +00:00
.vscode
accessible Bug 1727227: Add a static assert to ensure that the size of the AccAttributes value variant isn't unintentionally changed. r=eeejay 2021-08-24 21:44:43 +00:00
browser Bug 1635548 - Migrated browser-context.inc to Fluent. r=emalysz,flod 2021-08-24 19:48:32 +00:00
build Bug 1726544 - Only remove --gc-sections when LIBFUZZER_FLAGS is actually used. r=firefox-build-system-reviewers,mhentges 2021-08-24 21:17:15 +00:00
caps Bug 1726123 - Part 5: Add missing "js/" includes outside of SM. r=arai 2021-08-17 15:45:39 +00:00
chrome Bug 1722925 - Avoid unnecessary string copies by nsCString constructor r=necko-reviewers,kershaw CLOSED TREE 2021-08-12 07:40:58 +00:00
config Backed out 4 changesets (bug 1726474) for causing windows build bustages. CLOSED TREE 2021-08-24 06:12:08 +03:00
devtools Bug 1726471 - Use PathUtils.join in the symbolication worker. r=canaltinova 2021-08-24 20:32:50 +00:00
docs Bug 1689965 - Part 2: Use relative path in order to avoid OS-specific description around getting path to the file. r=sylvestre 2021-08-20 04:57:12 +00:00
docshell Bug 1664814: Stop to use regex that identifies string that is uri like. r=adw,Gijs 2021-08-24 10:39:24 +00:00
dom Bug 1725704 - Add test to cover CDM protection query. r=alwu 2021-08-24 19:32:01 +00:00
editor Bug 1726532 - part 3: Make TextServicesDocument check whether a sibling content is <br> or not when checking whether a block or inline r=m_kato 2021-08-24 03:29:21 +00:00
extensions Bug 1726532 - part 2: Make mozSpellChecker::SetupDoc() treat succeeded state as error if valid offset/length are not available when they are required r=m_kato 2021-08-24 03:29:21 +00:00
gfx Bug 1727398 - Remove ClientLayerManager. r=aosmond 2021-08-24 19:44:27 +00:00
gradle/wrapper
hal Bug 1720688 - Support extended attribute syntax in protocol declarations, r=mccr8 2021-07-22 02:24:43 +00:00
image Backed out changeset d0f659f7ea9b (bug 1696045) for causing gtest failures in image/decoders/nsAVIFDecoder. CLOSED TREE 2021-08-24 21:27:20 +03:00
intl Bug 1648137 - Part 18: Add decimal number and formatToParts support to NumberRangeFormat. r=platform-i18n-reviewers,nordzilla 2021-08-24 09:34:52 +00:00
ipc Backed out 4 changesets (bug 1726474) for causing windows build bustages. CLOSED TREE 2021-08-24 06:12:08 +03:00
js Backed out 13 changesets (bug 1724031) for causing dt failures in js/src/gc/Cell.h 2021-08-24 19:28:49 +03:00
layout Bug 1727395 - Remove unused ClientLayerManager.h includes. r=aosmond 2021-08-24 19:27:26 +00:00
media Bug 1726615 - Reorder includes in ClearKey files. r=alwu 2021-08-20 18:00:12 +00:00
memory Bug 1720342: Do not run logalloc tests for the CodeQL build r=glandium 2021-07-23 17:00:46 +00:00
mfbt Bug 1341265 - Part 11: Optimise Set.prototype.has for objects in CacheIR. r=iain 2021-08-10 09:55:22 +00:00
mobile Bug 1696251: Refactor docstrings in mach commands. r=mhentges,webdriver-reviewers,geckoview-reviewers,agi 2021-08-24 20:16:05 +00:00
modules Bug 1723204: Wire up a crash for Javascript Load Telemetry r=ckerschb,Gijs 2021-08-24 14:57:44 +00:00
mozglue Bug 1727036 - SpliceableJSONWriter::Time... functions output milliseconds with nanosecond precision - r=mstange 2021-08-24 21:33:05 +00:00
netwerk Bug 1725234 add source id to nsIProxyInfo r=dragana,necko-reviewers 2021-08-23 15:21:43 +00:00
nsprpub Bug 1715584 - Update to NSPR_4_32_RTM (no code change). r=bbeurdouche UPGRADE_NSPR_RELEASE DONTBUILD 2021-07-01 09:07:04 +00:00
other-licenses
parser Bug 1519636 - Reformat recent changes to the Google coding style. r=emilio 2021-08-23 09:30:23 +00:00
python Bug 1696251: Refactor docstrings in mach commands. r=mhentges,webdriver-reviewers,geckoview-reviewers,agi 2021-08-24 20:16:05 +00:00
remote Bug 1605362 - Network.getCookies() returns all cookies of current page and all of its sub frames as well. r=webdriver-reviewers,jdescottes 2021-08-17 19:24:45 +00:00
security Bug 1724869 - land NSS fe82761e35aa UPGRADE_NSS_RELEASE, r=djackson 2021-08-24 13:19:13 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau 2021-08-23 11:37:13 +00:00
servo Bug 1725207 - Implement transform: perspective(none). r=mattwoodrow 2021-08-24 00:32:24 +00:00
startupcache
storage Bug 1719550 - Use Intl.Collator in test_locale_collation.js; r=platform-i18n-reviewers,nordzilla 2021-08-10 16:01:18 +00:00
taskcluster Bug 1727407 - do not allow android power tests to run on s7 phones. r=aerickson 2021-08-24 20:07:26 +00:00
testing Bug 1723727 - Specify a meta viewport tag to each files in /css/css-shapes/shape-outside/values/ to avoid auto-scaling on mobile. r=TYLin 2021-08-24 21:44:56 +00:00
third_party Bug 1726211 - Use portal provided file descriptor for screen casting, r=stransky 2021-08-23 12:02:35 +00:00
toolkit Bug 1725881 - Mark --enable-{alsa,jack} as incompatible with bootstrapped sysroot. r=firefox-build-system-reviewers,mhentges 2021-08-24 21:11:30 +00:00
tools Bug 1716959 - On-thread sampling uses a per-thread JS frame buffer that's only allocated when there's also a JSContext - r=canaltinova 2021-08-24 21:58:43 +00:00
uriloader Bug 1726537 Delete dead code creating extra path in downloads. r=emk 2021-08-19 16:27:49 +00:00
view Bug 1724718 - skip some XUL-y tests on android, r=emilio,agi 2021-08-19 12:13:01 +00:00
widget Bug 1727395 - Remove unused ClientLayerManager.h includes. r=aosmond 2021-08-24 19:27:26 +00:00
xpcom Bug 1722261 - Use AUTO_PROFILER_REGISTER_THREAD where possible - r=canaltinova 2021-08-24 04:47:12 +00:00
xpfe/appshell Bug 1613705 - [localization] part9: Update DOMLocalization to match Localization constructor. r=nika,emilio 2021-08-03 16:25:13 +00:00
.arcconfig
.babel-eslint.rc.js Bug 1725934 - Remove unnecessary babel plugin, and update node modules to the latest versions. r=Mardak 2021-08-18 07:44:47 +00:00
.clang-format
.clang-format-ignore Bug 1719491 - revert clang-format of tools/profiler/public/GeckoTraceEvent.h. r=ng 2021-07-07 15:57:17 +00:00
.cron.yml Bug 1722708 - Adjust time for l10n-cross-channel to run closer to m-c merges, r=aki 2021-07-28 17:44:55 +00:00
.eslintignore Bug 1723729 - Remove old Talos XPI generation scripts and documents. r=jmaher,perftest-reviewers,alexandru.irimovici 2021-08-12 13:56:51 +00:00
.eslintrc.js
.flake8
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1726401 - Remove about_newtab_with_snippets perf test r=perftest-reviewers,AlexandruIonescu 2021-08-23 15:15:10 +00:00
.hgtags No bug - tagging 82f33bb4e9dbcb837a484109a607d28eac7837dd with FIREFOX_NIGHTLY_92_END a=release DONTBUILD CLOSED TREE 2021-08-09 16:20:38 +00:00
.lando.ini
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1725404 - [taskgraph] Re-use 'decision' args from main.py, r=bhearsum 2021-08-16 14:56:26 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1670261 - Ensure the Glean versions in the project match. r=agi,chutten 2021-08-10 07:49:08 +00:00
Cargo.lock Bug 1726830 - Update mp4parse-rust to c6ba5af. r=kinetik 2021-08-20 23:57:06 +00:00
Cargo.toml Bug 1721968 - Remove support for lucetc for rlbox. r=firefox-build-system-reviewers,shravanrn,mhentges 2021-08-11 21:58:52 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-07-12 12:48:42 +00:00
configure.in
configure.py Bug 1720591: Remove unused patch_main() for Python < 3.4 on Windows r=ahal 2021-07-16 16:34:42 +00:00
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LICENSE
mach
mach.ps1
Makefile.in
moz.build
moz.configure Bug 1725855 - Don't default to system-zlib on macOS. r=firefox-build-system-reviewers,andi 2021-08-17 09:38:24 +00:00
mozilla-config.h.in
old-configure.in Bug 1723389 - Bump the required version of system pixman. r=firefox-build-system-reviewers,andi 2021-08-03 04:41:02 +00:00
package-lock.json Bug 1726413 - Use mach npm install rather than plain npm when updating node_modules. r=Mardak 2021-08-20 07:33:33 +00:00
package.json Bug 1725934 - Remove unnecessary babel plugin, and update node modules to the latest versions. r=Mardak 2021-08-18 07:44:47 +00:00
README.txt
settings.gradle
substitute-local-geckoview.gradle Bug 1724782 - Allow substituting GeckoView lite and omni builds. r=nalexander 2021-08-10 20:24:33 +00:00
test.mozbuild

An explanation of the Firefox 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 Firefox from the source code and create the patch see:

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

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.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 Firefox developers for
testing, may be buggy.