Closed
Bug 957707
Opened 10 years ago
Closed 10 years ago
HTTP cache v2: merge management thread and IO thread, new MANAGEMENT level
Categories
(Core :: Networking: Cache, defect)
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: mayhemer, Assigned: mayhemer)
References
Details
Attachments
(1 file, 3 obsolete files)
5.03 KB,
patch
|
michal
:
review+
|
Details | Diff | Splinter Review |
During shutdown we race IO thread and management thread (memory purging). There is a risk of static vars mt access and keeping stuff alive after IO manager is shutdown. Also, since the memory pool management is a very low priority stuff to do and we now have two threads regarding the new cache, I think it's an unnecessary luxury. We only must prevent nearly empty (no-op) loops when the pool is large and over the limit but there is by accident nothing or very little to purge. Triggering purge only when over a limit+threshold might do the trick.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee: nobody → honzab.moz
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8359784 [details] [diff] [review] wip1 - backup Causes Assertion failure: progress <= progressMax (unexpected progress values), at ../../../../netwerk/protocol/http/nsHttpChannel.cpp:5413 TEST-UNEXPECTED-FAIL | /tests/content/media/test/test_bug495300.html
Assignee | ||
Comment 4•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=29d9580d7a53
Attachment #8359784 -
Attachment is obsolete: true
Assignee | ||
Comment 5•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=37d8fbc8bf73
Attachment #8361193 -
Attachment is obsolete: true
Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8361365 [details] [diff] [review] wip2.1 [unstable] Still causes Assertion failure: progress <= progressMax https://tbpl.mozilla.org/php/getParsedLog.php?id=33167617&tree=Try
Attachment #8361365 -
Attachment description: wip2.1 → wip2.1 [unstable]
Assignee | ||
Comment 7•10 years ago
|
||
More runs (wip2.1): gum=https://hg.mozilla.org/projects/gum/rev/5b6518ffeafe https://tbpl.mozilla.org/?tree=Try&rev=10ec2b78fced (right over gum) https://tbpl.mozilla.org/?tree=Try&rev=4626f299bb52 (index+gum)
Assignee | ||
Comment 8•10 years ago
|
||
Index has no influence: https://tbpl.mozilla.org/php/getParsedLog.php?id=33179973&tree=Try
Assignee | ||
Comment 9•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=7c1d1ca3f804 (with bug 958311)
Attachment #8361365 -
Attachment is obsolete: true
Attachment #8363262 -
Flags: review?(michal.novotny)
Updated•10 years ago
|
Attachment #8363262 -
Flags: review?(michal.novotny) → review+
Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8624d24dbe67
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•