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
Nazım Can Altınova fc66871215 Bug 1877380 - Use AtomicU32::from_ptr implementation instead of a reference for RacyFeatures_sActiveAndFeatures r=aabh,profiler-reviewers,glandium
This variable is an atomic variable here:
https://searchfox.org/mozilla-central/rev/2a867dd1ab015c3ef24b774a57709fb3b3dc4961/tools/profiler/core/platform.cpp#1631

We are getting this C++ atomic variable here directly instead of using FFIs
because this is much faster and this function has to be as fast as possible
(because it will be used before adding each marker to make sure the profiler is
running.). It's used by `is_active` and `can_accept_markers` functions above
this file.

It looks like Rust 1.77 starts to give some warnings/errors for these cases
where we have shared references. This should be safe for us, because we already
know that this function can be racy. So this is something we considered and
decided that it's better to be faster.

Differential Revision: https://phabricator.services.mozilla.com/D199968
2024-02-02 15:33:28 +00:00
.cargo Backed out 2 changesets (bug 1876389) for causing build bustages on windows. CLOSED TREE 2024-02-02 00:11:30 +02:00
.github/workflows
.vscode
accessible Bug 1840574: Don't try to get the selection in HyperTextAccessible::GetSelectionDOMRanges if the initial tree hasn't been constructed yet. r=morgan 2024-01-30 01:19:23 +00:00
browser Bug 1878081 - Drop per-file license header comments from schema files, r=willdurand,geckoview-reviewers,extension-reviewers,m_kato 2024-02-02 15:28:20 +00:00
build Bug 1842871 - Add static check to forbid RefPtr(this) inside constructors r=sergesanspaille 2024-02-01 11:04:00 +00:00
caps Bug 1861819 - Use JS::ParseJSONWithHandler in BasePrincipal. r=peterv 2024-01-26 15:39:39 +00:00
chrome
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2024-01-22 12:30:54 +00:00
devtools Bug 1868316 - Add user-find to animation-type-longhand. CLOSED TREE 2024-02-02 08:51:57 -05:00
docs Bug 1877477: What needs my attention: Add suggestions on how to deal with specific requests from managers. r=gcp 2024-02-01 10:24:00 +00:00
docshell Bug 1750706 - Copy referrer info to new session history entry during fragment navigation r=freddyb 2024-02-01 10:28:32 +00:00
dom Bug 1858696: Created IDB and CacheAPI marionette tests to verify raw magic strings in on-disk storages.r=dom-storage-reviewers,webdriver-reviewers,whimboo,janv 2024-02-02 15:14:24 +00:00
editor Bug 1876276 - Remove dead nsIDocShell allowPlugins code. r=emilio,sessionstore-reviewers,dao 2024-01-31 13:23:52 +00:00
extensions Bug 1868866 - adds ManifestParser TOML linter r=jmaher,linter-reviewers,ahal,webdriver-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,cookie-reviewers,sessionstore-reviewers,places-reviewers,dom-storage-reviewers,translations-reviewers,valentin,whimboo,Standard8,sclements,jesup 2024-01-29 17:30:48 +00:00
gfx Bug 1875170 - Migrate metrics in the gfx namespace collected via GeckoView Streaming to pure glean r=chutten,gfx-reviewers,jnicol 2024-02-02 13:36:35 +00:00
gradle/wrapper Bug 1873677 - Upgrade Gradle to 8.5 version r=geckoview-reviewers,calu 2024-01-23 14:50:12 +00:00
hal Bug 1875484 - Add missing null check in Hal code. r=gsvelto 2024-01-22 18:56:18 +00:00
image Bug 1864550. Allow pref image.mem.max_legal_imgframe_size_kb to be live. r=gfx-reviewers,gw 2024-02-02 04:42:17 +00:00
intl Bug 1875313 - Use en-US as a fallback when spoof English is enabled in ICUUtils. r=timhuang,tjr 2024-01-31 21:52:30 +00:00
ipc Backed out changeset 3f73ffcf2a39 (bug 1877672) for build bustage in ipc/ProtocolUtils.h. CLOSED TREE 2024-02-02 10:54:37 +01:00
js Bug 1837686 - followup test case, assertions and comments. r=jandem,rhunt. 2024-02-02 09:55:30 +00:00
layout Bug 1875170 - Migrate metrics in the gfx namespace collected via GeckoView Streaming to pure glean r=chutten,gfx-reviewers,jnicol 2024-02-02 13:36:35 +00:00
media Bug 1873801: Test cases for bug. r=mjf 2024-01-31 21:07:44 +00:00
memory Bug 1867190 - Add prefs for PHC probablities r=glandium 2024-01-30 05:33:38 +00:00
mfbt Bug 1873140 - Avoid using invalid enum values during EnumSet iteration; r=glandium 2024-02-02 09:43:10 +00:00
mobile Bug 1878081 - Drop per-file license header comments from schema files, r=willdurand,geckoview-reviewers,extension-reviewers,m_kato 2024-02-02 15:28:20 +00:00
modules Bug 1868316 - Prototype a user-find css property to control findability of text. r=jfkthame 2024-02-02 09:45:45 +00:00
mozglue Bug 1876415 - Make timestamp formats consistent between Jitdump and the marker file. r=glandium 2024-01-26 03:38:54 +00:00
netwerk Bug 1875559 - Make sure nsHttpTransaction::mCallbacks is accessed inside a lock, r=necko-reviewers,jesup 2024-02-02 10:49:00 +00:00
nsprpub
other-licenses
parser Bug 1397308 - Implement CSP 'Is element nonceable?' check. r=emilio,hsivonen,freddyb 2024-01-26 14:56:32 +00:00
python Bug 1877180 - Pass the app name to mozproxy during recording. r=perftest-reviewers,kshampur,afinder DONTBUILD 2024-02-02 13:09:18 +00:00
remote Backed out 3 changesets (bug 1875257) for causing crashes at permission.html. 2024-02-02 01:56:23 +02:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS 2024-02-01 13:09:03 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,diannaS 2024-02-01 13:09:03 +00:00
servo Bug 1877663 - Don't special-case adwaita colors for the yaru theme. r=stransky 2024-02-02 10:31:02 +00:00
startupcache
storage Bug 1869060 - Add SQLite Online Backup API support via mozIStorageAsyncConnection. r=mak 2024-01-22 14:26:53 +00:00
supply-chain Backed out 2 changesets (bug 1876389) for causing build bustages on windows. CLOSED TREE 2024-02-02 00:11:30 +02:00
taskcluster Bug 1877861 - run cppunittest against android x86 builds r=jcristau,taskgraph-reviewers,jmaher 2024-02-02 14:40:23 +00:00
testing Bug 1858696: Created IDB and CacheAPI marionette tests to verify raw magic strings in on-disk storages.r=dom-storage-reviewers,webdriver-reviewers,whimboo,janv 2024-02-02 15:14:24 +00:00
third_party Bug 1874951 - Upgrade to SQLite 3.45.1. r=mak 2024-02-02 14:41:38 +00:00
toolkit Bug 1878081 - Drop per-file license header comments from schema files, r=willdurand,geckoview-reviewers,extension-reviewers,m_kato 2024-02-02 15:28:20 +00:00
tools Bug 1877380 - Use AtomicU32::from_ptr implementation instead of a reference for RacyFeatures_sActiveAndFeatures r=aabh,profiler-reviewers,glandium 2024-02-02 15:33:28 +00:00
uriloader Bug 1875090 - Rename BrowserTestUtils.is_visible() to isVisible() r=Gijs,settings-reviewers,application-update-reviewers,pip-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,translations-reviewers,sgalich,bytesized,sfoster 2024-01-19 02:15:33 +00:00
view
widget Backed out 10 changesets (bug 1875369) for causing reftest failures in 1453030.html CLOSED TREE 2024-02-02 08:41:41 -05:00
xpcom Bug 1877389 - Simplify Servo static atom setup. r=glandium,firefox-style-system-reviewers,zrhoffman 2024-01-30 23:30:31 +00:00
xpfe/appshell Bug 1873772 - Only report XULStore load errors in the parent process; r=mossop 2024-01-17 17:18:47 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml Bug 1867068 - Simplify the cron for CaR, sp3, and chromium. r=perftest-reviewers,taskgraph-reviewers,sparky,ahal 2024-01-11 20:02:35 +00:00
.eslintignore Bug 1871140 - Vendor Readability Library. r=cmkm 2024-01-11 21:47:21 +00:00
.eslintrc-test-paths.js Bug 1876988 - Enable ESLint rules no-undef and no-unused-vars. r=smaug 2024-01-29 11:23:59 +00:00
.eslintrc.js Bug 1868838 - Move CFRMessageProvider into browser/components/asrouter/modules. r=pdahiya 2024-01-29 18:52:21 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1873177 - Fix typo in hgignore for puppeteer files r=whimboo 2024-01-05 12:46:46 +00:00
.hgtags No bug - tagging 4ef3a0b2e8cd48a60eed95f8ba15e13ee48432af with FIREFOX_NIGHTLY_123_END a=release DONTBUILD CLOSED TREE 2024-01-22 12:30:43 +00:00
.lando.ini Bug 1871425: disable Lando autoformatting r=TYLin DONTBUILD 2024-01-09 17:59:10 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1871140 - Vendor Readability Library. r=cmkm 2024-01-11 21:47:21 +00:00
.prettierrc.js
.stylelintignore
.stylelintrc.js
.taskcluster.yml
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1874923 - Update Glean to 56.1.0 r=janerik,supply-chain-reviewers,mach-reviewers,ahochheiden 2024-01-22 15:45:27 +00:00
Cargo.lock Backed out 2 changesets (bug 1876389) for causing build bustages on windows. CLOSED TREE 2024-02-02 00:11:30 +02:00
Cargo.toml Bug 1875006 - Upgrade memmap2 to 0.9.3. r=emilio,supply-chain-reviewers,profiler-reviewers,mstange 2024-01-24 20:33:52 +00:00
client.mk
client.py
CLOBBER Bug 1871981 - Vendor libwebrtc from fd3b346e27 - moz.build file updates 2024-01-22 15:35:29 -06:00
configure
configure.py
GNUmakefile
gradle.properties Bug 1873677 - Upgrade Gradle to 8.5 version r=geckoview-reviewers,calu 2024-01-23 14:50:12 +00:00
gradlew Bug 1873677 - Upgrade Gradle to 8.5 version r=geckoview-reviewers,calu 2024-01-23 14:50:12 +00:00
gradlew.bat Bug 1873677 - Upgrade Gradle to 8.5 version r=geckoview-reviewers,calu 2024-01-23 14:50:12 +00:00
LICENSE
mach
mach.cmd
mach.ps1
Makefile.in Bug 1873959 - Only force generation of buildid.h and source-repo.h during export phase r=glandium 2024-01-16 13:49:03 +00:00
mots.yaml Bug 1878082 - Update owners of the Picture-in-Picture module. r=zeid 2024-02-01 19:16:24 +00:00
moz.build
moz.configure Bug 1853564 - Look for install_name_tool in addition to install-name-tool and llvm-install-name-tool r=glandium 2024-01-24 06:54:58 +00:00
mozilla-config.h.in
old-configure.in Bug 1793001 - s/egrep/grep -E/ r=ahochheiden 2024-01-17 14:37:17 +00:00
package-lock.json Bug 1877676 - Remove test .ini file support from ESLint, remove multi-ini and update modules. r=mossop 2024-02-01 10:05:10 +00:00
package.json Bug 1877676 - Remove test .ini file support from ESLint, remove multi-ini and update modules. r=mossop 2024-02-01 10:05:10 +00:00
pyproject.toml
README.txt
settings.gradle
substitute-local-geckoview.gradle
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.