WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
38276
[Chromium] callOnMainThread should equate to MessageLoop::PostTask
https://bugs.webkit.org/show_bug.cgi?id=38276
Summary
[Chromium] callOnMainThread should equate to MessageLoop::PostTask
Darin Fisher (:fishd, Google)
Reported
2010-04-28 11:21:26 PDT
[Chromium] callOnMainThread should equate to MessageLoop::PostTask Presently, callOnMainThread is implemented using an intermediate queue, and MessageLoop::PostTask is used to process that queue in batches. This adds ordering problems which cause flaky behavior in Chrome as callOnMainThread and MessageLoop::PostTask are not necessarily FIFO. It is also a potential source of jank as while we are processing the queue, we do not let other tasks run on the thread. It would be better to let the MessageLoop be the scheduler for all callbacks to the main thread. Chromium bug is here:
http://code.google.com/p/chromium/issues/detail?id=42751
Chromium-side pre-req patch is here:
http://codereview.chromium.org/1794005/show
Attachments
v1 patch
(5.71 KB, patch)
2010-04-28 11:23 PDT
,
Darin Fisher (:fishd, Google)
levin
: review+
fishd
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Darin Fisher (:fishd, Google)
Comment 1
2010-04-28 11:23:39 PDT
Created
attachment 54591
[details]
v1 patch
Darin Fisher (:fishd, Google)
Comment 2
2010-04-28 13:36:15 PDT
Landed as
http://trac.webkit.org/changeset/58425
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug