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

Issue 8510038: Fix hung renderer timer code in RenderWidgetHost (task spam bug) (Closed)

Created:
9 years, 1 month ago by jbates
Modified:
9 years, 1 month ago
Reviewers:
Charlie Reis, jam
CC:
chromium-reviews, jar (doing other things), brettw
Visibility:
Public.

Description

Fix MessageLoop task spam bug caused by hung renderer timer code in RenderWidgetHost. BUG=103667 TEST=in about:tracing, verify that the chrome UI thread doesn't show lots of tasks from StartHangMonitorTimeout. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109662

Patch Set 1 #

Total comments: 7

Patch Set 2 : simpler fix #

Patch Set 3 : simpler fix #

Total comments: 2

Patch Set 4 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -7 lines) Patch
M content/browser/renderer_host/render_widget_host.cc View 1 2 3 1 chunk +14 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jbates
I noticed creis and brettw in the code. I know brett is OOTO right now, ...
9 years, 1 month ago (2011-11-10 01:51:31 UTC) #1
Charlie Reis
http://codereview.chromium.org/8510038/diff/1/content/browser/renderer_host/render_widget_host.cc File content/browser/renderer_host/render_widget_host.cc (left): http://codereview.chromium.org/8510038/diff/1/content/browser/renderer_host/render_widget_host.cc#oldcode514 content/browser/renderer_host/render_widget_host.cc:514: hung_renderer_timer_.GetCurrentDelay() <= delay && On 2011/11/10 01:51:31, jbates wrote: ...
9 years, 1 month ago (2011-11-10 19:35:54 UTC) #2
jbates
Thanks creis, I totally missed those other use cases. I drilled down to the root ...
9 years, 1 month ago (2011-11-11 01:09:13 UTC) #3
Charlie Reis
LGTM! Took me a second to understand, but it's the Stop() call that orphans the ...
9 years, 1 month ago (2011-11-11 02:20:10 UTC) #4
jbates
Adding jam for OWNERS stamp. http://codereview.chromium.org/8510038/diff/3002/content/browser/renderer_host/render_widget_host.cc File content/browser/renderer_host/render_widget_host.cc (right): http://codereview.chromium.org/8510038/diff/3002/content/browser/renderer_host/render_widget_host.cc#newcode514 content/browser/renderer_host/render_widget_host.cc:514: // If we already ...
9 years, 1 month ago (2011-11-11 02:40:13 UTC) #5
jbates
On 2011/11/11 02:20:10, creis wrote: > LGTM! > > Took me a second to understand, ...
9 years, 1 month ago (2011-11-11 02:46:31 UTC) #6
jam
9 years, 1 month ago (2011-11-11 18:08:04 UTC) #7
rubberstamp lgtm

Powered by Google App Engine
This is Rietveld 408576698