gecko-dev/toolkit/xre
Mike Shal e39a3d6b7c Bug 632954 - Add an explicit __llvm_profile_dump() call for Android; r=snorp
When Android shuts down the ndk process, it doesn't call the registered
atexit() handlers, which is normally where the profile data gets written
to file. Since the PGO test suite closes the browser when it is
finished, the nativeRun routine can manually call out to
__llvm_profile_dump() before returning.

This method has a downside that only the profile data from the calling
library gets written out, rather than for the whole process. Since we
are most interested in optimizing libxul, a new hook is added in
Bootstrap to make sure we get the profile data for the right library.

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

--HG--
extra : source : 0615c775a0cf6e8f98e1c051cd574c0d602a738a
2019-03-18 23:52:31 +00:00
..
test Bug 1531902: Enable launcher process pref on beta; r=mhowell 2019-03-11 23:26:00 +00:00
AutoSQLiteLifetime.cpp Bug 1523874 - Restore the use of sqlite memory hooks. r=mak 2019-01-30 13:00:21 +00:00
AutoSQLiteLifetime.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Bootstrap.cpp Bug 632954 - Add an explicit __llvm_profile_dump() call for Android; r=snorp 2019-03-18 23:52:31 +00:00
Bootstrap.h Bug 632954 - Add an explicit __llvm_profile_dump() call for Android; r=snorp 2019-03-18 23:52:31 +00:00
CmdLineAndEnvUtils.cpp Bug 1518587: Move startup profile selection to nsToolkitProfileService. r=froydnj 2019-01-14 17:27:34 +00:00
CmdLineAndEnvUtils.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
CreateAppData.cpp Bug 1520530: Remove the usage of deprecated OSX APIs in nsCommandLineService. r=spohl 2019-01-30 22:28:56 +00:00
EventTracer.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
EventTracer.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
LauncherRegistryInfo.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
LauncherRegistryInfo.h Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre 2019-01-18 10:12:56 +01:00
LauncherResult.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
MacApplicationDelegate.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MacApplicationDelegate.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
MacAutoreleasePool.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MacAutoreleasePool.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
MacLaunchHelper.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MacLaunchHelper.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
ModuleEvaluator_windows.cpp Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz 2019-01-15 22:29:28 +00:00
ModuleEvaluator_windows.h Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz 2019-01-15 22:29:28 +00:00
ModuleVersionInfo_windows.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ModuleVersionInfo_windows.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MozMeegoAppService.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PolicyChecks.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
ProfileReset.cpp Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE 2019-01-29 10:03:06 +02:00
ProfileReset.h Bug 1474285: Implement dedicated profiles per install. r=froydnj, r=Gijs 2019-01-25 16:02:28 -08:00
SafeMode.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
UIKitDirProvider.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
UIKitDirProvider.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
WinDllServices.cpp Bug 1460433: Part 1 - Change BasicDllServices to not do any dll notification callbacks; r=mhowell 2019-02-20 06:18:45 +00:00
WinDllServices.h Bug 1518490 Part 2/3: Measure xul.dll load duration r=aklotz 2019-01-15 22:29:28 +00:00
components.conf Bug 1524687: Part 2 - Convert most of the embedding module to static registration. r=mossop 2019-01-24 15:32:56 -08:00
glxtest.cpp Bug 1294232 - Refactor blocklisting on Linux to support the downloadable blocklist. r=jrmuizel 2019-03-18 07:50:02 -04:00
moz.build Bug 632954 - Add an explicit __llvm_profile_dump() call for Android; r=snorp 2019-03-18 23:52:31 +00:00
nsAndroidStartup.cpp Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
nsAppRunner.cpp Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
nsAppRunner.h Bug 1524687: Part 2 - Convert most of the embedding module to static registration. r=mossop 2019-01-24 15:32:56 -08:00
nsAppStartupNotifier.cpp Bug 1523969 part 23 - Move method definition inline comments to new line in 'toolkit/'. r=ehsan 2019-02-25 16:12:51 -06:00
nsAppStartupNotifier.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsCommandLineServiceMac.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsCommandLineServiceMac.mm Bug 1523613: Fix memory leaks during updates. r=rstrong 2019-02-25 10:16:15 -05:00
nsConsoleWriter.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsEmbedFunctions.cpp Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
nsEmbeddingModule.cpp Bug 1524687: Part 2 - Convert most of the embedding module to static registration. r=mossop 2019-01-24 15:32:56 -08:00
nsGDKErrorHandler.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-02-15 08:15:57 +00:00
nsGDKErrorHandler.h
nsIAppStartupNotifier.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
nsINativeAppSupport.idl Bug 1533708: Properly shut down the remote service before launching Firefox again. r=jmathies 2019-03-11 14:58:08 +00:00
nsIWinAppHelper.idl
nsIXREDirProvider.idl Bug 1493310: Add a way to access certain functionality of nsXREDirProvider for testing purposes. r=froydnj 2018-09-24 14:55:37 +00:00
nsNativeAppSupportBase.cpp Bug 1533708: Properly shut down the remote service before launching Firefox again. r=jmathies 2019-03-11 14:58:08 +00:00
nsNativeAppSupportBase.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsNativeAppSupportCocoa.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
nsNativeAppSupportDefault.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsNativeAppSupportUnix.cpp Backed out 11 changesets (bug 1518639, bug 513742) for chrome failures at browser/components/shell/test/test_headless_screenshot.html 2019-03-06 21:28:49 +02:00
nsNativeAppSupportWin.cpp Bug 1518639: Implement windows remoting server and client. r=jimm 2019-02-06 14:18:35 -08:00
nsNativeAppSupportWin.h Backed out 11 changesets (bug 1518639, bug 513742) for chrome failures at browser/components/shell/test/test_headless_screenshot.html 2019-03-06 21:28:49 +02:00
nsSigHandlers.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsSigHandlers.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsUpdateDriver.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
nsUpdateDriver.h Backed out changeset 2fc5715105a2 due to bug 1524496. r=me 2019-02-02 23:01:23 -08:00
nsWindowsRestart.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsWindowsWMain.cpp Bug 1460433: Part 2 - Log launcher process failures to a telemetry ping; r=mhowell 2019-02-25 21:14:07 +00:00
nsX11ErrorHandler.cpp Bug 1507049 - Rename MOZ_CRASH_UNSAFE_OOL MOZ_CRASH_UNSAFE. r=froydnj 2019-02-03 00:09:37 -08:00
nsX11ErrorHandler.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
nsXREDirProvider.cpp Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
nsXREDirProvider.h Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
platform.ini
updaterfileutils_osx.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
updaterfileutils_osx.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00