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

47 Коммитов

Автор SHA1 Сообщение Дата
Dorel Luca e1e5c4c775 Backed out 4 changesets (bug 1521191) for causing leaks on multiple tests
Backed out changeset 138e162d2778 (bug 1521191)
Backed out changeset 3782d011cc9f (bug 1521191)
Backed out changeset 38d3da4804d7 (bug 1521191)
Backed out changeset d6ce4b187195 (bug 1521191)
2019-01-26 03:23:40 +02:00
Andrew McCreight 0eb5d04802 Bug 1521191, part 1 - Add method to disable dump statistics. r=froydnj
In order to test the test harness's handling of a process failing to
produce a leak log, add a special function that disables the bloat log
output.

Differential Revision: https://phabricator.services.mozilla.com/D17534

--HG--
extra : moz-landing-system : lando
2019-01-24 21:30:44 +00:00
Sylvestre Ledru 265e672179 Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset

--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andrew McCreight 59c846ae8d Bug 1408459, part 2 - Remove unused declaration of NS_MeanAndStdDev(). r=erahm
Also, fix up the include guard in that file.

MozReview-Commit-ID: I3RGDb5P7Yn

--HG--
extra : rebase_source : 158f860cba8fcab31f9a895294f74327d964dcd1
2017-10-15 08:30:57 -07:00
Andrew McCreight e3f825e5a5 Bug 1308995, part 2 - Remove nsTraceRefcnt::StatisticsType arguments. r=froydnj
Only about:bloat used NEW_STATS, so act like we have ALL_STATS
everywhere. A later patch will remove the mNewStats field.

MozReview-Commit-ID: LUJBpS3iYht

--HG--
extra : rebase_source : 543951314e12e7964e3f25c155b658d50ce674a6
2016-10-10 10:56:09 -07:00
Andrew McCreight 4690bf258a Bug 1308995, part 1 - Remove unused DumpStatistics::aOut argument. r=froydnj
Only about:bloat used this argument.

MozReview-Commit-ID: HXIUPVwl5ID

--HG--
extra : rebase_source : 8c12de73d6e5d8b7b733decf4fdd13db810236a4
2016-10-10 10:53:08 -07:00
Nathan Froyd ea2b81ece8 Bug 1281257 - part 2 - make WalkTheStackCached an internal implementation detail; r=erahm
Nothing needs to call this outside nsTraceRefcnt, and given the
potential memory concerns, keeping it private is a better idea anyway.
2016-06-23 17:21:27 -04:00
Nathan Froyd d98797b821 Bug 1281257 - part 1 - remove nsTraceRefcnt::DemangleSymbol; r=erahm
This function is unused, and the symbol demangling should all be handled
someplace else.
2016-06-23 17:21:27 -04:00
Nathan Froyd 93107fb765 Bug 1281207 - delete unneeded contract and CIDs for nsTraceRefcnt; r=erahm
Nothing references these, so we might as well delete them.
2016-06-22 01:00:03 -04:00
Andrew McCreight 1bc1c6b551 Bug 1004593 - Remove the unused nsTraceRefCnt::Startup(). r=froydnj 2014-08-01 10:02:30 -07:00
Andrew McCreight fb1bd79d45 Bug 1004609, part 8 - Implement a caching version of WalkTheStack using LocationService. r=froydnj
Then use it in ref counting.
2014-08-01 09:27:35 -07:00
Andrew McCreight 7bf01ccf5c Backout 6bdab42ab879 for breaking S builds 2014-07-31 17:15:17 -07:00
Andrew McCreight 7129a441e8 Bug 1004609, part 8 - Implement a caching version of WalkTheStack using LocationService. r=froydnj
Then use it in ref counting.
2014-07-31 16:39:25 -07:00
Birunthan Mohanathas fb371cca99 Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation 2014-05-13 20:41:38 +03:00
Birunthan Mohanathas 8f4f3e6fea Bug 995730 - Change xpcom/base/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:39 +03:00
L. David Baron c91b8791d1 Bug 976350 patch 2: Rename nsTraceRefcntImpl to nsTraceRefcnt. r=bsmedberg
Now that bug 975295 removed the obsolete wrapper class, we can rename
nsTraceRefcntImpl back to its correct pre-XPCOM-glue name,
nsTraceRefcnt.

The best part is that the one place where indentation should have needed
fixing, nsTraceRefcnt::DemangleSymbol, never had its indentation fixed
for the previous renaming.

--HG--
rename : xpcom/base/nsTraceRefcntImpl.cpp => xpcom/base/nsTraceRefcnt.cpp
rename : xpcom/base/nsTraceRefcntImpl.h => xpcom/base/nsTraceRefcnt.h
2014-02-26 13:36:36 -08:00
dougt%meer.net b0a0a1d1bb Removing dead files 2003-08-05 05:41:37 +00:00
timeless%mozdev.org 697618b07d Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
scc%mozilla.org 10ccbee43a bug #78016 r=dbradley, sr=dbaron 2003-02-25 15:53:36 +00:00
dbaron%fas.harvard.edu a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
dougt%netscape.com a6b4b1a6c0 Fixes HP bustage in xpcom. patch by pkw@austin.ibm.com, r=dougt, sr=alecf 2002-08-08 04:58:54 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
dbaron%fas.harvard.edu 6b1c9bf9dc Fix the use of dynamic_cast for nsCOMPtr logging so it doesn't appear in a macro. b=61243
Implement (without enabling, yet) assertions to warn about static constructors.  b=62006
Partly fix warnings about MOZ_DECL_CTOR_COUNTER on Mac builds by removing extra semicolon.  b=60145
Start to fix the longstanding leaks of nsTraceRefcnt's own hashtables.
r=waterson@netscape.com  sr=brendan@mozilla.org
2000-12-23 16:43:32 +00:00
dbaron%fas.harvard.edu e3d2d8d1d7 Code for nsCOMPtr leak logging, a new tool to help debug memory leaks (not yet fully enabled on non-autoconf platforms). r=waterson@netscape.com 2000-06-15 02:23:55 +00:00
bruce%cybersight.com 34aba54f7a Reverting a checkin from slamm last Friday that broke builds done with gcc 2.7.2.3 triggering what appears to be a compiler bug resulting in undefined symbols. I sent mail to slamm letting him know as well. 2000-03-28 03:53:54 +00:00
slamm%netscape.com 36b4804bc4 Quiet some Mac warnings. Replace empty macro definition for MOZ_DECL_CTOR_COUNTER(_type) with "class _type". 2000-03-24 21:49:31 +00:00
slamm%netscape.com d5e43cfc62 Quiet 'Illegal empty declaration' warning from Mac. 2000-03-23 23:29:29 +00:00
warren%netscape.com 30c22d3f07 Made NS_MeanAndStdDev be extern 'C' 2000-02-24 04:55:05 +00:00
warren%netscape.com 1adb95c763 Pulled out NS_MeanAndStdDev as an xpcom exported function for convenience. 2000-02-05 02:07:45 +00:00
nisheeth%netscape.com a03bdd0283 r=harishd.
- The stack walking code now works on windows.  We were initializing the symbol handler on each DLL load which was resetting its symbol tables.  Now, we don't re-init the symbol handler repeatedly.

- Added support for an environment variable, XPCOM_REFCNT_LOG_ENABLE_VIA_PREF.  When this is set to 1, refcount logging is done based on whether the "Enable XPCOM refcount log" pref in the Debug pane is set.  If this is not set, refcount logging is not affected by the pref.
1999-11-19 03:50:28 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
warren%netscape.com 8558ad745c Cleaned up nsTraceRefcnt environment variables. r=kipp,beard 1999-10-23 03:16:19 +00:00
waterson%netscape.com 399d707e95 Modify nsTraceRefcnt::WalkTheStack() to accept a stream. Other misc formatting fixup. work really done by beard, r=waterson. 1999-10-21 03:44:37 +00:00
warren%netscape.com f07e3a1f57 Added total/summary information to bloat log. Made LogNewXPCOM/LogDeleteXPCOM only be needed for losing architectures. 1999-10-16 01:57:18 +00:00
warren%netscape.com 87ac65a007 Fixed nsnull problem! 1999-10-12 11:21:26 +00:00
warren%netscape.com bef2702ef0 Made nsTraceRefcnt output write to streams. 1999-10-12 09:30:12 +00:00
warren%netscape.com daf1d34844 Fixed bloat snapshotting capabilities. r=kipp 1999-10-12 00:29:54 +00:00
kipp%netscape.com ce05d3c599 Merged bloaty and moz ctor counting (space team work) 1999-10-08 20:29:47 +00:00
warren%netscape.com 37676fadb0 Added 'Bloaty' refcounting and memory bloat statistics code 1999-10-07 21:50:20 +00:00
kipp%netscape.com 6982b7bf33 Renamed the ctor/dtor counting macros to make more sense 1999-10-05 14:54:05 +00:00
kipp%netscape.com 74fe2380b4 Fixed build wastage 1999-10-05 01:43:34 +00:00
waterson%netscape.com 2efd076b82 Bug 15367. Dump 'class' instead of 'file/line' for NS_LOG_REFCNT. r=shaver,dp 1999-10-05 00:07:54 +00:00
kipp%netscape.com 9b78e0fd9d r=dp; implement some macros to help track memory leaks 1999-10-04 23:36:18 +00:00
ramiro%netscape.com eb5fb78483 Add DemangleSymbol() for demangling symbols on linux. 1999-09-14 13:24:25 +00:00
waterson%netscape.com 4ef0ae057a Add MOZ_TRACE_REFCNT to allow you to instrument individual implementations of AddRef() & Release(). 1999-06-15 03:25:27 +00:00
kipp%netscape.com edabb1ad06 Expose WalkTheStack 1998-11-26 18:03:20 +00:00
scullin%netscape.com 25177cc6f6 Migrating public header files to public 1998-10-19 17:48:55 +00:00