Commit Graph

3688 Commits

Author SHA1 Message Date
Bobby Holley
1b2f22fe61 Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Chris Peterson
410b0e63cc Bug 873960 - Avoid unnecessary idle thread notifications when changing thread limits. r=bsmedberg 2013-05-16 09:02:46 -07:00
David Zbarsky
d2ab636b5e Bug 872678: Mark nsStaticNameTable immutable after initialization to fix assertions r=dbaron 2013-05-21 18:22:45 +08:00
Andrew McCreight
5eae3f10e5 Bug 873111 - Statically enforce root/child phase separation in cycle collector graph building. r=smaug 2013-05-20 13:08:11 -07:00
Derrick Moser
8860c052b8 Bug 872497 - Remove problematic "optimization" in NS_QuickSort. r=jlebar
This change allows us to avoid O(n^2) performance when partially sorted data
is given to NS_QuickSort.  We no longer attempt an insertion sort if the input
appears pre-sorted.  This brings the expected performance back to O(n*log(n))
but also eliminates the possibility of O(n) best case performance.  Attempts
to achieve O(n) performance should be the responsibility of callers as they
are in a better position to evaluate the costs/benefit trade-off of looking
for special cases that can be sorted quicker.
2013-05-18 15:16:02 -04:00
Andrew McCreight
ce0fc95919 Bug 873664 - remove two unused fields from nsCycleCollector.cpp r=smaug 2013-05-17 16:59:34 -07:00
Gregory Szorc
c1b865f669 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ryan VanderMeulen
64bb07971b Merge m-c to inbound on a CLOSED TREE. 2013-05-17 17:34:54 -04:00
Ryan VanderMeulen
1732f4e103 Backed out changesets 073791f33ab7 and 7ac5779a426c (bug 859756) for causing intermittent Windows build failures.
CLOSED TREE
2013-05-17 17:30:20 -04:00
Mihai Sucan
7c419043ce Bug 859756 - [browserconsole] Add timestamp, category and window IDs to nsIConsoleMessages; r=bz 2013-05-16 20:23:46 +03:00
Ryan VanderMeulen
20ac561a9b Merge m-c to inbound. 2013-05-17 15:40:53 -04:00
Andrew McCreight
bb90430c99 Bug 866429 - Simplify shutdown cycle collections. r=smaug 2013-04-27 11:45:46 -07:00
Andrew McCreight
e7c16849ba Bug 865320 - Move the logic for deciding when to doing a merging CC into the cycle collector. r=smaug 2013-04-29 16:41:41 -07:00
Ted Mielczarek
47d7af59de bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Maria Grazia Alastra
29ebfeceb8 Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg 2013-05-16 08:26:55 -04:00
Trevor Saunders
a97b8342f2 bug 860027 - rename xptiInterfaceInfoEntry::GetInterfaceInfo() to InterfaceInfo() since it can't return null and make it return an already_AddRefed r=bsmedberg 2013-05-03 21:54:31 -04:00
Trevor Saunders
0e3f6b4821 bug 860027 - use entry->GetScriptableFlag() directly instead of sillyness through the nsIInterfaceInfo r=bsmedberg 2013-05-03 18:33:30 -04:00
Trevor Saunders
7ee357c21c bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley r=bsmedberg 2013-04-09 16:00:21 -04:00
Joey Armstrong
0d49db0381 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Lukas Blakk
784ea2bf8f Merging in version bump NO BUG 2013-05-13 09:09:39 -07:00
Andrew McCreight
51b7c91d23 Bug 867974 - fail more gently when purple buffer count isn't zero. r=smaug 2013-05-09 13:19:00 -07:00
Vasil Dimov
1d18b77cc6 Bug 860827 - Move TEMP_FAILURE_RETRY to FileUtils.h and rename it. r=tbsaunde 2013-05-09 13:42:12 -04:00
Makoto Kato
6b8a906e33 Bug 800220 - Part 2. Fix warning error. r=ehsan 2013-05-08 12:47:22 +09:00
Makoto Kato
0ec059eb04 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Mats Palmgren
62ca06180b Bug 867530 - Initialize the poison value in XPCOM startup and annotate the values in crash reporter. r=bsmedberg 2013-05-07 20:48:59 +02:00
Sumedh Shekhar
e409da4cb3 Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
Iivari Äikäs
c0b2ce3bd9 Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt 2013-05-07 10:25:21 -04:00
Aaron Klotz
634d43f43d Bug 857830: Part 1 - Ensure that ReadAheadFile's aOutFd is always set when provided. r=glandium
--HG--
extra : rebase_source : 8961f16a817a65325b356bd700b29665969f391c
2013-05-07 00:06:14 -06:00
Gabriele Svelto
6ed5cd83f8 Bug 793735 - Make XRE_StartupTimelineRecord() generate TimeStamps and modify its callers to use the appropriate timers, r=nfroyd 2013-03-26 11:31:20 +01:00
Gabriele Svelto
983cbe97cd Bug 793735 - Add functionality to create TimeStamp instances representing the process creation time, r=nfroyd 2013-03-28 11:28:09 +01:00
Andrew McCreight
f519bdf5b5 Bug 868761 - Remove trailing whitespace from nsCycleCollector.cpp. r=smaug 2013-05-04 08:39:44 -07:00
Matt Brubeck
5ae4ce3ab7 Back out changeset e7e44c2d6d72 (bug 860027) because of Ts and MaxHeap regressions 2013-05-03 11:00:24 -07:00
Gregor Wagner
2d576d50c2 Bug 852429 - Disable TestSettingsAPI test until bug 862355 is fixed. r=bent 2013-05-03 09:40:10 -07:00
Trevor Saunders
5fa36decd1 bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley, bsmedberg 2013-04-09 16:00:21 -04:00
Dave Hylands
f414288ec4 Bug 867769 - NS_MakeRandomString generates the same string when called twice within the same second. r=bsmedberg 2013-05-02 14:50:11 -07:00
Aryeh Gregor
91cb3e0c40 Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Andrew McCreight
ed1e8c70fc Bug 863085, part 2 - remove NS_CycleCollectorForget2 from some XPCOM glue. r=bsmedberg 2013-05-01 15:36:03 -07:00
Andrew McCreight
0bd058f730 Bug 863085, part 1 - Gut NS_CycleCollectorForget2 and rename CC::Suspect2. r=smaug 2013-05-01 15:35:13 -07:00
Jeff Walden
cf953731a7 Bug 866988 - Remove the HAVE_CPP_PARTIAL_SPECIALIZATION autoconf define, and the test for template specialization working at all. Any compiler not supporting either of these is so incredibly doomed it's not worth the pain of testing them. Plus we use both features liberally without testing these defines first, so they're basically pointless. r=ted 2013-04-13 19:04:38 -07:00
Stephen Kraemer
8b4660cd59 Bug 836078 - Replace all gcc __GNUC__ version checks with MOZ_GCC_VERSION_AT_LEAST macro. r=dvander 2013-05-01 15:45:05 -04:00
Honza Bambas
41a85cceb1 Bug 836869 - Make QueryPerformanceCounter bad leap detection heuristic smarter, r=tellrob, sr=benjamin 2013-05-01 18:57:58 +02:00
Honza Bambas
ed171afb17 Bug 865459 - Fix localization issue in how visual event tracer stores its timestamps, r=ehsan 2013-05-01 18:57:57 +02:00
Vladan Djeric
1475f18b2f Bug 867313: 'crash on hang' doesn't always trigger. r=ehsan 2013-04-30 18:39:16 -04:00
Geoff Brown
df6a7529fe Bug 865006 - Enable more xpcshell tests on Android; r=jmaher DONTBUILD 2013-04-30 12:38:18 -06:00
Andrew McCreight
4f9af81b67 Bug 798165 - Make nsTimeout more of a real cycle collected class. r=smaug 2013-04-30 10:41:23 -07:00
Andrew McCreight
b6d908bda9 Bug 864344 - Remove unused code for NS_Alloc failures in the cycle collector. r=smaug 2013-04-30 10:41:23 -07:00
Andrew McCreight
a018e7f02b Bug 716716 - Add templated way to iterate over purple buffer entries. r=smaug 2013-04-30 10:41:23 -07:00
Andrew McCreight
0bafa2c0cd Bug 866151 - Clean up usage of nsCycleCollector.h and nsCycleCollectorUtils.h. r=smaug,bsmedberg
--HG--
rename : xpcom/base/nsCycleCollector.h => xpcom/glue/nsCycleCollectionJSRuntime.h
2013-04-30 10:41:22 -07:00
Joey Armstrong
12356a4c50 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Bobby Holley
e22d7d9f6e Bug 865729 - Use XPConnect directly in C++ unit tests. r=gabor 2013-04-29 11:16:22 -07:00