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

Issue 12951014: Fix bug in MemEntryImpl, which caused browser crash during clearing (Closed)

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

Description

Fix bug in MemEntryImpl, which caused browser crash during clearing memory cache. It could appear if memory cache had sparse entries. TEST=Run DiskCacheBackendTest.MemoryOnlyDoom* tests from net_unittests binary. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194891

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -5 lines) Patch
M AUTHORS View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M net/disk_cache/backend_unittest.cc View 1 2 3 4 5 6 3 chunks +126 lines, -0 lines 0 comments Download
M net/disk_cache/mem_backend_impl.cc View 1 2 3 4 5 6 1 chunk +11 lines, -5 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Slava Chigrin
7 years, 9 months ago (2013-03-21 19:24:44 UTC) #1
rvargas (doing something else)
https://codereview.chromium.org/12951014/diff/1/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (right): https://codereview.chromium.org/12951014/diff/1/net/disk_cache/backend_unittest.cc#newcode1396 net/disk_cache/backend_unittest.cc:1396: // third_part1, fourth_part1, third_part2, fourth_part2 The second time stamp ...
7 years, 9 months ago (2013-03-21 22:01:57 UTC) #2
Slava Chigrin
https://codereview.chromium.org/12951014/diff/1/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (right): https://codereview.chromium.org/12951014/diff/1/net/disk_cache/backend_unittest.cc#newcode1396 net/disk_cache/backend_unittest.cc:1396: // third_part1, fourth_part1, third_part2, fourth_part2 On 2013/03/21 22:01:57, rvargas ...
7 years, 9 months ago (2013-03-22 13:45:02 UTC) #3
rvargas (doing something else)
https://codereview.chromium.org/12951014/diff/1/net/disk_cache/backend_unittest.cc File net/disk_cache/backend_unittest.cc (right): https://codereview.chromium.org/12951014/diff/1/net/disk_cache/backend_unittest.cc#newcode1415 net/disk_cache/backend_unittest.cc:1415: TEST_F(DiskCacheBackendTest, MemoryOnlyDoomEntriesSinceSparse) { On 2013/03/22 13:45:02, vchigrin wrote: > ...
7 years, 9 months ago (2013-03-23 02:08:31 UTC) #4
Slava Chigrin
Thank you so much, FlushQueueForTest resolves problem with Close(). New patch set is attached to ...
7 years, 9 months ago (2013-03-26 18:49:21 UTC) #5
iroubin
Hi! We sent Yandex CLA signed on the previous week. Could you please confirm you've ...
7 years, 9 months ago (2013-03-27 12:56:03 UTC) #6
rvargas (doing something else)
Looks basically good. Just very minor nits. I still don't see the CLA. I'm waiting ...
7 years, 9 months ago (2013-03-28 00:31:59 UTC) #7
Slava Chigrin
Thank you for review, I have fixed these style problems. New patch is attached to ...
7 years, 9 months ago (2013-03-28 13:56:19 UTC) #8
mal
The Yandex contributor's license agreement has been received and is on file. However, it has ...
7 years, 8 months ago (2013-04-01 19:24:00 UTC) #9
iroubin
if we want to add *@yandex-team.ru to the AUTHORS file, should we send an update ...
7 years, 8 months ago (2013-04-02 06:04:02 UTC) #10
iroubin
We've updated the list. Now all Yandex folks are authorized to contribute.
7 years, 8 months ago (2013-04-02 11:20:00 UTC) #11
mal
On 2013/04/02 11:20:00, iroubin wrote: > We've updated the list. Now all Yandex folks are ...
7 years, 8 months ago (2013-04-04 07:23:14 UTC) #12
rvargas (doing something else)
LGTM.
7 years, 8 months ago (2013-04-04 17:35:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vchigrin@yandex-team.ru/12951014/19001
7 years, 8 months ago (2013-04-12 16:44:34 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-12 16:59:57 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vchigrin@yandex-team.ru/12951014/40002
7 years, 8 months ago (2013-04-12 18:20:30 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=134492
7 years, 8 months ago (2013-04-12 21:44:16 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vchigrin@yandex-team.ru/12951014/40002
7 years, 8 months ago (2013-04-18 07:37:44 UTC) #18
commit-bot: I haz the power
Failed to apply patch for AUTHORS: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-18 07:37:46 UTC) #19
gavinp
On 2013/04/18 07:37:46, I haz the power (commit-bot) wrote: > Failed to apply patch for ...
7 years, 8 months ago (2013-04-18 07:42:33 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vchigrin@yandex-team.ru/12951014/47001
7 years, 8 months ago (2013-04-18 07:48:51 UTC) #21
commit-bot: I haz the power
Failed to apply patch for AUTHORS: While running patch -p0 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-18 09:47:27 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vchigrin@yandex-team.ru/12951014/59001
7 years, 8 months ago (2013-04-18 10:04:28 UTC) #23
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 12:03:30 UTC) #24
Message was sent while issue was closed.
Change committed as 194891

Powered by Google App Engine
This is Rietveld 408576698