Граф коммитов

83 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 9df23f9a1e Bug 1111948 - Fix --disable-startupcache, and re-disable the startup cache on B2G in the process. r=mshal.
--HG--
extra : rebase_source : 59d14319e67eaf349df0ecc2aa80be94865aed70
2014-12-16 18:18:21 -08:00
Nicholas Nethercote aaf6fb2124 Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Alexandre Poirot 7017800a9e Bug 999631 - Disable startup cache via a dedicated flag. r=mshal 2014-04-23 04:57:00 -04:00
Birunthan Mohanathas 5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Bobby Holley 9783987f66 Bug 988880 - Disable startup cache on b2g. r=fabrice 2014-04-21 10:20:49 -07:00
Chris Peterson 89e30449ac Bug 997026 - Part 2: Fix clang -Wunused-const-variable warning in startupcache. r=froydnj 2014-04-15 00:28:21 -07:00
Aaron Klotz 025fed58f4 Bug 913653: Remove lock from IOInterposer and add IOInterposer thread registration; r=froydnj 2014-04-08 22:57:52 -06:00
Shu-yu Guo 82fe2098a8 Bug 989509 - Part 2: dom/, netwerk/, startupcache/, and xpcom/ (r=aklotz,bent,gvselto,mayhemer,Mossop) 2014-04-03 19:29:40 -07:00
Aaron Klotz af5b248832 Bug 957256: Modify StartupCache callbacks to use context parameter to obtain object pointer; r=bsmedberg 2014-01-10 17:16:25 -07:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote 8bbe1e2dc1 Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote b413e441cf Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Nicholas Nethercote 39004db706 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
Nicholas Nethercote 794c4b6457 Bug 936964 (part 1, attempt 2) - Make StartupCache ref-counted. r=aklotz.
--HG--
extra : rebase_source : d04b799a861c155b89b8dcf9f328ef7a9bfef097
2013-11-25 15:57:40 -08:00
Ehsan Akhgari a903aefdc0 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 bc475c75df 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
Nicholas Nethercote 7b367571d4 Bug 936964 (part 1) - Make StartupCache ref-counted. r=aklotz.
--HG--
extra : rebase_source : 8693264a4347938dde6532730a5bc730384edf51
2013-11-25 15:57:40 -08:00
Brian R. Bondy de8ec8b895 Bug 931846 - Change startup cache location for Metro Firefox. r=jimm, aklotz 2013-11-01 16:21:33 -07:00
Ehsan Akhgari c8443f0d24 Bug 928043 - Remove some prtypes.h inclusions from startupcache/, testing/ and toolkit/; r=bsmedberg
--HG--
extra : rebase_source : 5886932dda22ae179e8998ad92758e99495d09bd
2013-10-18 20:34:57 -04:00
Nicholas Nethercote 7983bb2a7f 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
Robert O'Callahan 03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda 26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote 1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Nicholas Nethercote 5d24bdca75 Bug 831193 (part 8) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in StartupCache.cpp. r=nfroyd.
--HG--
extra : rebase_source : 76623535a2667d0b8448b245c345d7290b61f86f
2013-01-17 16:45:11 -08:00
Birunthan Mohanathas d93bd41797 Bug 784739 - Switch from NULL to nullptr in startupcache/; r=ehsan 2013-07-31 11:44:43 -04:00
Joshua Cranmer 8c0bca8e57 Bug 884061 - Part 3t: Use NS_DECL_THREADSAFE_ISUPPORTS in startupcache/, r=mwu
--HG--
extra : rebase_source : 8a990b22d5b98b2b25f26530fe1f88ac388ae788
2013-07-18 21:24:14 -05:00
Catalin Iacob 6f4758d23e 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
Justin Lebar a2c21d678e Bug 857834 - Remove a warning in the startupcache. r=mwu 2013-04-08 20:31:44 -04:00
Martin Stransky 13a5407605 Bug 239254 - [Linux] Support disk cache on a local path, r=michal.novotny 2013-02-11 15:47:21 +01:00
Nicholas Nethercote b7723e3c58 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Benoit Girard fe1473bc12 Bug 816656 - Don't write the startup cache on shutdown. r=mwu
--HG--
extra : rebase_source : abf25650361272f478a237d72c48953d1b0c7269
2012-12-05 14:09:30 -05:00
Ed Morley 284e6886f0 Backout bc20093cfc9d (bug 816656) for build failures during prepare-package 2012-12-03 18:47:04 +00:00
Benoit Girard 5b9b17617a Bug 816656 - Don't write the startup cache on shutdown. r=taras
The startup cache will be saved in the background ~10 seconds after startup. If 10 seconds haven't elapsed yet don't bother write the cache on shutdown.
2012-12-03 13:10:11 -05:00
Graeme McCutcheon 7c6e0f8608 Bug 724513 - Part 3 - Add telemetry for the invalid disk cache situation. r=taras 2012-10-11 09:50:41 +01:00
Graeme McCutcheon 75b6269d53 Bug 724513 - Part 1 - Add StartupCache method for disregarding disk file. r=mwu 2012-10-11 09:17:15 +01:00
Ehsan Akhgari 59dacf4015 Backed out 3 changesets (bug 724513) for a 20-30% Ts regression across the board
Backed out changeset 006eb98e9d6f (bug 724513)
Backed out changeset f418d97d12ac (bug 724513)
Backed out changeset 1baac3f2334c (bug 724513)

--HG--
extra : rebase_source : e361496807916c968524446d32d3eb1d6af346eb
2012-10-31 11:28:21 -04:00
Graeme McCutcheon bc8e0bbbbd Bug 724513 - Part 3 - Add telemetry for the invalid disk cache situation. r=taras 2012-10-11 09:50:41 +01:00
Graeme McCutcheon 34d7a161c5 Bug 724513 - Part 1 - Add StartupCache method for disregarding disk file. r=mwu 2012-10-11 09:17:15 +01:00
Tim Taubert 25e28ddb85 Bug 805971 - Don't create and discard StartupCache instances on not-main processes r=mwu 2012-10-27 00:27:53 +02:00
Nathan Froyd b0fc73509d Bug 767406 - don't assume the tables are initialized in StartupCache::WriteToDisk; r=mwu 2012-10-10 10:37:50 -04:00
Ehsan Akhgari 8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Ehsan Akhgari e368dc9c85 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
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Honza Bambas fc7084f564 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nicholas Nethercote 43f329dbbd Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Nathan Froyd 512a941bbe Bug 711297 - add recordAgesAlways method to nsIStartupCache; r=mwu 2012-02-22 14:07:18 -05:00
Nathan Froyd 5a474e9e60 Bug 711297 - report age of startup cache via telemetry; r=taras 2012-02-22 14:03:52 -05:00
Vladan Djeric 54ef9cac4b Backed out aef22bc75f1f (bug 711297) - wrong comment in commit 2012-02-22 14:02:02 -05:00