dbaron%fas.harvard.edu
d307ff6be5
Fix refcount logging for nsCachedNetData objects so they don't appear to leak by indicating a refcount of 0 (for deletion) when the RECYCLED flag is set or when the arena is destroyed. r=rpotts@netscape.com sr=scc@mozilla.org b=31367
...
git-svn-id: svn://10.0.0.236/trunk@81986 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-29 21:24:39 +00:00
neeti%netscape.com
5ac74fafb2
fix for rtm++ bug 54630 - Disk cache not writing files after 512 files reached. r=dp, sr=rpotts
...
git-svn-id: svn://10.0.0.236/trunk@81103 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 03:01:10 +00:00
neeti%netscape.com
cc003f2e71
fix for bug 54072,r=dp, sr=rpotts/mscott
...
git-svn-id: svn://10.0.0.236/trunk@80892 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 03:03:40 +00:00
neeti%netscape.com
7c1ad399fa
Fix for bug 48401.
...
Number of entries and records limited to 512. All known evict situations fixed.
Causing evict to start happening.
r=dp
git-svn-id: svn://10.0.0.236/trunk@79149 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 19:12:03 +00:00
neeti%netscape.com
a48f9debee
fix for bug 50977-After surfing, web pages stop loading. Tossing cache fixes,r=dp
...
git-svn-id: svn://10.0.0.236/trunk@78743 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 19:00:40 +00:00
rpotts%netscape.com
f8c76b5a65
do not try to evict cache entries that are active...
...
git-svn-id: svn://10.0.0.236/trunk@78657 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:11:57 +00:00
gordon%netscape.com
1fdbf5a0c1
Fix for Bug 31900 "[MLK] Leaking CacheInfo objects".
...
The mCaches field is the head of a linked list. I've added code to nsReplacementPolicy destructor to walk the list, deleting the objects along the way, rather than simply deleting the head of the list.
git-svn-id: svn://10.0.0.236/trunk@77920 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:24:40 +00:00
warren%netscape.com
cc5d426fbe
Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
...
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
davidm%netscape.com
b2a5114130
32610 nsReplacementPolicy::LoadAllRecordsInAllCacheDatabases(
...
git-svn-id: svn://10.0.0.236/trunk@64976 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 01:46:45 +00:00
dougt%netscape.com
8c7386c26d
removing checks for null before calling delete(). I do not know what I was
...
thinking. davidm pointed this out.
git-svn-id: svn://10.0.0.236/trunk@64362 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 11:39:06 +00:00
gagan%netscape.com
0b998bfacc
Fix a mem leak. r=bruce.
...
git-svn-id: svn://10.0.0.236/trunk@63133 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 04:15:38 +00:00
jdunn%netscape.com
7d4368fdcc
Move the Class definition for CacheInfo from the CPP file to the header.
...
While this is valid C++, the AIX 3.6 compiler doesn't like it.
r= warren
git-svn-id: svn://10.0.0.236/trunk@56988 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 20:50:59 +00:00
fur%geocast.com
a6f1d0feec
Fix #21660 (Browser buster crash in cache). a:chofmann
...
git-svn-id: svn://10.0.0.236/trunk@56196 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 14:58:09 +00:00
fur%netscape.com
0ed5b2154b
It turns out that PR_Now() has only one second resolution on the Mac, hence it's unsuitable for computing download rates for the cache. Thanks to sdagley for pointing this out.
...
git-svn-id: svn://10.0.0.236/trunk@55734 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 05:46:31 +00:00
fur%netscape.com
e2cc250b30
+ Eliminated use of bool to accommodate non-ANSI C++ compilers.
...
(Thanks to tor@cs.brown.edu for the patch)
+ Eliminated compiler warnings
git-svn-id: svn://10.0.0.236/trunk@55576 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 09:49:55 +00:00
fur%netscape.com
111e27ee79
Fixed incorrect calculation of content download time and profitability of caching a given URL. r:none
...
git-svn-id: svn://10.0.0.236/trunk@55572 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 08:51:03 +00:00
fur%netscape.com
cb8d4be3b8
Landing of CacheIntegration_BRANCH in support of bug #8305 (Implement cache)
...
git-svn-id: svn://10.0.0.236/trunk@55511 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 02:07:31 +00:00