Commit Graph
30 Commits
Author SHA1 Message Date
Nicholas Nethercote 07437350e0 Bug 827691 - Treat [stack:nnnn] entries in /proc/self/maps as anonymous memory. r=jlebar. 2013-01-07 20:04:23 -08:00
Mike Hommey d24195f8d8 Bug 826625 - Group rss/pss/vsize entries by filename in about:memory. r=jlebar 2013-01-04 22:02:26 +01:00
Justin Lebar 41f6420b5f Bug 807181 - Add a memory reporter for unique set size (USS), which we'll call "resident-unique". r=njn
Patch originally by Vivien Nicolas in bug 802110.
2012-10-31 21:03:30 -04:00
Nicholas Nethercote ab50a1479d Bug 768470 - Add ability to import/export memory reports as JSON. r=jlebar. 2012-08-27 18:14:14 -07:00
Randell Jesup 3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -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
Ehsan Akhgari 3140c58c04 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (more xpcom parts); blanket-r=bzbarsky 2012-07-26 15:17:41 -04:00
Nicholas Nethercote 17b0d1a081 Bug 760352 (part 1) - Allow KIND_OTHER memory reports to be in trees. r=jlebar. 2012-06-11 20:29:12 -07:00
Nathan Froyd 18d78e85ad Bug 759417 - handle big device numbers in MapsMemoryReporter.cpp; r=jlebar 2012-05-30 15:11:58 -04:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Nicholas Nethercote 743df87c25 Bug 755583 (part 4) - Split up the smaps/ memory reporter tree. r=jlebar. 2012-05-16 20:43:36 -07:00
Matt Brubeck a652a86ab9 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré 3a5b10b99f Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Mark Capella f1ce4051a8 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Nicholas Nethercote 73c5289a1c Bug 732843 - Handle Callback() failures in memory multi-reporters. r=jlebar. 2012-03-04 15:26:30 -08:00
Nathan Froyd 2437822280 Bug 700659 - Slay nsHashSets in xpcom/base. r=khuey 2011-11-08 15:25:33 -05:00
Nicholas Nethercote f25b63a365 Bug 689583 - Add names for memory multi-reporters. r=jlebar. 2012-02-06 17:02:59 -08:00
Nicholas Nethercote 9ad9986a6e Bug 708159 - Avoid unnecessary work done by multi-reporters in nsMemoryReporterManager::GetExplicit. r=jlebar,bent. 2011-12-12 19:04:12 -08: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
Jeff Walden 7d613942b0 Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones 2011-10-10 22:50:08 -07:00
Justin Lebar f65508ffda Bug 693976 - Don't parse /proc/self/maps once for every entry in /proc/self/smaps. r=khuey 2011-10-14 15:05:52 -04:00
Jeff Walden c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 946f2ae0e3 Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 22:50:08 -07:00
Justin Lebar 1600acb703 Bug 693101 - Unbreak about:memory's parsing of /proc/smaps entries which live in /dev/ashmem on Android. r=khuey 2011-10-10 11:10:50 -04:00
Justin Lebar 986d98f117 Bug 686720 - Expose PSS from smaps in about:memory. r=khuey 2011-09-15 10:53:04 -07:00
Justin Lebar 2eb17d96f1 Bug 686172 - In about:memory, make the smaps breakdown trees appear only where they're available (on Linux). r=khuey 2011-09-14 17:37:45 -07:00
Justin Lebar 85fdd20791 Bug 685870 - Fix about:memory's smaps breakdown on Android. r=khuey 2011-09-10 11:20:48 -04:00
Justin Lebar 6c8004d5e4 Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn 2011-08-05 18:22:11 -04:00
Matt Brubeck ed909deeb9 Back out 6cd3556fc807 (bug 674290) because of unittest leaks 2011-09-06 20:42:09 -07:00
Justin Lebar fb560a6014 Bug 674290 - Expose contents of /proc/self/maps and smaps in about:memory. r=njn 2011-08-05 18:22:11 -04:00