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

Issue 2312633002: For debugging, split worker ref count into service worker and shared worker counts (Closed)

Created:
4 years, 3 months ago by falken
Modified:
4 years, 3 months ago
CC:
blink-worker-reviews_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+watch, kinuko+serviceworker, michaeln, nasko+codewatch_chromium.org, nhiroki, serviceworker-reviews, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

For debugging, split worker ref count into service worker and shared worker counts This should help narrow down the cause of the nonzero ref count on shutdown. Also, move the ref counts members near the top of RenderProcessHostImpl, since the minidumps we are seeing don't have them in memory, while earlier parts of the object are there. BUG=636377, 639193 Committed: https://crrev.com/26c0d0b4d4a8a5c48d9311c4e65485bae762bfff Cr-Commit-Position: refs/heads/master@{#416545}

Patch Set 1 #

Patch Set 2 : separate checks #

Total comments: 2

Patch Set 3 : size_t #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -34 lines) Patch
M content/browser/renderer_host/render_process_host_impl.h View 1 2 4 chunks +12 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 6 chunks +41 lines, -13 lines 0 comments Download
M content/browser/service_worker/service_worker_process_manager.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/public/browser/render_process_host.h View 1 chunk +4 lines, -2 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 chunk +4 lines, -2 lines 0 comments Download
M content/public/test/mock_render_process_host.cc View 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
falken
ptal
4 years, 3 months ago (2016-09-05 07:14:59 UTC) #3
horo
lgtm
4 years, 3 months ago (2016-09-05 07:47:49 UTC) #5
falken
Thanks. FYI I changed the patch slightly to use different CHECKs in case the minidump ...
4 years, 3 months ago (2016-09-05 07:59:20 UTC) #6
falken
jochen: can you review all please?
4 years, 3 months ago (2016-09-05 07:59:42 UTC) #8
jochen (gone - plz use gerrit)
lgtm with nit https://codereview.chromium.org/2312633002/diff/20001/content/browser/renderer_host/render_process_host_impl.h File content/browser/renderer_host/render_process_host_impl.h (right): https://codereview.chromium.org/2312633002/diff/20001/content/browser/renderer_host/render_process_host_impl.h#newcode426 content/browser/renderer_host/render_process_host_impl.h:426: int service_worker_ref_count_; what about making them ...
4 years, 3 months ago (2016-09-05 09:45:15 UTC) #13
falken
Thank you https://codereview.chromium.org/2312633002/diff/20001/content/browser/renderer_host/render_process_host_impl.h File content/browser/renderer_host/render_process_host_impl.h (right): https://codereview.chromium.org/2312633002/diff/20001/content/browser/renderer_host/render_process_host_impl.h#newcode426 content/browser/renderer_host/render_process_host_impl.h:426: int service_worker_ref_count_; On 2016/09/05 09:45:15, jochen wrote: ...
4 years, 3 months ago (2016-09-05 12:06:45 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/2312633002/40001
4 years, 3 months ago (2016-09-05 12:07:25 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-05 14:40:40 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-05 14:42:28 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/26c0d0b4d4a8a5c48d9311c4e65485bae762bfff
Cr-Commit-Position: refs/heads/master@{#416545}

Powered by Google App Engine
This is Rietveld 408576698