Ehsan Akhgari
b870bb3fe9
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Nicholas Nethercote
f4f6c99f28
Bug 936964 (part 8, attempt 2) - Make nsCacheService report the disk and memory cache devices. r=hurley.
...
--HG--
extra : rebase_source : 29a04ef4bfdccba2797f713da3d54a64e3141421
2013-11-25 17:04:01 -08:00
Nicholas Nethercote
77419f6a47
Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.
--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Ehsan Akhgari
c3970a73fb
Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
...
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)
Landed on a CLOSED TREE
--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
90a968ec9d
Bug 936964 (part 8) - Make nsCacheService report the disk and memory cache devices. r=hurley.
...
--HG--
extra : rebase_source : 19895d97debc6ce028b8eb167179127e5e50b6da
2013-11-25 17:04:01 -08:00
Nicholas Nethercote
78e4d6490d
Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Joshua Cranmer
08036d15e9
Bug 935789, part 1: Kill most uses of prbit.h, r=ehsan
...
--HG--
extra : rebase_source : 4c44e60c72e0ece3cea7ed1cf79079bd2a1b6487
2013-11-12 18:22:38 -06:00
Ehsan Akhgari
2a8a112e4a
Bug 928052 - Remove some prtypes.h inclusions from netwerk/; r=mcmanus
2013-10-18 10:45:29 -04:00
Nicholas Nethercote
9d1d4e73b0
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Catalin Iacob
4f03e5bb1a
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Makoto Kato
80436162a3
Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan
2013-05-08 12:40:12 +09:00
Nicholas Nethercote
dc051e917d
Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
...
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Michal Novotny
b06fe67e37
Bug 725993 - Remove ability to tell cache to STORE_ON_DISK_AS_FILE, r=bsmith
2013-01-04 00:30:48 +01:00
Jeff Walden
7146c23e80
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Michal Novotny
51a1d6876d
Bug 795897 - Force NSPR logging for cache module in release build, r=jduell
2012-11-22 02:14:00 +01:00
Nick Hurley
4258db2f82
Bug 699951 - add a memory reporter for heap usage by the disk cache. r=michal
2012-11-05 10:22:33 -08:00
Daniel Holbert
750905ca96
Bug 805552: Use DebugOnly in /netwerk to fix opt build warnings (treated as errors) for set-but-only-checked-in-debug-builds nsresult values. r=jduell
2012-10-25 12:47:55 -07:00
Ehsan Akhgari
b5c39afb4e
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Brian R. Bondy
90a9fc66bb
Bug 787576 - Refine telemetry data for how much cache corruption reduction plan would help. r=michal
2012-09-04 15:05:19 -04:00
Nathan Froyd
df4ab23274
Bug 781200 - fixup several cache histograms; r=bsmith,hurley
2012-08-23 13:23:03 -04:00
Ehsan Akhgari
0fd9123eac
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
Nick Hurley
63c3cf1b49
bug 709297 - reduce max cache size to 350MiB the next time we have to trash the cache. r=jduell
2012-08-07 15:46:33 -07:00
Jason Duell
8216a50101
bug 780750 - HTTP cache never gets used/fixed if wrong permissions on CACHE_MAP file. r=hurley
2012-08-07 15:46:33 -07:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Brian R. Bondy
71a5dab36c
Bug 774146 - Get more detail on reason for DISK_CACHE_CORRUPT failures. r=michal
2012-07-20 19:47:52 -04:00
Brian Smith
f9ebaf0336
Bug 767275 - Add more detailed cache lock telemetry, r=michal, r=nfroyd
...
--HG--
extra : rebase_source : 60962876704a945ba83dc8ccfde938aa1957cb96
2012-06-29 16:20:34 -07:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Michal Novotny
c27d90b2e5
Bug 691108 - Make sure that no entry can be bound to the disk cache when nsDiskCacheDevice::ClearDiskCache() is in progress
2012-04-12 18:27:38 +02:00
Jason Duell
3cd4cdb51d
Bug 705796 - telemetry data on how often cache is corrupt at startup. r=michal
2012-04-06 13:10:32 -07:00
Nick Hurley
5774cb1a09
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
Michal Novotny
16221670fa
Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread
2012-01-06 16:19:10 +01:00
Phil Ringnalda
d81856e034
Back out 8d1b087b9713 (bug 707436) for mochitest-ipcplugins leaks
2011-12-23 19:21:17 -08:00
Michal Novotny
dd4bc3e426
Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread
2011-12-24 02:51:25 +01:00
Michal Novotny
51a2a81fd3
Bug 695003 - Race condition when deleting cache directory
2011-12-02 18:10:57 +01:00
Nick Hurley
c1001e17bf
Bug 687081 - Time how long it takes to find (or not) things in the cache. r=jduell
2011-10-30 15:39:53 +01:00
Ehsan Akhgari
2a602a5685
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
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
bjarne@runitsoft.com
8c1a4598d0
Bug 667593 - Intermittent runtime abort in netwerk/test/unit/test_bug650955.js r=michal.novotny
2011-09-06 12:23:26 -04:00
Jason Duell
36eefd61dd
bug 674689: Delay Cache.trash delete to avoid startup I/O contention. r=michal
2011-08-02 16:54:55 -07:00
Taras Glek
403f552f24
Bug 672651 - Track cache init times via telemetry r=jduell
2011-07-20 17:02:58 -07:00
bjarne@runitsoft.com
14b041f05f
Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny
2011-06-27 14:21:15 +02:00
Michal Novotny
e2449dc59b
Bug 651100 - Browser becomes unresponsive while watching embedded Youtube <video>. r=bjarne a=sheriff
2011-05-20 19:27:11 +02:00
Bjarne
61e359bef6
Bug 549767 - Write/flush cache metadata off main-thread. r=michal.novotny
2011-04-17 19:31:15 +02:00
Jim Mathies
c5696bfd88
Bug 644431 - Adobe PDF Files Larger than 5 MB Won't Load in Browser. r=bz
2011-04-08 12:53:55 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Mitchell Field
2e8a7d546f
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Bjarne
a1913869ad
Bug 620660 - Ensure the disk-cache stays around until all cache-operations have finished. r=michal.novotny a=jst
2011-01-20 13:41:10 -08:00