Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Nathan Froyd
8e7df9d000
Bug 1174344 - make error message for mismatched leak log entries more helpful; r=mccr8
2015-06-29 16:36:32 -04:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Benoit Girard
ef41ed062b
Bug 1172216 - Move nsStackwalk to mozglue. r=glandium
2015-06-10 16:32:45 -04:00
Eric Rahm
5b59cf4e0b
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Andrew McCreight
ec2822bfba
Bug 1157304 - Make the empty classname assertion in BloatEntry fatal. r=froydnj
2015-04-27 10:28:19 -04:00
Andrew McCreight
f4063bda0c
Bug 1116550 - Part 2: Print out negative values for leaks when there are more dtors than ctors. r=froydnj
2015-04-22 17:20:00 -04:00
Andrew McCreight
caabab45da
Bug 1116550 - Part 1: Turn HaveLeaks and Clear into methods. r=froydnj
2015-04-22 17:18:00 -04:00
Andrew McCreight
5f859d9d8c
Bug 1156982 - Add separators to BloatView output. r=froydnj
...
This will ensure we properly parse class names containing spaces.
Note that if a class name somehow ends up containing operator| then this will end up again silently failing.
2015-04-22 11:06:50 -07:00
Andrew McCreight
98da2f9bf6
Bug 1156977 - Assert when aClassName is empty in BloatEntry. r=froydnj
2015-04-22 08:56:30 -07:00
Ehsan Akhgari
ea41d8de48
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Markus Stange
65e4126b14
Bug 1137963 - Use a spin lock for TraceRefCnt. r=waldo, r=froydnj
2015-03-17 00:18:25 -04:00
Andrew McCreight
f338b8b483
Bug 1138616, part 3 - Add a faster bloatlog-only mode. r=dbaron
2015-03-04 16:13:54 -08:00
Andrew McCreight
8aaa6e1f90
Bug 1138616, part 2 - Inline BloatEntry::AddRef and ::Release. r=dbaron
2015-03-04 16:13:54 -08:00
Andrew McCreight
8c7eb3e4ca
Bug 1138616, part 1 - Remove nsTraceRefcntStats::mAddRefs and ::mReleases. r=dbaron
2015-03-04 16:13:54 -08:00
Andrew McCreight
0ddd7242a6
Bug 1073594, part 4 - Remove nsTraceRefcntStats::mObjsOutstanding{Total, Squared}. r=dbaron
...
They are now unused.
2015-03-04 14:07:59 -08:00
Andrew McCreight
7704551617
Bug 1073594, part 3 - Remove the mean and stddev for BloatLog object counts. r=dbaron
2015-03-04 14:07:59 -08:00
Andrew McCreight
2d910988a4
Bug 1073594, part 2 - Remove nsTraceRefcntStats::mRefsOutstanding{Total, Squared}. r=dbaron
...
They are now unused.
2015-03-04 14:07:59 -08:00
Andrew McCreight
9dd6cc7592
Bug 1073594, part 1 - Remove mean and stddev for BloatView addrefs and releases. r=dbaron
2015-03-04 14:07:59 -08:00
Andrew McCreight
e2e3adea43
Bug 1130142, part 4 - Use reinterpret_cast for PR_SetThreadPrivate. r=froydnj
2015-02-20 09:38:47 -08:00
Andrew McCreight
8912073cc6
Bug 1130142, part 3 - Use HashNumber method in more places in trace refcounting. r=froydnj
...
This should not change any behavior.
2015-02-20 09:38:47 -08:00
Andrew McCreight
dcecc0d47a
Bug 1130142, part 2 - Don't explicitly coerce pointer to bool in nsTraceRefCnt. r=froydnj
2015-02-20 09:38:47 -08:00
Andrew McCreight
27ea9a149e
Bug 1130142, part 1 - Don't truncate pointers to 32-bit values in refcount logging. r=froydnj
2015-02-20 09:38:46 -08:00
Nicholas Nethercote
dceb4f2bc9
Bug 1014341 (part 1) - Remove trace-malloc. r=dbaron,glandium.
2015-01-07 16:13:03 -08:00
Nicholas Nethercote
aa89aa0779
Bug 1087128 - Remove some "Leaky" remnants. r=glandium.
2014-10-21 19:13:05 -07:00
Nicholas Nethercote
ca7b761d18
Bug 1062709 (part 2, attempt 2) - Clean up stack printing and fixing. r=dbaron.
2014-09-01 22:56:05 -07:00
Nicholas Nethercote
aba5072dce
Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
2014-09-10 21:47:01 -07:00
Ed Morley
1c977f5017
Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs
2014-10-03 15:06:16 +01:00
Ed Morley
e379fd79fc
Backed out changeset 7a1b7d7eba12 (bug 1062709)
2014-10-03 15:05:26 +01:00
Nicholas Nethercote
0d0952d622
Bug 1062709 (part 2) - Clean up stack printing and fixing. r=dbaron.
2014-09-01 22:56:05 -07:00
Nicholas Nethercote
52aecfdcd6
Bug 1062709 (part 1) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
2014-09-10 21:47:01 -07:00
Bob Owen
7fa3b4cdf3
Bug 1063455 - Define MOZ_STACKWALKING when NS_StackWalk is available and replace other instances of the same #if logic. r=mshal, r=froydnj
2014-09-08 18:25:20 +01:00
Nicholas Nethercote
f4dc45968a
Bug 1061385 - Remove |Writer| parameter from CodeAddressService. r=mccr8.
2014-09-01 20:03:06 -07:00
Birunthan Mohanathas
6e9ec233ed
Bug 1046841 - Fix more style violations in previously touched .cpp files in xpcom/. r=froydnj
2014-08-25 12:17:15 -07:00
Kyle Huey
95969ad08e
Bug 1051122: Don't infinitely recurse in CodeAddressServiceStringAlloc::free. r=dbaron
2014-08-10 09:27:23 -07:00
Nicholas Nethercote
663b82ea3b
Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
...
* * *
imported patch rm-dummy-params
2014-08-06 06:31:21 -07:00
Andrew McCreight
b9107984a0
Bug 1004593 - Remove the unused nsTraceRefCnt::Startup(). r=froydnj
2014-08-01 10:02:30 -07:00
Andrew McCreight
aa3a9e3e90
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
4f2597940b
Backout 6bdab42ab879 for breaking S builds
2014-07-31 17:15:17 -07:00
Andrew McCreight
1e01061518
Backed out changeset a9cf5734aff2
2014-07-31 17:14:34 -07:00
Andrew McCreight
9789dcb1fa
Bug 1004609, followup - fix non STACKWALKING_AVAILABLE builds. r=bustage
2014-07-31 17:02:02 -07:00
Andrew McCreight
006d8d44e3
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
Shashank Sabniveesu
c1c2b64321
Bug 1019913 - If gBloatView fails, call |maybeUnregisterAndCloseFile()| on gBloatLog instead of setting it to NULL. r=nfroyd
2014-07-07 16:10:00 +02:00
Benoit Jacob
74fee105cf
Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg
2014-07-04 06:34:15 -04:00
Ryan VanderMeulen
094b628a0f
Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
...
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob
00469e4ac1
Bug 1033358 - Make NS_IsMainThread use its own TLS so it's always correct, from early init to exit time - r=bsmedberg
2014-07-03 14:53:24 -04:00
Birunthan Mohanathas
9f41043f62
Bug 869836 - Part 3: Use Append('c') instead of AppendLiteral("c"). r=ehsan
2014-05-22 06:48:51 +03:00
Nicholas Nethercote
ea547c117b
Bug 1013078 (part 1) - Remove some dead code left over from the removal of the Leaky tool. r=dbaron.
2014-05-20 18:03:27 -07:00
Birunthan Mohanathas
e44da12c54
Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation
2014-05-13 20:41:38 +03:00