Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Issue 6334126: Message pump for Mac UI loop starves delayed work (Closed)

Created:
9 years, 10 months ago by jamesr
Modified:
9 years, 6 months ago
Reviewers:
CC:
chromium-reviews, brettw-cc_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Message pump for Mac UI loop starves delayed work BUG= TEST=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -1 line) Patch
M base/message_loop_unittest.cc View 3 chunks +60 lines, -0 lines 0 comments Download
M base/message_pump_mac.mm View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 1 (0 generated)
jamesr
9 years, 10 months ago (2011-02-04 22:54:45 UTC) #1
Output on mac with message_loop_type_ = TYPE_UI:


[72280:2307:0204/145156:2593773358734579:WARNING:message_loop_unittest.cc(925)]
item 0 is RECURSIVE 1 starts
[72280:2307:0204/145156:2593773358766808:WARNING:message_loop_unittest.cc(925)]
item 1 is RECURSIVE 1 ends
[72280:2307:0204/145156:2593773358786487:WARNING:message_loop_unittest.cc(925)]
item 2 is RECURSIVE 2 starts
[72280:2307:0204/145156:2593773358805093:WARNING:message_loop_unittest.cc(925)]
item 3 is RECURSIVE 2 ends
[72280:2307:0204/145156:2593773358823861:WARNING:message_loop_unittest.cc(925)]
item 4 is RECURSIVE 1 starts
[72280:2307:0204/145156:2593773358842092:WARNING:message_loop_unittest.cc(925)]
item 5 is RECURSIVE 1 ends
[72280:2307:0204/145156:2593773358860424:WARNING:message_loop_unittest.cc(925)]
item 6 is RECURSIVE 2 starts
[72280:2307:0204/145156:2593773358878523:WARNING:message_loop_unittest.cc(925)]
item 7 is RECURSIVE 2 ends
[72280:2307:0204/145156:2593773358896717:WARNING:message_loop_unittest.cc(925)]
item 8 is RECURSIVE 1 starts
[72280:2307:0204/145156:2593773358914772:WARNING:message_loop_unittest.cc(925)]
item 9 is RECURSIVE 1 ends
[72280:2307:0204/145156:2593773358932680:WARNING:message_loop_unittest.cc(925)]
item 10 is RECURSIVE 2 starts
[72280:2307:0204/145156:2593773358950669:WARNING:message_loop_unittest.cc(925)]
item 11 is RECURSIVE 2 ends
[72280:2307:0204/145156:2593773358968765:WARNING:message_loop_unittest.cc(925)]
item 12 is ORDERERD 3 starts
[72280:2307:0204/145156:2593773358986731:WARNING:message_loop_unittest.cc(925)]
item 13 is ORDERERD 3 ends
[72280:2307:0204/145156:2593773359008930:WARNING:message_loop_unittest.cc(925)]
item 14 is QUITMESSAGELOOP 4 starts
[72280:2307:0204/145156:2593773359028461:WARNING:message_loop_unittest.cc(925)]
item 15 is QUITMESSAGELOOP 4 ends

the PostDelayedTask()s - the ORDERERD and QUITMESSAGELOOP - are getting starved
by the PostTask()s - of type RECURSIVE.

Powered by Google App Engine
This is Rietveld 408576698