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

Issue 1409853007: Have NetworkStateNotifier keep untraced ExecutionContext observers. (Closed)

Created:
5 years, 2 months ago by sof
Modified:
5 years, 2 months ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Have NetworkStateNotifier keep untraced ExecutionContext observers. NetworkStateNotifier keeps track of its observing ExecutionContexts; following r355234 this is a persistent hash map of weak references (with Oilpan.) As observers may live on any thread, the first thread that registers would then create the persistent heap collection on its heap. This is at odds with the lifetime of NetworkStateNotifier, and as ExecutionContexts manually manage their observership, revert to using a HashMap. R=haraken BUG=515524 Committed: https://crrev.com/f584f71dcd33f325fe4b86f271dbd6cdbdfc8802 Cr-Commit-Position: refs/heads/master@{#355970}

Patch Set 1 #

Patch Set 2 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M third_party/WebKit/Source/core/page/NetworkStateNotifier.h View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
sof
please take a look. Takes care of the netinfo/web-worker.html crasher http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20Oilpan%20Leak/builds/14589
5 years, 2 months ago (2015-10-23 10:59:10 UTC) #2
haraken
LGTM, thanks. Worth having a comment about why the ObserverListMap needs to use UntracedMembers.
5 years, 2 months ago (2015-10-23 18:55:06 UTC) #3
sof
On 2015/10/23 18:55:06, haraken wrote: > LGTM, thanks. Worth having a comment about why the ...
5 years, 2 months ago (2015-10-24 07:31:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1409853007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1409853007/20001
5 years, 2 months ago (2015-10-24 07:31:56 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-24 10:06:53 UTC) #9
commit-bot: I haz the power
5 years, 2 months ago (2015-10-24 10:07:48 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f584f71dcd33f325fe4b86f271dbd6cdbdfc8802
Cr-Commit-Position: refs/heads/master@{#355970}

Powered by Google App Engine
This is Rietveld 408576698