Closed Bug 1381627 Opened 2 years ago Closed 2 years ago

Label the EverySecondTelemetryCallback_m runnable


(Core :: WebRTC: Signaling, enhancement, P1)




Tracking Status
firefox57 --- fixed


(Reporter: billm, Assigned: ng)




(1 file)

This runnable happens pretty often. It will need to be labeled. It would be nice if we could use SystemGroup here. But it seems possible that we read data that needs to be read when no other runnables are running.

I also wonder if this runnable could be run at idle priority. That would solve the labeling issue and also improve performance.
Rank: 25
Component: WebRTC → WebRTC: Signaling
Priority: -- → P2
Up-ing priority as I learned this is part of the remaining 3% of unlabeled runnables we need to make the concurrent scheduler work effectively for project quantum.
Rank: 25 → 15
Priority: P2 → P1
Nico, can you do this one? If not, I can do it.
Assignee: nobody → na-g
Jan-Ivar, sure.
Ever confirmed: false
Gentle ping here :)
Thanks for the poke.
Flags: needinfo?(na-g)
This looks like it labeled in Bug 1377222.
Flags: needinfo?(na-g)
Andrew, could you double check me on comment 6 before I close?
Flags: needinfo?(overholt)
That change just gave it a name. The problem here is the SetTarget call:

We need the target to be the result of calling EventTargetFor on some SchedulerGroup: either the SystemGroup or a DocGroup or TabGroup. If we use the SystemGroup, that means that the timer code is not allowed to modify any state in a way that would be observable by web content. If we use a DocGroup or TabGroup, that means that the timer can modify state in a way that is observable only by the document or tab in question.

So the main issue here is what EverySecondTelemetryCallback_m is actually doing and whether it modifies state in an observable way.
Flags: needinfo?(overholt)
Ever confirmed: true
Is this landable? :)
Flags: needinfo?(na-g)
Attachment #8902310 - Flags: review?(wmccloskey)
Attachment #8902310 - Flags: review?(jib)
Comment on attachment 8902310 [details]
Bug 1381627 - EverySecondTelemetryCallback target

Attachment #8902310 - Flags: review?(jib) → review+
(In reply to Andrew Overholt [:overholt] from comment #12)
> Is this landable? :)

Yes, review pending.
Comment on attachment 8902310 [details]
Bug 1381627 - EverySecondTelemetryCallback target
Attachment #8902310 - Flags: review?(wmccloskey) → review+
Pushed by
EverySecondTelemetryCallback target r=billm,jib
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
Flags: needinfo?(na-g)
You need to log in before you can comment on or make changes to this bug.