gecko-dev/toolkit/xre
Mike Hommey 7fdec3adb1 Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt
Using g_slice_set_config() fails with newer glib because the slice allocator
now has a static constructor that runs when glib is loaded, consequently
emitting a noisy error message which confuses people into believing it's the
root of their problems.

The only way left to force the slice allocator to use "system" malloc (in
practice, jemalloc) is to set the G_SLICE environment variable to
always-malloc, and that needs to happen before glib is loaded.

Fortunately, the firefox and plugin-container executables don't depend on
glib. Unfortunately, webapprt does, so the problem remains for web apps
running through it. xpcshell and other executables that depend on libxul
directly (as opposed to loading it dynamically) are not covered either.
2015-07-10 09:56:05 +09:00
..
test
CreateAppData.cpp
EventTracer.cpp Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
EventTracer.h
MacApplicationDelegate.h
MacApplicationDelegate.mm
MacAutoreleasePool.h
MacAutoreleasePool.mm
MacLaunchHelper.h
MacLaunchHelper.mm
MacQuirks.h
Makefile.in Backed out changeset 6bbe2e6958a9 (bug 1127801) for intermittent (?!?!) Mulet mochitest bustage. 2015-04-07 13:47:54 -04:00
MozMeegoAppService.h
ProfileReset.cpp Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo. 2015-02-09 14:34:50 -08:00
ProfileReset.h Bug 1156034 - Add some missing error handling to ProfileResetCleanupAsyncTask; r=bsmedberg 2015-04-20 13:10:32 -04:00
UIKitDirProvider.h bug 1174704 - Implement GetUserDataDirectoryHome for iOS. r=froydnj 2015-03-18 22:23:28 -04:00
UIKitDirProvider.mm bug 1174704 - Implement GetUserDataDirectoryHome for iOS. r=froydnj 2015-03-18 22:23:28 -04:00
WindowsCrtPatch.h Bug 1138070 - Don't use GetModuleHandleA on RtlImageNtHeader. r=dmajor 2015-03-04 11:09:04 +13:00
glxtest.cpp Bug 1124862 Fix glxtest.cpp fail-on-warning errors for ignored return values. r=bjacob 2015-01-25 16:50:13 -05:00
make-platformini.py
moz.build bug 1174704 - Implement GetUserDataDirectoryHome for iOS. r=froydnj 2015-03-18 22:23:28 -04:00
nsAndroidStartup.cpp Bug 1152308 - Remove obsolete methods for exiting; r=snorp 2015-04-17 12:22:47 -04:00
nsAppRunner.cpp Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt 2015-07-10 09:56:05 +09:00
nsAppRunner.h Backout b8601df335c1 (Bug 1174857) for bustage on a CLOSED TREE 2015-06-17 11:44:48 -04:00
nsCommandLineServiceMac.cpp
nsCommandLineServiceMac.h
nsConsoleWriter.cpp Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd 2015-05-01 09:40:30 +09:00
nsEmbedFunctions.cpp Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt 2015-07-10 09:56:05 +09:00
nsGDKErrorHandler.cpp
nsGDKErrorHandler.h
nsINativeAppSupport.idl
nsIWinAppHelper.idl
nsNativeAppSupportBase.cpp
nsNativeAppSupportBase.h
nsNativeAppSupportCocoa.mm
nsNativeAppSupportDefault.cpp
nsNativeAppSupportQt.cpp
nsNativeAppSupportQt.h
nsNativeAppSupportUnix.cpp Bug 1138295 - Don't define unused types and static variable when building with Gtk+3. r=karlt 2015-03-04 14:39:37 +09:00
nsNativeAppSupportWin.cpp Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
nsNativeAppSupportWin.h
nsQAppInstance.cpp
nsQAppInstance.h
nsSigHandlers.cpp Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
nsSigHandlers.h
nsUpdateDriver.cpp Bug 1168720 - Remove use of test env var MOZ_NO_REPLACE_FALLBACK and associated tests that are covered by other tests. r=spohl 2015-06-04 09:20:00 -07:00
nsUpdateDriver.h Bug 1152997 - Cleanup app update build to exclude android. r=glandium, r=mossop 2015-04-14 17:00:02 -07:00
nsWindowsRestart.cpp
nsWindowsWMain.cpp Bug 1160148: Also block AVX2 in Win7RTM, and move the code to mozglue. r=froydnj 2015-05-11 16:12:45 -04:00
nsX11ErrorHandler.cpp
nsX11ErrorHandler.h
nsXREDirProvider.cpp bug 1174704 - Implement GetUserDataDirectoryHome for iOS. r=froydnj 2015-03-18 22:23:28 -04:00
nsXREDirProvider.h Bug 1144127 - Remove support for distribution/bundles except in B2G, r=Mossop 2015-05-05 15:15:27 -04:00