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

1121 Коммитов

Автор SHA1 Сообщение Дата
dbaron@dbaron.org 212a6a5311 Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-27 13:41:26 -07:00
dbaron@dbaron.org 088d801720 Fix gcc warning about casting string literal to char*, DEBUG-only. 2007-06-27 13:40:52 -07:00
dbaron@dbaron.org 0ecbf11058 Keep the purple bit in sync with the purple buffer when suspect and forget calls are dropped on the floor. b=385548 r=graydon 2007-06-27 10:51:48 -07:00
dbaron@dbaron.org 2211b60f82 Back out 385548 to try to fix test orange. 2007-06-26 22:26:38 -07:00
dbaron@dbaron.org 247f9667fd Don't set the purple bit when suspect calls are dropped on the floor. b=385548 r=graydon 2007-06-26 21:47:40 -07:00
dbaron@dbaron.org 7c5b1319a0 Print the warning message for failure to suspect or unlink only for the objects that are the roots of what would have been collected. b=385549 r=graydon 2007-06-25 13:36:24 -07:00
dbaron@dbaron.org a957bfec45 Back out again. 2007-06-21 17:30:41 -07:00
dbaron@dbaron.org 11208f0393 See if using mScanDelay of 1 instead of 0 fixes the leak regression. 2007-06-21 16:49:37 -07:00
dbaron@dbaron.org 071c76a324 Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-21 16:02:53 -07:00
graydon@mozilla.com 31b7fc133f Bug 384942, dump graph on cycle collection fault.
r=dbaron
2007-06-18 18:29:10 -07:00
dbaron@dbaron.org 37f48fed5f Back out bug 381199. 2007-06-13 17:12:16 -07:00
dbaron@dbaron.org d0fb8f5ccc Change cycle collector aging constant from 10 to 0. b=381199 r+sr=peterv 2007-06-13 16:22:19 -07:00
peterv@propagandism.org 21da11d098 Fix for bug 383651 (Re-entrancy into nsCycleCollector::Collect can result in a crash). Patch by ak.miller@auckland.ac.nz, r=graydon, sr=dbaron. 2007-06-08 03:17:21 -07:00
dbaron@dbaron.org 35b99373e1 Don't loop through all the possible shutdown collections when we suspect all native wrappers. b=383234 r+sr=peterv 2007-06-06 15:09:00 -07:00
dbaron@dbaron.org 71c86c8017 Shutdown in one cycle when we set mScanDelay to 0. b=383234 r+sr=peterv 2007-06-06 15:08:25 -07:00
dbaron@dbaron.org 387bbbccf2 strdup when allocating mName so we have useful pointers. b=383234 r+sr=peterv 2007-06-06 15:07:29 -07:00
dbaron@dbaron.org 49261f75e3 Print info about things that are suspected on the extra collections at shutdown to catch deficiencies in traversal that cause us to need the extra collections. b=383234 r+sr=peterv 2007-06-06 15:06:56 -07:00
dbaron@dbaron.org 8c714701dc When explaining why expected garbage was not collected, list the known references when some were unknown. b=383234 r+sr=peterv 2007-06-06 15:06:00 -07:00
dbaron@dbaron.org f703b5df57 Make nsTraceRefcnt print addresses along with serial numbers, and fix warning about casting to a function pointer. b=383234 r=peterv 2007-06-06 15:05:25 -07:00
dbaron@dbaron.org d1fbeecd5c Make DEBUG_CC compile again. b=383234 r+sr=peter 2007-06-06 15:04:26 -07:00
peterv@propagandism.org aba8c5dc41 Fix warning. 2007-05-25 03:57:38 -07:00
peterv@propagandism.org 5acbaf5478 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
jonas@sicking.cc 233450d9b8 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
jst@mozilla.org eedb90c553 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
jonas@sicking.cc de64d03178 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
jonas@sicking.cc 594d259432 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
jonas@sicking.cc c2c495c2ef Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
dbaron@dbaron.org ca87aeb5ac Remove extra class names to address Neil's comments. b=378514 2007-05-03 16:07:26 -07:00
dbaron@dbaron.org 24d770a6a9 Record results of cycle collection traversal so we only have to call the traversal APIs once per collection. b=378514 sr=peterv r=graydon 2007-04-25 14:12:11 -07:00
peterv@propagandism.org f66cd8c4f5 Fix for bug 376854 (CycleCollector depends on uninitialized values (ageSelectionCallback and nsPurpleBuffer::BumpGeneration)). r/sr=dbaron. 2007-04-25 11:33:55 -07:00
peterv@propagandism.org f091506c2b Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
dbaron@dbaron.org be3b7ec321 Followup fixes to making cycle collector use more efficient hashtables: shrink size of table and fix warnings on 64-bit machines. b=377606 sr=peterv r=graydon 2007-04-23 16:34:33 -07:00
peterv@propagandism.org a3211baf40 Fix for bug 372110 (Make cycle-collection debugging features optional at compile time). r=graydon, sr=jst. 2007-04-21 10:43:19 -07:00
peterv@propagandism.org 533f945b5a Reorder members to make struct smaller and try to lower MH down again. 2007-04-20 01:51:31 -07:00
peterv@propagandism.org 9c898bc846 Fix for bug 377606 (Switch cycle collector to more efficient hashtables). Patch by graydon, r=peterv, sr=dbaron. 2007-04-20 01:01:01 -07:00
peterv@propagandism.org e6f2b66bd5 Fix for bug 373693 (Cycle collector makes AddRef about 6x slower). r=graydon, sr=dbaron. 2007-04-18 03:10:35 -07:00
peterv@propagandism.org 98262e788a Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron. 2007-04-10 15:05:41 -07:00
peterv@propagandism.org 12431cf555 Fix for bug 375075 (Stop leaking the cycle collector on shutdown). r=bsmedberg, sr=dbaron. 2007-03-27 02:49:06 -07:00
peterv@propagandism.org 826c6a72f8 Backing out change for debugging tinderbox orange. 2007-03-23 09:10:21 -07:00
peterv@propagandism.org 0366969393 Temporarily enable cycle collection timing for debug builds to figure out tinderbox orange. Will back out after qm-xserve01 tinderbox has cycled. 2007-03-23 08:11:53 -07:00
hg@mozilla.com 05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
jst%mozilla.org cd1c3c94d3 Fixing bug 374239. Add debugging code that will print time spent in various parts of nsCycleCollector::Collect(). r+sr=peterv@propagandism.org 2007-03-19 23:21:31 +00:00
peterv%propagandism.org 5a1ed9c668 Fix for bug 374096 (Cycle collector doesn't collect all the cycles it could). r=graydon, sr=dbaron. 2007-03-16 12:52:47 +00:00
graydon%mozilla.com 203839a8b5 Bug 368869, previous commit had a typo: s/bool/PRBool/, s/false/PR_FALSE/. 2007-03-15 23:47:01 +00:00
graydon%mozilla.com 47299d3e29 Bug 368869 - Make cycle collection suspect all native wrapper roots
r=brendan, sr=jst
2007-03-15 23:05:03 +00:00
joshmoz%gmail.com f25eb0ef7b XPCOM cycle collector is initialized statically, don't do that. b=369336 r=graydon sr=vlad 2007-03-14 06:15:10 +00:00
dbaron%dbaron.org e19b9e8e92 Add debugging code to cycle collector to give information about objects it has been told ought to be freed. b=372766 r=graydon sr=peterv 2007-03-09 23:00:14 +00:00
peterv%propagandism.org d31627390e Take care of reviewer comment (bug 373219). 2007-03-09 13:49:45 +00:00
peterv%propagandism.org a267e57680 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +00:00
peterv%propagandism.org 47188a2f94 Try to fix bustage. 2007-03-08 11:31:14 +00:00
peterv%propagandism.org 12f2917956 Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst. 2007-03-08 11:17:16 +00:00
bzbarsky%mit.edu 8cfe770629 Relanding bug 368523 now that we've established it's the reason for the Txul change. 2007-03-06 19:25:10 +00:00
bzbarsky%mit.edu ffa520357a Back out bug 368523 to test performance impact 2007-03-06 18:23:15 +00:00
dbaron%dbaron.org 3d3dda25c0 Make nsCycleCollector::Fault do something in debug builds. b=372320 r=graydon sr=peterv 2007-03-05 21:07:51 +00:00
bzbarsky%mit.edu 5ace0b6f2a Don't hook malloc by default (still hook it if asked to via the env vars), and
when it's hooked ignore free(0) calls.  Bug 368523, r=graydon, sr=dbaron
2007-03-02 01:08:03 +00:00
peterv%propagandism.org 3e4c261c01 Fix for bug 367779 (Make cycle collection through JS objects more reliable). r=jst, sr=brendan. 2007-02-18 20:05:32 +00:00
peterv%propagandism.org 0e04a8b0f2 Fix for bug 368549 (Cycle collector doesn't handle tearoffs correctly). r=graydon, sr=jst. 2007-02-18 14:38:04 +00:00
jonas%sicking.cc 073b1fd3fe Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest. 2007-02-16 23:02:08 +00:00
gerv%gerv.net 8e8acc58af Bug 236613: change to MPL/LGPL/GPL tri-license. 2007-02-14 17:33:38 +00:00
philringnalda%gmail.com a14f8ae1db Bug 349526: BeOS crashes at startup due to mState buffer overrun, p=tqh <thesuckiestemail@yahoo.se>, r+sr=vlad 2007-01-27 05:11:35 +00:00
jst%mozilla.org 27282c494c Landing graydon's fix for bug 366578. Make the cycle collector run at shutdown. 2007-01-25 00:24:08 +00:00
martijn.martijn%gmail.com b90e5b8ef2 Bug 366119 � Mingw build error in nsCycleCollector.cpp, r=graydon, sr=jst 2007-01-23 00:39:25 +00:00
graydon%mozilla.com 40e2228cd0 Bug 366063: better fix to critical crasher, replacing band-aid submitted in 333078.
r=dbaron
2007-01-09 01:33:02 +00:00
jst%mozilla.org 0ec7665da8 Landing 64-bit fixes for bug 333078. r=graydon@mozilla.com, sr=bugmail@sicking.cc 2007-01-05 23:59:18 +00:00
graydon%mozilla.com 9d9858d348 Bug 333078: XPCOM cycle collector, first performance-related followup patch.
Reorganizes collection throttling to coincide with existing JS_GC scheme.
2007-01-05 01:44:42 +00:00
graydon%mozilla.com 4525ab79d9 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg
2007-01-04 22:31:26 +00:00
vladimir%pobox.com 82a10357c9 backing out bug 333078, xpcom cycle collector due to perf issues 2006-11-22 23:18:16 +00:00
vladimir%pobox.com 32c701d569 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many 2006-11-22 21:31:33 +00:00
vladimir%pobox.com 6aa8e1d3f1 b=333078, xpcom cycle collector; followup patch -- patch from graydon@mozilla.com, r=many 2006-11-22 20:48:47 +00:00
vladimir%pobox.com 3748c8bf4f b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many 2006-11-22 19:23:02 +00:00
gavin%gavinsharp.com ab9a15669f Bug 342670 2006-11-22 17:50:35 +00:00
cvshook%sicking.cc 636e4e6e5f Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron 2006-11-21 21:28:14 +00:00
mats.palmgren%bredband.net cca3292d36 Make NS_LIKELY/NS_UNLIKELY accept pointers etc and always return 0 or 1. b=340244 r+sr=darin 2006-11-18 00:48:56 +00:00
benjamin%smedbergs.us 8c57888aec Bug 313309 - Table-driven QI part 3 - use weak statics for interface IDs, r=shaver. This will break VC6 and gcc2.9x, which is ok 2006-11-14 21:21:37 +00:00
mats.palmgren%bredband.net e5aa498240 Backing out the NS_LIKELY/NS_UNLIKELY change to see if it fixes Tinderbox orange. b=340244 2006-11-09 22:52:19 +00:00
mats.palmgren%bredband.net c0ddcdaf16 Make NS_LIKELY/NS_UNLIKELY accept pointers etc. b=340244 r+sr=darin 2006-11-09 17:41:03 +00:00
vladimir%pobox.com 115b56787c b=354984, patches to build with vista RC1 SDK, r=darin 2006-10-24 20:38:29 +00:00
cbiesinger%web.de 161e140b5e bug 348748 make NS_*_CAST always use C++-style casts (in preparation for
removing the macros altogether)
r=bsmedberg sr=dbaron
2006-09-04 23:04:57 +00:00
vladimir%pobox.com 8a22244c91 b=327161, real and final fix for btek's orange in uuidgenerator glibc brokenness, r+sr=bz 2006-08-15 00:52:21 +00:00
vladimir%pobox.com f6f7a4a6d7 b=327161, uuidgenerator stuff, attempt to fix btek from previous checkin, r=bz 2006-08-14 22:04:01 +00:00
vladimir%pobox.com 8b54bc398c b=327161, nsUUIDGenerator subject to reseeding woes, r+sr=bz 2006-08-14 18:53:34 +00:00
benjamin%smedbergs.us a1d0d30501 Bug 305949 - stop exporting nonfrozen XPCOM symbols when libxul is enabled, r=darin 2006-08-02 18:27:25 +00:00
gavin%gavinsharp.com 15076987ab Bug 322169: Clear Private Data does not clear JS Console, patch by Simon B�nzli <zeniko@gmail.com>, r=mconnor, r=darin 2006-07-19 12:49:33 +00:00
sspitzer%mozilla.org 7ce269136a fix for bug #341190
Software update should forward information about specific operating system version.

r=darin
2006-07-06 06:32:03 +00:00
mark%moxienet.com ffba1158c6 Copy'n'paste (340071) and drag'n'drop (340890) between Mozilla app running natively and Mozilla app running under Rosetta translation does not work [properly]. Byte-swap UTF-16 text in private flavors when running under Rosetta. r=josh sr=pink a/1.8.1=me 2006-06-15 17:13:59 +00:00
bzbarsky%mit.edu f2cf54597a Make nsUUIDGenerator use the low bits, not the high ones, so we actually get
random numbers on 64-bit systems.  Bug 335549, r=vlad, sr=roc
2006-06-15 04:40:21 +00:00
mhammond%skippinet.com.au 0f241835df Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan. 2006-06-13 03:07:47 +00:00
bent.mozilla%gmail.com 96ba6e66fd Bug 289689 - "Memory leak: nsDebugImpl::Assertion, Create Process". r=dougt, sr=darin. 2006-06-02 23:37:10 +00:00
joshmoz%gmail.com 5ea4cf029a add a comment for my last checkin, b=339987 2006-06-02 20:20:52 +00:00
joshmoz%gmail.com 704e5701f1 Make Mac OS X debug trap impl use raise(SIGTRAP) instead of Mac OS X debugging function so we're only required to set the XPCOM debug env variable and not also the Mac OS X debug break variable. Also make GNUC/x86 test more robust, include '__i386__' in the test because not all platforms define '__i386' (Mac OS X is one of those, though it doesn't really matter here since we do a separate test for Mac OS X). b=339987 r=mento sr=dougt 2006-06-02 20:06:43 +00:00
bzbarsky%mit.edu 792a02421d Make it ok to call nsUUIDGenerator from off the main thread. Bug 334983,
r=vlad, sr=darin
2006-05-14 22:41:47 +00:00
darin%meer.net 342082f9ca fix btek bustage. 2006-05-10 17:47:50 +00:00
darin%meer.net 0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
benjamin%smedbergs.us 08887664c9 Bug 334038 - Separate out the frozen C stringapi and the glued C++ wrappers, fix a few bugs along the way, and move some of the utils from nsCRT into nsCRTGlue for use by frozen-linkage code. r=darin
CVS history for xpcom/string/public/nsXPCOMStrings.h is at xpcom/string/public/nsStringAPI.h
CVS history for xpcom/build/nsXPCOMStrings.cpp is at xpcom/build/nsStringAPI.cpp
CVS history for xpcom/glue/nsStringAPI.h is at xpcom/string/public/nsStringAPI.h
2006-05-03 16:11:14 +00:00
bzbarsky%mit.edu 722b5218b2 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin
2006-05-02 18:54:19 +00:00
gavin%gavinsharp.com 0a378004b2 Bug 333302: OOM [@ NS_NewInterfaceRequestorAggregation], patch by Ryan Flint <rflint@dslr.net>, r=timeless, sr=darin 2006-04-13 23:39:49 +00:00
peterv%propagandism.org e382a998c4 Fix for bug 332908 (nsUUIDGenerator should use CFUUIDCreate on OS X). r=vlad, sr=darin. 2006-04-06 21:48:47 +00:00
darin%meer.net cca1a776fa restoring warning per bsmedberg 2006-03-31 00:59:02 +00:00
darin%meer.net 20837f71e1 fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron 2006-03-30 18:40:56 +00:00
mark%moxienet.com 159ccd8008 331827 Provisional build patch to make gtk2/darwin builds functional out of the box. There may be additional changes needed for static builds. r=bsmedberg 2006-03-28 20:06:17 +00:00