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

Issue 15563005: **STILLBAKING** Switch SimpleCache to SequencedWorkerPool. (Closed)

Created:
7 years, 7 months ago by gavinp
Modified:
7 years, 5 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, gavinp+disk_chromium.org
Visibility:
Public.

Description

**STILLBAKING** Switch SimpleCache to SequencedWorkerPool. By using a SequencedWorkerPool for tasks rather than the WorkerPool, flakiness should be reduced, and the SimpleEntryImpl ownership model is greatly simplified. The SimpleBackendImpl creates a sequenced task runner for each active entry as it opens, providing a proxy task runner during the wait for that initialization. BUG=None

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+302 lines, -366 lines) Patch
M net/disk_cache/simple/simple_backend_impl.h View 5 chunks +34 lines, -6 lines 1 comment Download
M net/disk_cache/simple/simple_backend_impl.cc View 9 chunks +135 lines, -20 lines 7 comments Download
M net/disk_cache/simple/simple_entry_impl.h View 7 chunks +15 lines, -53 lines 0 comments Download
M net/disk_cache/simple/simple_entry_impl.cc View 1 24 chunks +81 lines, -234 lines 3 comments Download
M net/disk_cache/simple/simple_synchronous_entry.h View 2 chunks +9 lines, -13 lines 0 comments Download
M net/disk_cache/simple/simple_synchronous_entry.cc View 1 2 chunks +28 lines, -40 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
gavinp
This is very early, but it's passing most tests, and I'd like your opinion of ...
7 years, 7 months ago (2013-05-21 12:30:33 UTC) #1
gavinp
https://codereview.chromium.org/15563005/diff/9002/net/disk_cache/simple/simple_entry_impl.cc File net/disk_cache/simple/simple_entry_impl.cc (right): https://codereview.chromium.org/15563005/diff/9002/net/disk_cache/simple/simple_entry_impl.cc#newcode129 net/disk_cache/simple/simple_entry_impl.cc:129: return OpenEntryInternal(callback, out_entry); Really this should be rolled in ...
7 years, 7 months ago (2013-05-21 13:18:00 UTC) #2
pasko
Generally looks lovely! Keep on good hacking! https://codereview.chromium.org/15563005/diff/9002/net/disk_cache/simple/simple_backend_impl.cc File net/disk_cache/simple/simple_backend_impl.cc (right): https://codereview.chromium.org/15563005/diff/9002/net/disk_cache/simple/simple_backend_impl.cc#newcode325 net/disk_cache/simple/simple_backend_impl.cc:325: class SimpleBackendImpl::ProxyTaskRunner ...
7 years, 7 months ago (2013-05-21 16:00:01 UTC) #3
gavinp
https://codereview.chromium.org/15563005/diff/9002/net/disk_cache/simple/simple_backend_impl.cc File net/disk_cache/simple/simple_backend_impl.cc (right): https://codereview.chromium.org/15563005/diff/9002/net/disk_cache/simple/simple_backend_impl.cc#newcode440 net/disk_cache/simple/simple_backend_impl.cc:440: inactive_entry_task_runner_->PostTaskAndReply( On 2013/05/21 16:00:01, pasko wrote: > Why do ...
7 years, 7 months ago (2013-05-21 16:55:02 UTC) #4
pasko-google - do not use
https://codereview.chromium.org/15563005/diff/9002/net/disk_cache/simple/simple_backend_impl.cc File net/disk_cache/simple/simple_backend_impl.cc (right): https://codereview.chromium.org/15563005/diff/9002/net/disk_cache/simple/simple_backend_impl.cc#newcode440 net/disk_cache/simple/simple_backend_impl.cc:440: inactive_entry_task_runner_->PostTaskAndReply( On 2013/05/21 16:55:02, gavinp wrote: > On 2013/05/21 ...
7 years, 7 months ago (2013-05-21 17:25:47 UTC) #5
gavinp
On 2013/05/21 17:25:47, pasko-google - do not use wrote: > https://codereview.chromium.org/15563005/diff/9002/net/disk_cache/simple/simple_backend_impl.cc > File net/disk_cache/simple/simple_backend_impl.cc (right): ...
7 years, 7 months ago (2013-05-21 18:23:43 UTC) #6
Randy Smith (Not in Mondays)
We might want to consider PostNamedSequenceWorkerTask. I suggest that because if we use the filename, ...
7 years, 7 months ago (2013-05-21 21:15:30 UTC) #7
gavinp
Given the timeline, I'm going to say this shouldn't land until after branch (june 24th).
7 years, 6 months ago (2013-06-03 13:54:01 UTC) #8
pasko
should this one be closed now?
7 years, 5 months ago (2013-07-22 18:25:31 UTC) #9
gavinp
7 years, 5 months ago (2013-07-22 18:28:49 UTC) #10
On 2013/07/22 18:25:31, pasko wrote:
> should this one be closed now?

Yessir

Powered by Google App Engine
This is Rietveld 408576698