fune/js
Paul Bone 6f15d19fc3 Bug 1894582 - Update the conditions for when to gather memory telemetry r=mccr8
* Rename DelayedInit() to Poke() to communicate that it can be called
   multiple times.  The new DelayedInit() is much smaller and only relevant
   to postpone gathering telemetry until after process startup.

 * Remove the observer callbacks that responded to cycle collection, replace
   them with a timer that is created after a task is executed.

 * Setup the memory telemetry timer regardless of extended telemetry

   Previously the memory telemetry was collected periodically only when
   extended telemetry was enabled, and if it wasn't enabled it was collected
   once (or more if DelayedInit() was called more than once, and it is).
   This could lead to different biases in the data between release and
   nightly.

 * Don't collect telemetry directly in Poke(), always use the
   timer.

 * Don't setup the timer if it would do nothing.

   If release telemetry isn't enabled then the only thing collected is
   MEMORY_TOTAL and that's only collected on the parent process.  So don't
   setup the timer on content processes.

Note that this is not a change in whether data is collected or not, since
GatherReports() always ran at least once before this change.  Furthermore
different settings change whether the telemetry is actually sent or not.

Differential Revision: https://phabricator.services.mozilla.com/D209201
2024-05-10 03:55:48 +00:00
..
examples
loader Bug 1894631 - Add CancelingImport state in ScriptLoadRequest::State. r=jonco 2024-05-07 16:03:20 +00:00
public Bug 1881281 - Add noexn heap type. r=bvisness 2024-05-08 15:08:17 +00:00
src Bug 1894216 - Skip test involving symbols as weakmap keys outside nightly builds r=sfink 2024-05-09 16:46:29 +00:00
xpconnect Bug 1894582 - Update the conditions for when to gather memory telemetry r=mccr8 2024-05-10 03:55:48 +00:00
app.mozbuild
ffi.configure
moz.build
moz.configure Bug 1850627 - Wasm JS Promise integration basics. r=rhunt 2024-04-23 21:18:56 +00:00
sub.configure