New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 605498 link

Starred by 11 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Delayed tasks not firing reliably on Mac in the background

Project Member Reported by skyos...@chromium.org, Apr 21 2016

Issue description

Copying alexclarke@ from bug 485425:

"""
But something is clearly wrong.  The trace shows the frame_timer_tq_ counts steadily rising but with the main thread being idle until something (typically an IPC handler) posts a task from the IO thread and wakes up the scheduler.  The scheduler notices there's a bunch of delayed tasks that should have run and duly executes them. Eventually it goes idle and posts a delayed task on the base messageloop to process the next delayed task in X milliseconds - but that never comes back for some reason.

I have a theory this is due to the message pump timer coalescing, which incidentally only happens on MacOS X.  When the entire process is in the background, ChildThreadImpl::OnProcessBackgrounded is called with |backgrounded| = true which calls base::MessageLoop::current()->SetTimerSlack() with base::TIMER_SLACK_MAXIMUM.
"""

 
Components: Blink>Scheduling

Comment 2 Deleted

Status: WontFix (was: Available)
Closing the bug as there's been multiple changes to the logic and we haven't heard any bugreports for a while now.

Sign in to add a comment