Skip to content
Snippets Groups Projects
  1. Jan 20, 2022
  2. Jan 17, 2022
  3. Jan 09, 2022
  4. Jan 08, 2022
  5. Jan 07, 2022
  6. Jan 05, 2022
    • Nika Layzell's avatar
    • Andreas Pehrson's avatar
      Bug 1746361 - Gecko Profiler: Track wrapped runnables throughout the tree. r=gerald · 6f3e18ab
      Andreas Pehrson authored
      The Runnable markers in the profilers are handy, but miss many types of
      runnables. This includes most of those that wrap another runnable and run that
      at a (possibly) later time.
      
      AbstractThread, TaskDispatcher and TaskQueue does this for e.g. tail dispatched
      tasks.
      
      TaskQueueWrapper does this when wrapping webrtc tasks (and Mozilla Runnables) to
      be run in a Mozilla TaskQueue with some overhead on the stack.
      
      DelayedRunnable wraps a runnable to be run after a timeout.
      
      It would perhaps be better in many cases to ignore the intermediate runnables,
      but I haven't seen a straight forward way to achieve this.
      
      More detailed data could be added on a case by case basis, for instance the
      delay for a DelayedRunnable (incl. actual vs. target delay) or the scope of a
      task in which a tail-dispatched runnable was dispatched. But this is also true
      for the status quo (for instance the time from dispatch to run) so I leave these
      ideas as future work.
      
      Differential Revision: https://phabricator.services.mozilla.com/D135027
      6f3e18ab
    • Emilio Cobos Álvarez's avatar
      Bug 1746559 - Simplify widget portal code. r=jhorak · 6d97f61b
      Emilio Cobos Álvarez authored
      There's no reason for that function to live in the GIOService interface.
      
      Differential Revision: https://phabricator.services.mozilla.com/D135121
      6d97f61b
    • Butkovits Atila's avatar
      Backed out 7 changesets (bug 1746361, bug 1748280, bug 1746347) for causing... · 64c8533f
      Butkovits Atila authored
      Backed out 7 changesets (bug 1746361, bug 1748280, bug 1746347) for causing failures at browser_interaction-between-interfaces.js. CLOSED TREE
      
      Backed out changeset eccba94506f0 (bug 1748280)
      Backed out changeset baf39ae53772 (bug 1748280)
      Backed out changeset 775843562f7e (bug 1748280)
      Backed out changeset 0987c68e9683 (bug 1748280)
      Backed out changeset 58dd008520da (bug 1746361)
      Backed out changeset 6f9e800877a6 (bug 1746347)
      Backed out changeset f78e794a9c2f (bug 1746347)
      64c8533f
    • Andreas Pehrson's avatar
      Bug 1746361 - Gecko Profiler: Track wrapped runnables throughout the tree. r=gerald · 0f53cfb8
      Andreas Pehrson authored
      The Runnable markers in the profilers are handy, but miss many types of
      runnables. This includes most of those that wrap another runnable and run that
      at a (possibly) later time.
      
      AbstractThread, TaskDispatcher and TaskQueue does this for e.g. tail dispatched
      tasks.
      
      TaskQueueWrapper does this when wrapping webrtc tasks (and Mozilla Runnables) to
      be run in a Mozilla TaskQueue with some overhead on the stack.
      
      DelayedRunnable wraps a runnable to be run after a timeout.
      
      It would perhaps be better in many cases to ignore the intermediate runnables,
      but I haven't seen a straight forward way to achieve this.
      
      More detailed data could be added on a case by case basis, for instance the
      delay for a DelayedRunnable (incl. actual vs. target delay) or the scope of a
      task in which a tail-dispatched runnable was dispatched. But this is also true
      for the status quo (for instance the time from dispatch to run) so I leave these
      ideas as future work.
      
      Differential Revision: https://phabricator.services.mozilla.com/D135027
      0f53cfb8
    • Chris Peterson's avatar
      Bug 1745613 - Change nsID::GenerateUUID() to not use NSS's RNG off the main thread. r=keeler · 963950be
      Chris Peterson authored
      Calling NSS_IsInitialized() off the main thread caused intermittent tsan failures because NSS_IsInitialized() reads global variable nssIsInitted without acquiring the nssInitLock lock.
      
      During Firefox startup, about 1000 nsIDs are generated, but only about 10 are generated off the main thread, so this change has very little impact on how often nsID::GenerateUUID() will use NSS's RNG. Of the nsIDs generated on the main thread during startup, about 600 are generated before NSS is initialized (so they use MFBT's RNG) and 400 are generated after NSS is initialized.
      
      After Firefox reaches a steady state, loading a light web page like google.com generates about 300 nsIDs and a heavy web page like cnn.com generates about 2000 nsIDs. All these nsIDs are generated on the main thread using NSS's RNG.
      
      Differential Revision: https://phabricator.services.mozilla.com/D134233
      963950be
  7. Jan 04, 2022
  8. Dec 31, 2021
  9. Dec 30, 2021
    • Mike Hommey's avatar
      Bug 1747756 - Move Windows system libraries from LIBS to moz.build.... · 1acc37c7
      Mike Hommey authored
      Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
      
      While mingw builds don't require user32 and advapi32 explicitly, it doesn't
      hurt for them to be there (and they're required for clang-cl build).
      Likewise, while clang-builds don't require uuid and userenv explicitly
      because they're pulled in via #pragmas in the source code, mingw doesn't
      support those #pragmas and needs them explicitly, which doesn't hurt the
      clang-cl builds.
      
      Differential Revision: https://phabricator.services.mozilla.com/D134737
      1acc37c7
  10. Dec 29, 2021
  11. Dec 28, 2021
  12. Dec 25, 2021
  13. Dec 24, 2021
  14. Dec 23, 2021
  15. Dec 25, 2021
  16. Dec 23, 2021
  17. Dec 22, 2021
  18. Dec 21, 2021
Loading