Ehsan Akhgari
a16d020bed
Bug 928712 - Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg
2013-10-20 22:59:48 -04:00
Ehsan Akhgari
5b7f223e95
Backed out changeset 0ddbf9b3b20c (bug 928712) because of build bustage
2013-10-20 09:42:51 -04:00
Ehsan Akhgari
78c7e74b19
Bug 928712 = Remove the rest of the unneeded prtypes.h inclusions; rs=bsmedberg
2013-10-20 09:10:07 -04:00
David Major
67fdcafc2a
Bug 918906 - Add VS2013 debug dll name to trace-malloc. r=dbaron
2013-09-23 09:22:30 -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
Makoto Kato
a0882c26f0
Bug 761912 - add VS11 debug dll to trace malloc. r=dbaron
2012-06-06 14:45:45 +09:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Chris Jones
9ae6458637
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
ecb9597975
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones
5dece3352a
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
Chris Jones
637131f559
Bug 560969: Teach trace-malloc about VC10. r=dbaron
2010-04-27 00:43:04 -05:00
ec7f25b1f6
Fix race saving/restoring malloc hooks by going back to overriding malloc, etc., plus some additional cleanup. b=392009 r+a1.9=brendan
2007-09-28 15:39:59 -07:00
ecec5fd6ab
Add suppression code around calls to original allocation functions to handle things like new[] calling new. b=391491 r+a=brendan
2007-08-10 15:22:07 -07:00
a2fc7d740a
Hook new[] and delete[] too, since (with VC8 anyway) we're picking up new[] through new, but not picking up delete[]. b=391491 r+a=brendan
2007-08-10 15:21:37 -07:00
fbdc0b76cb
Define the __libc_* on Windows to something that does automatic suppression, like on Linux. b=391477 r+a=brendan
2007-08-10 15:21:13 -07:00
21952d5e17
Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan
2007-08-10 15:20:48 -07:00
f53e441157
Use thread-local storage for tracing suppression. b=376874 r+a=brendan
2007-08-10 15:19:14 -07:00
[email protected]
b3bfdd2497
Make trace-malloc malloc-hooking work with compilers newer than VC6. b=374645 r=robstrong
2007-03-21 00:38:58 +00:00
[email protected]
3f66835571
move nsTraceMalloc out of XPCOM. Factory out stackwalking code into new files. 189221 r=chak, 186585 r=blythe sr=dbaron. Most of this patch was contributed by seawood.
2003-01-15 20:40:06 +00:00
[email protected]
97ae98bb5e
bug 113738 Cost of malloc into trace-malloc log r=blythe, sr=brendan
2001-12-15 00:24:12 +00:00
[email protected]
ae1d79b475
bug 113833 Disabling trace-malloc if required dlls are not
...
found. (thanks jband) r=dp, sr=jband
2001-12-07 14:29:24 +00:00
[email protected]
e0bf586c38
Fix bug 112196
...
win32 symbols now work for trace-malloc
r=dbaron,sr=brendan
2001-11-27 22:54:05 +00:00
[email protected]
6c1fd0ee43
not in build. only used for trace malloc purposes. This will be reviewed once a makefile change is made
2001-01-17 21:07:42 +00:00