Commit Graph
339 Commits
Author SHA1 Message Date
Daniel Holbert a88c0883b9 Bug 2037761: Change RegisterStrongMemoryReporter to take already_AddRefed instead of a raw pointer, and update callsites. r=dom-core,smaug
The callsites now mostly use MakeAndAddRef (which just stuffs a new object into
a RefPtr and calls `forget()` to yield an already_AddRefed).

In cases where the callsite constructs the object earlier and retains a strong
reference, they'll now use do_AddRef to explicitly generate a strong reference
(as an already_AddRefed) to pass into RegisterStrongMemoryReporter.

Differential Revision: https://phabricator.services.mozilla.com/D299042
2026-05-07 19:37:43 +00:00
Sandor Molnar 9987bc0bd7 Revert "Bug 2037761: Change RegisterStrongAsyncMemoryReporter to take already_AddRefed instead of a raw pointer, and update callsites. r=dom-core,smaug" for causing build bustages
This reverts commit 1ab110ab2f.

Revert "Bug 2037761: Change RegisterStrongMemoryReporter to take already_AddRefed instead of a raw pointer, and update callsites. r=dom-core,smaug"

This reverts commit 2e187ddbc8.
2026-05-07 08:23:58 +00:00
Daniel Holbert 2e187ddbc8 Bug 2037761: Change RegisterStrongMemoryReporter to take already_AddRefed instead of a raw pointer, and update callsites. r=dom-core,smaug
The callsites now mostly use MakeAndAddRef (which just stuffs a new object into
a RefPtr and calls `forget()` to yield an already_AddRefed).

In cases where the callsite constructs the object earlier and retains a strong
reference, they'll now use do_AddRef to explicitly generate a strong reference
(as an already_AddRefed) to pass into RegisterStrongMemoryReporter.

Differential Revision: https://phabricator.services.mozilla.com/D299042
2026-05-07 07:49:42 +00:00
Nicholas Rishel 0f150855dd Bug 2034556 - Remove no longer existent externs. r=xpcom-reviewers,mccr8
Differential Revision: https://phabricator.services.mozilla.com/D296173
2026-04-24 11:02:01 +00:00
Sylvestre Ledru 6149f49299 Bug 2023419 - Remove Emacs/Vim modelines from xpcom/ r=emilio
replaced by .editorconfig
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D287878
2026-03-16 17:22:07 +00:00
Jan de Mooij 71e260b44f Bug 1992206 - Initialize JS engine after loading user prefs in the parent process. r=mccr8
Bug 1579367 moved XPConnect `JSContext` creation (and `LoadStartupJSPrefs`)
during startup so that this happens after loading user prefs. This ensured
that modified JS startup prefs are handled correctly in the parent process.

This patch fixes a similar issue for `JS::Prefs` (which must be set before
calling `JS_InitWithFailureDiagnostic`) by moving process-wide JS engine
initialization to right before we create the first `JSContext`.

This also simplifies JS engine startup in Gecko because this now happens in one place.

Differential Revision: https://phabricator.services.mozilla.com/D279518
2026-01-21 11:51:04 +00:00
pstanciu dba7d6c258 Revert "Bug 1992206 - Initialize JS engine after loading user prefs in the parent process. r=mccr8" for causing iOS build bustages @ nsXPConnect.cpp
This reverts commit dc7044f39c.
2026-01-21 10:26:52 +00:00
Jan de Mooij dc7044f39c Bug 1992206 - Initialize JS engine after loading user prefs in the parent process. r=mccr8
Bug 1579367 moved XPConnect `JSContext` creation (and `LoadStartupJSPrefs`)
during startup so that this happens after loading user prefs. This ensured
that modified JS startup prefs are handled correctly in the parent process.

This patch fixes a similar issue for `JS::Prefs` (which must be set before
calling `JS_InitWithFailureDiagnostic`) by moving process-wide JS engine
initialization to right before we create the first `JSContext`.

This also simplifies JS engine startup in Gecko because this now happens in one place.

Differential Revision: https://phabricator.services.mozilla.com/D279518
2026-01-21 09:50:54 +00:00
Nika Layzell 195873d7f3 Bug 1927599 - Part 5: Disable JIT on iOS in LockdownMode, r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D229402
2025-12-16 04:56:31 +00:00
Andrew McCreight 7dde7f47c5 Bug 2004131 - Remove XPCOM.h. r=xpcom-reviewers,nika
This doesn't even appear to be used by the one place that includes it.
I built XPCOMInit.cpp in non-unified and it seemed okay.

Differential Revision: https://phabricator.services.mozilla.com/D275120
2025-12-04 23:57:30 +00:00
serge-sans-paille 112b4ba840 Bug 1996697 - Remove unused mfbt inclusion in xpcom/** r=emilio,media-playback-reviewers,profiler-reviewers,profiles-reviewers,chunmin,canaltinova,mossop
Differential Revision: https://phabricator.services.mozilla.com/D270267
2025-10-28 14:33:40 +00:00
serge-sans-paille 880b44ac3d Bug 1996049 - Remove unused inclusion of Atomics.h r=emilio,necko-reviewers,geckoview-reviewers,media-playback-reviewers,webrtc-reviewers,profiler-reviewers,toolkit-telemetry-reviewers,dom-worker-reviewers,mstange,chunmin,pehrsons,m_kato,jesup,asuth
Differential Revision: https://phabricator.services.mozilla.com/D269783
2025-10-26 20:45:57 +00:00
serge-sans-paille 9b6eb9c7f9 Bug 1996048 - Remove unused inclusion of UniquePtr.h or UniquePtrExtensions.h r=emilio,media-playback-reviewers,profiler-reviewers,win-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,gstoll,mstange,TYLin,chunmin
Differential Revision: https://phabricator.services.mozilla.com/D269782
2025-10-24 06:50:27 +00:00
serge-sans-paille 7662b3abdc Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 19:36:01 +00:00
Cristina Horotan 8a1b1970b7 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing Gtest failures on AlreadyAddRefed.h
This reverts commit e98adca292.
2025-10-21 16:16:29 +00:00
serge-sans-paille e98adca292 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 15:05:17 +00:00
Cristina Horotan aab924e90d Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing build bustage at nsBrowserApp.cpp
This reverts commit fd0ffa193c.
2025-10-21 10:44:13 +00:00
serge-sans-paille fd0ffa193c Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 09:44:11 +00:00
Narcis Beleuzu e1e6bbb1c9 Revert "Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch" for causing bustages on Document.cpp
This reverts commit b23c15e927.
2025-10-21 06:34:58 +00:00
serge-sans-paille b23c15e927 Bug 1994397 - Remove obsolete Unused.h header r=emilio,tschuster,geckoview-reviewers,extension-reviewers,application-update-reviewers,media-playback-reviewers,webrtc-reviewers,cookie-reviewers,places-reviewers,profiler-reviewers,win-reviewers,dom-storage-reviewers,permissions-reviewers,profiles-reviewers,toolkit-telemetry-reviewers,firefox-style-system-reviewers,firefox-svg-reviewers,layout-reviewers,timhuang,gstoll,TravisLong,bytesized,mstange,karlt,robwu,pehrsons,m_kato,jari,jhirsch
It is replaced by a standard-conforming cast to (void) which is
understood the same by the compiler.

In some cases this could be replaced by `[[maybe_unused]]` but for
expression whose value is ignored, this requires storing to a temporary
variable first, so not going that way.

One notable change is that marking an object of type already_AddRefed as
unused used to implicitly leak memory. This is now made explicit.

Most of the heavy lifting was done through:

    $ git grep -l '\<Unused\> <<' | xargs sed -i -e 's/Unused << /(void)/g'
    $ git grep -l mozilla/Unused.h | xargs sed -i -e '/mozilla\/Unused.h/ d'

Differential Revision: https://phabricator.services.mozilla.com/D268706
2025-10-21 06:01:36 +00:00
Nika Layzell 59efce1ad4 Bug 901050 - Part 5: Don't initialize IOThread until Prefs are available, r=ipc-reviewers,mccr8
Before this change, we would initialize IOThread much earlier during startup, before Preferences are available to read (which depends on the XPCOM component manager). After this change, starting the IOThread is done during XPCOM component startup, meaning preferences are available.

This will allow us to customize IPC configuration at startup based on Preferences in the parent process. Content processes still cannot depend on Prefs to be available.

Differential Revision: https://phabricator.services.mozilla.com/D256503
2025-08-08 21:08:25 +00:00
agoloman b45a01cb53 Revert "Bug 901050 - Part 6: Avoid checking backend pref in content, r=ipc-reviewers,jld" for causing build bustages @ipc_channel_mach.cc.
This reverts commit 50659c4eb4.

Revert "Bug 901050 - Part 5: Don't initialize IOThread until Prefs are available, r=ipc-reviewers,mccr8"

This reverts commit 8358951e9a.

Revert "Bug 901050 - Part 4: Use IPC::Channel::Mode to indicate brokering status, r=ipc-reviewers,jld"

This reverts commit 7added392b.

Revert "Bug 901050 - Part 3: Add an IPC::ChannelMach Backend, r=ipc-reviewers,jld"

This reverts commit 21f9270e40.

Revert "Bug 901050 - Part 2: Add mach port watching support to the IO thread, r=ipc-reviewers,jld"

This reverts commit 1cb4ea55a2.

Revert "Bug 901050 - Part 1: Make IPC::Channel virtual, r=ipc-reviewers,jld"

This reverts commit 0c9d93c0c2.
2025-07-23 20:58:08 +00:00
Nika Layzell 8358951e9a Bug 901050 - Part 5: Don't initialize IOThread until Prefs are available, r=ipc-reviewers,mccr8
Before this change, we would initialize IOThread much earlier during startup, before Preferences are available to read (which depends on the XPCOM component manager). After this change, starting the IOThread is done during XPCOM component startup, meaning preferences are available.

This will allow us to customize IPC configuration at startup based on Preferences in the parent process. Content processes still cannot depend on Prefs to be available.

Differential Revision: https://phabricator.services.mozilla.com/D256503
2025-07-23 20:14:17 +00:00
Nazım Can Altınova 689daeebfa Bug 1962880 - Get the download directory correctly for the profiler POSIX signal profiling r=florian,profiler-reviewers
We were using `NS_GetSpecialDirectory(NS_OS_DEFAULT_DOWNLOAD_DIR, ...)`
before for getting the download directory for the profiler POSIX signal
profiling. But this ignores the user-set download directory and always
use the default downloads folder. And while doing so, it creates this
default folder even if the user set it to another one.

Now we are using `GetPreferredDownloadsDirectory` directly which looks
for the user-set download directory first and uses it if it find one.

We had to change the location we call profiler_lookup_async_signal_dump_directory
because in that location user-defined prefs weren't fully initialized
yet in NS_InitXPCOM. Moved it inside `XREMain::XRE_mainRun`. Note that
there is a small behavior change here. Previously that function was
being called in *every process*, and now it's being called only in the
parent process. This is actually the desired behavior because we can't
capture profiles by directly sending POSIX signals to child processes
due to sandboxing restrictions.

Differential Revision: https://phabricator.services.mozilla.com/D254342
2025-06-20 11:01:36 +00:00
Cosmin Sabou 0a7901304d Revert "Bug 1962880 - Get the download directory correctly for the profiler POSIX signal profiling r=florian,profiler-reviewers" for causing gv-junit crashes on GetPreferredDownloadsDirectory.
This reverts commit df018ffa67.
2025-06-19 19:19:35 +00:00
Nazım Can Altınova df018ffa67 Bug 1962880 - Get the download directory correctly for the profiler POSIX signal profiling r=florian,profiler-reviewers
We were using `NS_GetSpecialDirectory(NS_OS_DEFAULT_DOWNLOAD_DIR, ...)`
before for getting the download directory for the profiler POSIX signal
profiling. But this ignores the user-set download directory and always
use the default downloads folder. And while doing so, it creates this
default folder even if the user set it to another one.

Now we are using `GetPreferredDownloadsDirectory` directly which looks
for the user-set download directory first and uses it if it find one.

We had to change the location we call profiler_lookup_async_signal_dump_directory
because in that location user-defined prefs weren't fully initialized
yet in NS_InitXPCOM. Moved it inside `XREMain::XRE_mainRun`. Note that
there is a small behavior change here. Previously that function was
being called in *every process*, and now it's being called only in the
parent process. This is actually the desired behavior because we can't
capture profiles by directly sending POSIX signals to child processes
due to sandboxing restrictions.

Differential Revision: https://phabricator.services.mozilla.com/D254342
2025-06-19 18:13:28 +00:00
Tooru Fujisawa b0f8b0b3c3 Bug 1954667 - Forcibly clear the shared script cache when shutting down. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D242318
2025-03-22 11:54:13 +00:00
Michael van Straten bff32e6132 Bug 1923143 part 3 - Add a OpenTelemetry C++ based tracing component r=jari,nika
Differential Revision: https://phabricator.services.mozilla.com/D224914
2025-01-29 12:08:22 +00:00
Jens Stutte 00d84f5344 Bug 1903758 - Make mozjemalloc have a lazy purge for all arenas via idle processing on the main thread. r=smaug
We can defer the purging of arenas to happen during idle processing on the main thread.

We already have the following prerequisites thanks to bug 1488780:

- The (often) expensive OS functions to give back memory pages are not blocking the use of the arena on other threads anymore.

- A single call to moz_may_purge_one_now (D232083) wraps just arena_t::Purge() that will just do "some work on one chunk" and tell if more is needed, giving us a fine grained control.

Synchronous purging can block the caller of a memory freeing function for an unexpectedly long time. Furthermore, memory that might be reclaimed very soon can be madvised early and thus its reuse can lead to frequent page faults.

We thus use moz_enable_deferred_purge (see D232083) to queue purge requests and execute them on the main thread only if it is about to become idle. We do this using an IdleTaskRunner that ensures we won't purge too often or never.

We believe that the main thread being idle is probably the best easy indicator we have to tell if the process is idle enough to purge without performance regrets.

We expect the peak memory usage of a single arena to not be affected significantly by this during normal use, but the time that this peak holds up might extend. This means the peak sum of all memory from all running processes may rise for short periods of time until enough purges happened on potentially several processes.

There is a chance to mitigate this effect by lowering the settings of allowed dirty pages for arenas, as there should be less churn in general with this patch, potentially resulting in a lower memory usage in average.

Differential Revision: https://phabricator.services.mozilla.com/D220616
2025-01-17 16:13:33 +00:00
Alexandru Marc f90439f811 Backed out 3 changesets (bug 1923143) for causing hazard bustages
Backed out changeset 7510845c07da (bug 1923143)
Backed out changeset 45e612b7d4b6 (bug 1923143)
Backed out changeset fb3772f8a616 (bug 1923143)
2024-12-16 16:50:13 +02:00
Michael van Straten 6e501f6c8b Bug 1923143 part 3 - Add a OpenTelemetry C++ based tracing component r=jari,nika
Differential Revision: https://phabricator.services.mozilla.com/D224914
2024-12-16 07:22:34 +00:00
Nika Layzell 7d9829fbec Bug 1928734 - Part 2: Centralize handling of the IPC IO thread, r=ipc-reviewers,media-playback-reviewers,karlt,jld,handyman
Previously the handling for the IO thread was split between
BrowserProcessSubThread (a replication of the background thread infrastructure
used by Chromium during the IPC import, which is only used for the IO thread in
Gecko), and IOThreadChild (a wrapper around ChildThread, which was imported
from Chromium's source).

This meant that there was little code-sharing between the parent and child
processes, and that the lifecycle of the IO thread was perhaps less clear.

This refactors the code to centralize handling of these threads, and provide a
basic common interface. At the moment, actually hooking up async IO listeners
is still done using the Chromium interfaces.

Differential Revision: https://phabricator.services.mozilla.com/D227739
2024-11-19 18:34:02 +00:00
Butkovits Atila 8d194ab684 Backed out 3 changesets (bug 1928734) for causing linting failure. CLOSED TREE
Backed out changeset 1b9e50c4c129 (bug 1928734)
Backed out changeset dd5cabd3fbc4 (bug 1928734)
Backed out changeset a9f66c1d560d (bug 1928734)
2024-11-19 01:49:22 +02:00
Nika Layzell 299a27a846 Bug 1928734 - Part 2: Centralize handling of the IPC IO thread, r=ipc-reviewers,media-playback-reviewers,karlt,jld
Previously the handling for the IO thread was split between
BrowserProcessSubThread (a replication of the background thread infrastructure
used by Chromium during the IPC import, which is only used for the IO thread in
Gecko), and IOThreadChild (a wrapper around ChildThread, which was imported
from Chromium's source).

This meant that there was little code-sharing between the parent and child
processes, and that the lifecycle of the IO thread was perhaps less clear.

This refactors the code to centralize handling of these threads, and provide a
basic common interface. At the moment, actually hooking up async IO listeners
is still done using the Chromium interfaces.

Differential Revision: https://phabricator.services.mozilla.com/D227739
2024-11-18 22:54:54 +00:00
Nika Layzell 18a18bee1b Bug 1915998 - Check for Omnijar::Init failure more consistently, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D220748
2024-08-30 22:40:25 +00:00
Andrew McCreight a8dfbe4c5c Bug 1915988, part 2 - Make non-main process NS_InitXPCOM infallible. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D220742
2024-08-30 21:49:36 +00:00
Adam Brouwers-Harries b12edbb492 Bug 1883903 - Try to get a profile when we encounter a hang r=florian,profiler-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D214842
2024-08-14 12:11:43 +00:00
Iulian Moraru 0d335622d6 Backed out changeset 10913ecf6412 (bug 1883903) for causing xpcshell failures on test_feature_posix_signals.js. 2024-08-05 22:50:15 +03:00
Adam Brouwers-Harries bb43746f01 Bug 1883903 - Try to get a profile when we encounter a hang r=florian,profiler-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D214842
2024-08-05 17:06:06 +00:00
Tooru Fujisawa cc80cf2368 Bug 1907014 - Make SharedSubResourceCache subclass instance a per-process singleton. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D217709
2024-07-25 14:02:25 +00:00
Jens Stutte 75fbfe5dd1 Bug 1471720 - Make Omnijar::Init() fallible during NS_InitXPCOM and do a canary load of a JS component as early as possible in XRE_mainRun. r=xpcom-reviewers,nika
Omnijar::Init can detect corrupted zip files and react accordingly. It
cannot fail if omni.ja is just missing, as we might run in a
configuration where resources are loaded directly from the modules
directory. We thus add also a canary load of the AppConstants
module to XRE_mainRun as soon as we have a JS context.

Differential Revision: https://phabricator.services.mozilla.com/D205026
2024-07-22 19:30:26 +00:00
Paul Adenot 5be2aa3ac7 Bug 1890370 - Remove libtheora integration. r=media-playback-reviewers,karlt
Differential Revision: https://phabricator.services.mozilla.com/D215396
2024-07-15 14:20:37 +00:00
Cristian Tuns bb9bb2130b Backed out changeset 7403e6b18b71 (bug 1883903) for causing build bustages in platform.cpp CLOSED TREE 2024-07-09 20:43:18 -04:00
Adam Brouwers-Harries f3b7761d5a Bug 1883903 - Try to get a profile when we encounter a hang r=florian,profiler-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D214842
2024-07-10 00:22:54 +00:00
Adam Brouwers-Harries fe8eeb0343 Bug 1865930: Add support for stopping the profiler using UNIX signals r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203146
2024-04-04 17:40:14 +00:00
Iulian Moraru e81283d50c Backed out changeset 1f4dc2487e0e (bug 1865930) for causing xpcshell failures on test_feature_posix_signals.js. 2024-04-03 03:55:28 +03:00
Adam Brouwers-Harries 76364c8d38 Bug 1865930: Add support for stopping the profiler using UNIX signals r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203146
2024-04-02 18:35:50 +00:00
Cristian Tuns 3c179a9d0a Backed out changeset 33f1358c77ca (bug 1865930) for causing build bustages in platform.cpp CLOSED TREE 2024-04-02 11:05:10 -04:00
Adam Brouwers-Harries 5ec117dd44 Bug 1865930: Add support for stopping the profiler using UNIX signals r=canaltinova,profiler-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203146
2024-04-02 14:27:17 +00:00
Nika Layzell 6ff61cec2b Bug 1883457 - Part 1: Disable jit compilation within the parent process on iOS, r=jandem
This adds a pref to disable jit compilation by calling JS::DisableJitBackend in
the parent process. This will be used on iOS, where the jit entitlements are
only available for sandboxed content processes.

Differential Revision: https://phabricator.services.mozilla.com/D203498
2024-03-25 17:12:53 +00:00