Commit Graph

290 Commits

Author SHA1 Message Date
Jonas Sicking
26eb9625c3 Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Vladimir Vukicevic
e3731a1e45 b=560647; basic start-to-end startup instrumentation and some fixes; r=bz a=coop 2010-04-26 11:13:03 -07:00
Neil Rashbrook
176e5fc212 Bug 538964 Provide doQueryObject API that supports calling QueryInterface on non-interface source and/or destination pointers r=dbaron
--HG--
rename : xpcom/tests/TestCOMPtr.cpp => xpcom/tests/TestRefPtr.cpp
2010-04-25 12:06:42 +01:00
Vladimir Vukicevic
56684f1c17 split out declarations to work around MSVC bug 2010-04-20 14:44:39 -07:00
Vladimir Vukicevic
3ce92fdab6 b=480735; add infrastructure for simple timeline logging; r=bsmedberg 2010-04-20 00:04:42 -07:00
Chris Jones
cedd844205 Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg 2010-04-20 15:12:02 -05:00
Julian Seward
4a8eff8ae8 Bug 547964 - r=dbaron
--HG--
extra : rebase_source : 88834502ab1cdac1aa7dac9557ee1aa40ccc354f
2010-04-12 11:53:59 -04:00
Daniel Holbert
aa1625764a Bug 557559: Handle enum value NS_ASSERT_UNINITIALIZED in switch statement, to fix build warning. r=bsmedberg 2010-04-08 12:26:29 -07:00
Chris Jones
da9eaa48df Bug 550401: Do the __declspec import/export dance in mozalloc to avoid MSVC warnings. r=bsmedberg 2010-04-08 13:05:02 -05:00
Karl Tomlinson
88220b6f55 b=551860 Don't break on NS_DebugBreak(NS_DEBUG_ABORT, ...) r=cjones 2010-03-24 16:39:15 +13:00
timeless@mozdev.org
a590ecea7d Bug 550198 nsMemoryImpl::FlushMemory returns rv uninitialized if !aImmediate and PR_IntervalToMicroseconds(now - sLastFlushTime) <= 1000
r=bsmedberg

--HG--
extra : rebase_source : 60094ce8f7f09bb5a5fcd9f16f8cadccde6d0ae9
2010-03-12 07:50:11 +01:00
Chris Jones
dda6d9e99e Bug 441324, part 4: Enable infallible operator new (leaving malloc fallible) in Gecko, and play well with the wince shunt. r=bsmedberg r=blassey r=vlad 2010-03-03 23:02:58 -06:00
Jonas Sicking
8e86b28780 Bug 549743: Abort if cycle collected object is refcounted from threads other than the main thread. Such refcounting will randomly cause leaks and crashes anyway, so better crash up front to make sure developers notice. r=dbaron 2010-03-02 16:04:34 -08:00
Robert O'Callahan
ae2d325921 Bug 534425. Part 3: Make nsRefPtr be more lenient about initializing from an already_AddRefed. r=bsmedberg 2010-03-01 20:56:18 +13:00
timeless@mozdev.org
0c5fea1c77 Bug 503638 OOM crash [@ PL_DHashTableOperate | _MD_CURRENT_THREAD] in nsCycleCollector
r=dbaron
2010-02-28 11:23:59 +01:00
Neil Rashbrook
dfd69c61aa Bug 545730 Add nsRefPtr overload for CallQueryInterface r=dbaron 2010-02-27 16:01:53 +00:00
Oleg Romashin
3f2d038d99 Bug 547008 - osso-mem.h in nsMemoryImpl.cpp is not used, and should be removed. r=dougt
--HG--
extra : rebase_source : 35638f5dd120786826ee0f9891e3d00940bbb037
2010-02-19 00:04:39 +02:00
Oleg Romashin
3f39c8a245 Bug 540545 - NS_ERROR is very annoying in X86 maemo builds. r=dougt
--HG--
extra : rebase_source : 3355bf2092ded94c75bc733f2c36c51428dd53ef
2010-02-18 23:52:54 +02:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Benjamin Smedberg
30bd4e4e51 Bug 516515 - Don't initialize XPCOM in plugin processes, r=cjones
--HG--
extra : rebase_source : cab356b862a66fb7f5955b1f936944f2395bba3c
2010-02-03 17:17:09 -05:00
Benjamin Smedberg
d62f1fe600 But 535564 part 3 - don't inherit leak/bloat log handles from parent to child processes on Windows: the Java plugin spawns a process which can remain after our Firefox/plugin processes are properly cleaned up, preventing the log files from being closed, r=jgriffin over IRC
--HG--
extra : rebase_source : 413e125c087f8e8c37f9f3dec372521e709760e5
2010-01-27 11:19:50 -05:00
L. David Baron
d0b883e1b0 Make GraphWalker use templates instead of virtual functions. (Bug 537547) r=smaug 2010-01-12 08:51:39 -08:00
Chris Jones
2050fcae22 Bug 529134: Initialize tracemalloc in NS_LogInit() to ensure that tracemalloc is always thread safe. r=bsmedberg r=dbaron 2009-12-29 16:45:59 -06:00
Jonas Sicking
b7071bfb1d Skidmark for bug 524944 r=bsmedberg 2009-12-17 21:54:02 -08:00
Jonas Sicking
b8149289a3 Backed out changeset 4c88c8839a46 due to redness 2009-12-17 22:34:52 -08:00
Jonas Sicking
f3a8c685bd Skidmark for bug 524944 r=bsmedberg 2009-12-17 21:54:02 -08:00
Benjamin Smedberg
ffeebc91f0 Merge mozilla-central into electrolysis 2009-12-16 08:38:42 -05:00
timeless@mozdev.org
c3279c224a Bug 535106 solaris nsTraceRefcntImpl.cpp Error: Overloading ambiguity between "nsACString_internal::AppendInt(int)" and "nsACString_internal::AppendInt(unsigned)".
hi
r=smaug
2009-12-16 14:50:07 +01:00
Ginn Chen
0d957f8b7f Bug 534848 enable about:memory for Solaris r=vlad 2009-12-16 19:23:17 +08:00
Chris Jones
d00615ff66 bug 534922: quick and dirty hack to make NS_RUNTIMEABORT trigger the crashreporter on windows. r=bsmedberg 2009-12-15 15:40:30 -06:00
Benjamin Smedberg
767eb11cb4 Merge mozilla-central into electrolysis 2009-12-04 11:28:50 -05:00
Peter Van der Beken
1ab8a39a5f Make sure debugging code for topcrash bug 500105 brings up breakpad. r=dbaron. 2009-12-03 12:23:06 +01:00
Ben Turner
80295bdca8 Fix link warnings on windows 2009-11-25 15:41:58 -05:00
Ben Turner
1c22d5c47e More better awesome trap on debug builds when we try to abort 2009-11-12 12:04:58 -08:00
Ben Turner
5c6304af69 Make NS_DebugBreak trap as well as abort in debug builds 2009-11-12 11:44:25 -08:00
Benjamin Smedberg
17cf638aac Merge mozilla-central into electrolysis. 2009-11-11 12:35:42 -05:00
Jonathan Griffin
a29a4e5e3a Bug 519570. Fix build bustage on non-IPC builds. 2009-11-10 11:39:42 -08:00
Jonathan Griffin
ffd9106373 Bug 519570. Log leaks for child processes in separate files, and handle them in automation.py. r=bsmedberg 2009-11-10 11:16:12 -08:00
Doug Turner
b53a9f49d2 Fixing comment in nsMemoryImpl.cpp 2009-12-01 12:29:55 -08:00
Doug Turner
d49c4c0a30 Bug 532039 - Improve perf of IsLowMemory. r=bsmedberg. 2009-12-02 00:24:19 -08:00
Benjamin Smedberg
43b1c28f44 Bug 526586 - XULRunner crashes on startup on Windows r=bustage fix and at least agreement on the approach from dbaron 2009-11-09 14:30:01 -05:00
Marco Bonardo
b6e2e48df0 Bug 525245 - system-info should expose hardware specs to JS consumers, r=bsmedberg 2009-11-04 15:41:37 +01:00
Justin Dolske
62eb5c6518 Bug 525323 - Windows CE ux/perf regression between Alpha 2 and Beta 1. 2009-10-30 22:39:30 -07:00
L. David Baron
65cb93a64c Add operator->* to nsAutoPtr and nsRefPtr. (Bug 525205) Pending review, but fixes bustage for a bunch of people. 2009-10-29 21:04:32 -07:00
Benjamin Smedberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
699dcb26a7 Add runtime NS_IsMainThread checks to protect the cycle collector's purple buffer, and make NS_IsMainThread faster on our major platforms. (Bug 521750) r=peterv 2009-10-28 10:28:57 -07:00
Benjamin Smedberg
7d138d4786 Make NS_IsMainThread faster on our major platforms. (Bug 521750) r=dbaron 2009-10-28 10:28:57 -07:00
Peter Van der Beken
e7c0714f81 Add temporary debugging code to help figure out top crash bug 500105, part 2. r=dbaron. 2009-10-07 17:44:28 -07:00
Peter Van der Beken
c55812fbbb Add temporary debugging code to help figure out top crash bug 500105, part 1. r=dbaron. 2009-10-27 13:38:18 +01:00
Dave Townsend
3771e35013 Bug 526635: Interfaces changed on the 1.9.2 branch with no IID rev. r=enn, r=vlad, r=josh, r=mak77, r=ted, r=roc 2009-11-06 11:31:22 -08:00