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

Issue 2222063002: Check that all shared workers are terminated. (Closed)

Created:
4 years, 4 months ago by alokp
Modified:
4 years, 3 months ago
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, kinuko+watch, blink-worker-reviews_chromium.org, DaleCurtis, tommi (sloooow) - chröme
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check that all shared workers are terminated. Adds temporary checks to determine whether shared workers prevent RenderProcessHost(s) from cleaning up due to RenderProcessHostImpl::worker_ref_count_ > 0. BUG=608049 Committed: https://crrev.com/529173d1bbeb53b3f9438648fad264b4db042721 Cr-Commit-Position: refs/heads/master@{#410730}

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -0 lines) Patch
M content/browser/browser_main_loop.cc View 1 chunk +6 lines, -0 lines 1 comment Download
M content/browser/browser_process_sub_thread.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 1 chunk +6 lines, -0 lines 1 comment Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 chunk +14 lines, -0 lines 6 comments Download
M content/browser/shared_worker/shared_worker_service_impl.h View 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
alokp
atwilson/horo: shared_worker jam: content
4 years, 4 months ago (2016-08-08 21:39:16 UTC) #7
horo
lgtm with nits https://codereview.chromium.org/2222063002/diff/1/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/2222063002/diff/1/content/browser/browser_main_loop.cc#newcode1109 content/browser/browser_main_loop.cc:1109: // Temporary checks to verify that ...
4 years, 4 months ago (2016-08-09 04:03:24 UTC) #8
alokp
https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode717 content/browser/renderer_host/render_process_host_impl.cc:717: // Temporary checks to verify that all shared workers ...
4 years, 4 months ago (2016-08-09 05:07:26 UTC) #9
horo
https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode717 content/browser/renderer_host/render_process_host_impl.cc:717: // Temporary checks to verify that all shared workers ...
4 years, 4 months ago (2016-08-09 06:01:26 UTC) #10
alokp
https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode717 content/browser/renderer_host/render_process_host_impl.cc:717: // Temporary checks to verify that all shared workers ...
4 years, 4 months ago (2016-08-09 06:35:27 UTC) #11
horo
https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode717 content/browser/renderer_host/render_process_host_impl.cc:717: // Temporary checks to verify that all shared workers ...
4 years, 4 months ago (2016-08-09 09:00:52 UTC) #12
jam
lgtm
4 years, 4 months ago (2016-08-09 16:55:06 UTC) #13
alokp
On 2016/08/09 09:00:52, horo wrote: > https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc > File content/browser/renderer_host/render_process_host_impl.cc (right): > > https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_host/render_process_host_impl.cc#newcode717 > ...
4 years, 4 months ago (2016-08-09 16:58:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2222063002/1
4 years, 4 months ago (2016-08-09 16:59:30 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-09 17:40:21 UTC) #18
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/529173d1bbeb53b3f9438648fad264b4db042721 Cr-Commit-Position: refs/heads/master@{#410730}
4 years, 4 months ago (2016-08-09 17:43:23 UTC) #20
manzagop (departed)
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2254963002/ by manzagop@chromium.org. ...
4 years, 4 months ago (2016-08-17 20:13:15 UTC) #21
falken
4 years, 3 months ago (2016-09-02 07:47:45 UTC) #23
Message was sent while issue was closed.
https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_ho...
File content/browser/renderer_host/render_process_host_impl.cc (right):

https://codereview.chromium.org/2222063002/diff/1/content/browser/renderer_ho...
content/browser/renderer_host/render_process_host_impl.cc:725: CHECK_EQ(0,
host->worker_ref_count_);
This would infinitely loop, no? iter.Advance() should be called.

Powered by Google App Engine
This is Rietveld 408576698