tools/trace-malloc/lib/nsTraceMalloc.c
62627192e1563789da8b97907ffd342f4348f31d
created 2012-10-18 15:55 -0400
pushed 2012-10-31 21:26 +0000
Brian Smith Brian Smith - Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan
52b59d7cff7c7fe85e4664a163ee3cd6df17e374
created 2012-10-11 18:38 -0500
pushed 2012-10-31 21:26 +0000
Isaac Aggrey Isaac Aggrey - Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan
1ff74108db1dd1b983bffff69135ae6116a4b7ae
created 2012-09-14 16:09 -0400
pushed 2012-09-18 19:23 +0000
Makoto Kato Makoto Kato - Bug 785321 - Replace PRUptrdiff with uintptr_t, prtdiff_t or etc; r=ehsan,jrmuizel
a16372ce30b5f6b747246b01fcd215a4bf3b6342
created 2012-08-22 11:56 -0400
pushed 2012-08-23 00:57 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
c7af21dd3f06b88323bd17fc3dbc16b7ce1b79e5
created 2012-08-10 12:40 -0400
pushed 2012-08-16 01:15 +0000
Rafael Ávila de Espíndola Rafael Ávila de Espíndola - Bug 780272 - Audit calls to MozillaUnRegisterDebugFD. r=jlebar.
461dd0c4f2b7ca651e28b3d3b5e3bcbe314a2e7e
created 2012-06-27 16:08 -0400
pushed 2012-08-06 22:42 +0000
Benoit Girard Benoit Girard - Bug 766579 - Part 1: Add SP param to NS_StackWalk. r=dbaron
da871640d4486b3149671987877e278e8cda5a00
created 2012-07-03 09:15 -0400
pushed 2012-08-06 22:42 +0000
Rafael Ávila de Espíndola Rafael Ávila de Espíndola - Bug 732173 - poison write during shutdown in a debug build. r=ted.
f4157e8c410708d76703f19e4dfb61859bfe32d8
created 2012-05-21 12:12 +0100
pushed 2012-10-31 21:26 +0000
Gervase Markham Gervase Markham - Bug 716478 - update licence to MPL 2.
1b72fc52dfe19f82772772f4428dabcc2fbd3949
created 2011-12-23 18:14 -0500
pushed 2012-10-31 21:26 +0000
Ehsan Akhgari Ehsan Akhgari - Bug 713278 - Teach NS_StackWalk to walk the stack of other threads too on Windows; r=dbaron
bcc6c2a1da8bae3da24afb7b267caedb051a9948
created 2011-12-17 22:56 -0500
pushed 2012-10-31 21:26 +0000
Jeff Walden Jeff Walden - Bug 711799 - Fix a few implicit-declaration warnings in trace-malloc. r=dbaron
c62b8bcb94d41415a23bfb775abc623d00436256
created 2011-12-19 10:43 -0800
pushed 2012-10-31 21:26 +0000
Matt Brubeck Matt Brubeck - Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures
bcf9ce858829d8f46dc8927062b16e251ebee0d5
created 2011-12-17 22:56 -0500
pushed 2012-10-31 21:26 +0000
Jeff Walden Jeff Walden - Bug 711799 - Fix a few implicit-declaration warnings in trace-malloc. r=dbaron
c9a74f4ee1f7f6bea7b5851c800a4116bd68952e
created 2011-12-02 19:26 -0500
pushed 2012-10-31 21:26 +0000
Rafael Ávila de Espíndola Rafael Ávila de Espíndola - Bug 696376 - Change how we find critical ranges so that it works on 10.6 too. r=dbaron.
7aba04c9fdc2ece7c810c45f51279c31326a3636
created 2011-12-02 18:00 +0000
pushed 2012-10-31 21:26 +0000
Chris Lord Chris Lord - Backout bug 696376
e81b024e6ec9a13648e8221a63f98de18ce9c606
created 2011-12-01 18:22 -0500
pushed 2012-10-31 21:26 +0000
Rafael Ávila de Espíndola Rafael Ávila de Espíndola - Bug 696376 - Change how we find critical ranges so that it works on 10.6 too. r=dbaron.
5bbc4fb5b277ea0212f4c210f2a7238dbbe70904
created 2011-11-04 09:49 -0400
pushed 2012-10-31 21:26 +0000
Rafael Ávila de Espíndola Rafael Ávila de Espíndola - Bug 696376 - If stacks_enabled is false, only walk the stack on OS X 32 bits. r=
93e293c8758056784d259e651f7128d8d796cc24
created 2011-10-28 18:43 -0400
pushed 2012-10-31 21:26 +0000
Rafael Ávila de Espíndola Rafael Ávila de Espíndola - Bug 696281 - disable trace malloc stacks on OS X too. r=dbaron.
f4ddad2c0eb7d079abeba227758176ba4992f59e
created 2011-06-15 07:32 +0200
pushed 2012-10-31 21:26 +0000
Mike Hommey Mike Hommey - Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg
d612f355a02828e8887bc6eef00e0cedb37eddb0
created 2011-06-15 09:00 -0700
pushed 2012-10-31 21:26 +0000
Matt Brubeck Matt Brubeck - Back out 6b23b52e68d6 - e92f98e8a335 (bug 632404, 552864, 658995) because of Tp4 regression.
6e230988614fb99eb6967d6e24c7b7daad01b68c
created 2011-06-15 07:32 +0200
pushed 2012-10-31 21:26 +0000
Mike Hommey Mike Hommey - Bug 658995 part 2 - Use static destructors instead of atexit(). r=bsmedberg
0778c79316957868b470b7d0fdd1e85f66064f51
created 2010-09-21 19:32 -0700
pushed 2012-10-31 21:26 +0000
L. David Baron L. David Baron - Initialize the out param from backtrace(). (Bug 549561) r=bsmedberg a2.0=tests
60944ddadc17e63973a8169ec7f388cb6a18e16a
created 2010-08-19 09:37 -0400
pushed 2012-10-31 21:26 +0000
L. David Baron L. David Baron - Add environment variable NS_TRACE_MALLOC_DISABLE_STACKS for disabling the stack-walking part of trace-malloc to improve performance of tinderbox test machines. (Bug 549561) r=bsmedberg a2.0=tests
ea54a11bd98791c9b9064a40044d19665846f657
created 2010-08-19 09:37 -0400
pushed 2012-10-31 21:26 +0000
L. David Baron L. David Baron - Avoid a lock/unlock pair for each call to |calltree|. (Bug 549561) r=bsmedberg a2.0=tests
91427ac7438e0441de66dec9b603d7cbc63561e1
created 2010-08-19 21:35 +1200
pushed 2012-10-31 21:26 +0000
Pirkka Kärenlampi Pirkka Kärenlampi - Bug 586944. Make 'backtrace' static to fix issues with the symbol being overriden by system libraries. r=dbaron,a=bsmedberg
0b85f374e62367affbcfae64490ea0bbd1d048c9
created 2010-04-08 17:21 -0700
pushed 2012-10-31 21:26 +0000
L. David Baron L. David Baron - Make trace-malloc malloc hooks work with 64-bit Mac OS X by adjusting types. (Bug 558097, maybe)
7c5e126880cfae388d5317821690539bc9cc9f47
created 2009-12-29 16:45 -0600
pushed 2012-10-31 21:26 +0000
Chris Jones Chris Jones - Bug 529134: Initialize tracemalloc in NS_LogInit() to ensure that tracemalloc is always thread safe. r=bsmedberg r=dbaron
c94701d73e0219a48a37f2e40444272e1a786fb3
created 2009-03-11 07:51 -0700
pushed 2012-10-31 21:26 +0000
L. David Baron L. David Baron - Don't rely on NS_TraceMallocStartupArgs to initialize TLS index. (Bug 442192) r=brendan
65a461a480b7749e6a4c04d2300e5e38caf17869
created 2009-02-17 21:51 -0800
pushed 2012-10-31 21:26 +0000
Ben Turner Ben Turner - Bustage fix for bug 478195.
90d9e594332487dc5151653e88ba20856d414a2f
created 2009-02-17 21:11 -0800
pushed 2012-10-31 21:26 +0000
Robert O'Callahan Robert O'Callahan - Bug 478195 - '[Mac] Same-thread deadlock with trace-malloc (causing random red on OS X 10.5.2 mozilla-central leak test build)'. r=dbaron.
eee86e5513ad381eaa16a55f037fa479c8d54187
created 2008-10-10 17:04 +0200
pushed 2012-10-31 21:26 +0000
Arpad Borsos Arpad Borsos - Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
111c20038fa667049218d2dbc0023f54a07098b4
created 2008-05-14 11:57 -0700
pushed 2012-10-31 21:26 +0000
L. David Baron L. David Baron - Fix broken --shutdown-leaks argument handling on Windows by copying the argument out of argv rather than holding a pointer to it. b=433708 r=pavlov
10d443e69d94c59c4436288c8ba8330f32f8bcd4
created 2008-03-14 17:11 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Expose trace-malloc stack tracing. b=422847 r=brendan a=NPOTDB
530e99db7a23194926ab30fa3722133b2fa81a84
created 2007-09-28 15:39 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Fix race saving/restoring malloc hooks by going back to overriding malloc, etc., plus some additional cleanup. b=392009 r+a1.9=brendan
e075fb39556818efa83542b96ed9c3cd4108fe7b
created 2007-09-25 13:33 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Suppress tracing around calls into original allocators, in case they recur back into our hooks. Fixes most of leak *stats* regression from bug 392009. r+a1.9=brendan
56d2b5c022495ad90e6c5ec7327971f14668580c
created 2007-09-24 18:13 -0700
pushed 2012-10-31 21:26 +0000
brendan brendan - Reduce code duplication among platforms, support hooking and unhooking (392009, r=dbaron).
22f8df7aeacd902f1acb5df04a7345796e08b166
created 2007-08-14 09:35 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Port trace-malloc to Mac OS X. b=392118 r+a=brendan
e322f564b2aa4f6460997f4e19fcb475251b9406
created 2007-08-10 17:53 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Make void signatures match header. b=391766 r+a=brendan
2b9cf1b220473cbf86dd8dcc3b48754758803550
created 2007-08-10 17:53 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Lock around NS_TraceMallocDumpAllocations. b=391766 r+a=brendan
4e14c8e29ed5c3f15cb1a913a06a02992873ceb2
created 2007-08-10 17:52 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Stop using strncpy unnecessarily. b=391766 r+a=brendan
ab976c32105f71c18fb759c6ceab9c4ca1fdfc1c
created 2007-08-10 15:22 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Add suppression code around calls to original allocation functions to handle things like new[] calling new. b=391491 r+a=brendan
99aae82cc4cc995bf5fa55465d7832db37230c16
created 2007-08-10 15:21 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Define the __libc_* on Windows to something that does automatic suppression, like on Linux. b=391477 r+a=brendan
552013b33ac14984247e71356d13dab5c02fec91
created 2007-08-10 15:20 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Convert trace-malloc to using XPCOM stack walking API. b=374829 r+a=brendan
e5e746415b05e19865589239ceaa5c096493f1ba
created 2007-08-10 15:19 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Start reducing the scope of locking in trace-malloc, and convert the PRMonitor to a PRLock. b=376874 r+a=brendan
eb2bc90a3583863bbcbaacd663e219f3443f35e6
created 2007-08-10 15:19 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Use thread-local storage for tracing suppression. b=376874 r+a=brendan
eae91ec46932cb68df6e7faf1bb49d434d049848
created 2007-08-10 14:24 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Improve performance when trace-malloc is built but not used by adding a fast-path around the locking. b=150015 r=brendan a=bzbarsky
caf13058cc2ef5f1a5fa4ab045517b31cccb883a
created 2007-04-03 18:35 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Replace printf that fires all the time with an assertion for what I really want to check.
5a0cc295a03db5b4dc3fccc96a8eb38c8b8513c4
created 2007-04-03 18:06 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - The tinderbox problem was due to insufficient STARTUP_TMBUFSIZE, so re-increase the buffer size to 64K (from 16K) and comment out my debugging code.
77cfceb0d4253e49ba5b9f87b5f279face65826b
created 2007-04-03 17:53 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Back out startup buffer size change (but leave diagnostic).
503b4a4f93bba4ee0aeda47244397c40481399cb
created 2007-04-03 17:39 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Try increasing startup buffer size to see if it fixes tinderbox orange.
723c14db75f6e538632a46fefc500b048b53c3df
created 2007-04-03 15:14 -0700
pushed 2012-10-31 21:26 +0000
dbaron dbaron - Fix deadlock in trace-malloc by exiting monitor around call to dladdr. b=363334 r=brendan
9b2a99adc05e53cd4010de512f50118594756650
created 2007-03-22 10:30 -0700
pushed 2012-10-31 21:26 +0000
hg hg - Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
less more (0) tip