Commit Graph

34 Commits

Author SHA1 Message Date
Catalin Iacob
f88cdc0744 Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn. 2013-06-23 14:03:39 +02:00
Mike Hommey
72b848fb7e Bug 854105 - Avoid gcc 4.7 complaining about array out of bounds in nsDiskCacheMap::WriteDataCacheBlocks. r=michal 2013-04-11 09:32:39 +02:00
Honza Bambas
3f6ad88c7d Bug 729182 - Implement visual event tracer, part1 - instrumentation, r=mcmanus,bz,ehsan,bsmedberg,michal 2013-03-28 18:38:04 +01:00
Mats Palmgren
7532b4e736 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Michal Novotny
b78f028dc7 Bug 795897 - Force NSPR logging for cache module in release build, r=jduell 2012-11-22 02:14:00 +01:00
Nick Hurley
604807457f Bug 699951 - add a memory reporter for heap usage by the disk cache. r=michal 2012-11-05 10:22:33 -08:00
Brian R. Bondy
e808cc9b07 Bug 789936 - Cache reduction telemetry now ignores doom list check due to an unrelated bug with it. r=michal 2012-09-10 10:59:41 -04:00
Brian R. Bondy
ffea41f07c Bug 787576 - Refine telemetry data for how much cache corruption reduction plan would help. r=michal 2012-09-04 15:05:19 -04:00
Brian R. Bondy
e22a4063bf Bug 784657 - Fix potential problem in nsDIskCacheMap timer handling. r=michal 2012-08-23 22:23:10 -04:00
Brian R. Bondy
b040c99648 Bug 784414 - Ensure cache clean file is open before seeking in it. r=michal 2012-08-23 22:22:14 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Brian R. Bondy
7433eddebf Bug 777328 - Gather telemetry data for how much cache corruption reduction plan would help. r=michal 2012-08-20 08:08:46 -04:00
Michal Novotny
aa2427654d Bug 746920 - Uninitialised value use in nsDiskCacheMap::FlushRecords, r=hurley 2012-08-08 12:23:15 +02:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian R. Bondy
e72a7f0d24 Bug 774146 - Get more detail on reason for DISK_CACHE_CORRUPT failures. r=michal 2012-07-20 19:47:52 -04:00
Geoff Lankow
7a64448b03 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Brian Smith
569631eb95 Bug 746018 - Part 4 - More cache logging, r=jduell 2012-05-31 15:20:03 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nick Hurley
ad61154559 bug 712914 - add some sanity checking when (de)serializing security info in the disk cache. r=michal 2012-03-30 11:21:01 +02:00
Nicholas Nethercote
c1dd090b4c Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett. 2012-01-25 00:52:51 -08:00
Nicholas Nethercote
c0681f567c Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Nick Hurley
e6c0f3636b bug 699409 - telemetry for memory used by records in the disk cache map. r=jduell 2011-11-07 23:41:52 -05:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Michal Novotny
15b3928571 Bug 681085 - sync cache map file after writing the header 2011-08-23 00:24:23 +02:00
Michal Novotny
03cb79f76b Bug 675420 - cache is now cleared on every startup 2011-08-03 00:23:54 +02:00
Michal Novotny
c68c3c0684 Bug 673808 - _CACHE_MAP_ is storing nsDiskCacheRecord structs with uninitialized data containing bits of Fx memory 2011-07-26 13:09:42 +02:00
Dominic Fandrey
532ec73933 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Michal Novotny
10009558cf Bug 651100 - Browser becomes unresponsive while watching embedded Youtube <video>. r=bjarne a=sheriff 2011-05-20 19:27:11 +02:00
Michal Novotny
23e84528e9 Bug 604897 - Unable to cache small entries when _CACHE_00[1-3]_ is full; r=mayhemer a=blocking-betaN+ 2011-01-18 16:12:10 +02:00
Michal Novotny
980868c4f5 Bug 597224 - HTTP Cache: use directory tree to store cache files. sr=bzbarsky@mit.edu, a=blocker 2010-12-06 17:49:05 +02:00
Michal Novotny
c2a2cdc3a9 bug 604880 - Doom cache-entry if writing data and/or metadata fails. r=bjarne@runitsoft.com, sr=bzbzrsky@mit.edu, a=blocker 2010-10-19 19:26:38 +02:00
Ehsan Akhgari
72bafa14dd Bug 569709 - Figure out the max number of entries we should store in the disk cache, and bump the default size of the disk cache to 250MB; r=jduell 2010-06-10 22:46:51 -04:00
Mitchell Field
bc63774d7e Bug 542222 - Reduce recursion in netwerk makefiles. 2010-06-05 21:18:12 -04:00