зеркало из https://github.com/mozilla/gecko-dev.git
7fdec3adb1
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. |
||
---|---|---|
.. | ||
test | ||
CreateAppData.cpp | ||
EventTracer.cpp | ||
EventTracer.h | ||
MacApplicationDelegate.h | ||
MacApplicationDelegate.mm | ||
MacAutoreleasePool.h | ||
MacAutoreleasePool.mm | ||
MacLaunchHelper.h | ||
MacLaunchHelper.mm | ||
MacQuirks.h | ||
Makefile.in | ||
MozMeegoAppService.h | ||
ProfileReset.cpp | ||
ProfileReset.h | ||
UIKitDirProvider.h | ||
UIKitDirProvider.mm | ||
WindowsCrtPatch.h | ||
glxtest.cpp | ||
make-platformini.py | ||
moz.build | ||
nsAndroidStartup.cpp | ||
nsAppRunner.cpp | ||
nsAppRunner.h | ||
nsCommandLineServiceMac.cpp | ||
nsCommandLineServiceMac.h | ||
nsConsoleWriter.cpp | ||
nsEmbedFunctions.cpp | ||
nsGDKErrorHandler.cpp | ||
nsGDKErrorHandler.h | ||
nsINativeAppSupport.idl | ||
nsIWinAppHelper.idl | ||
nsNativeAppSupportBase.cpp | ||
nsNativeAppSupportBase.h | ||
nsNativeAppSupportCocoa.mm | ||
nsNativeAppSupportDefault.cpp | ||
nsNativeAppSupportQt.cpp | ||
nsNativeAppSupportQt.h | ||
nsNativeAppSupportUnix.cpp | ||
nsNativeAppSupportWin.cpp | ||
nsNativeAppSupportWin.h | ||
nsQAppInstance.cpp | ||
nsQAppInstance.h | ||
nsSigHandlers.cpp | ||
nsSigHandlers.h | ||
nsUpdateDriver.cpp | ||
nsUpdateDriver.h | ||
nsWindowsRestart.cpp | ||
nsWindowsWMain.cpp | ||
nsX11ErrorHandler.cpp | ||
nsX11ErrorHandler.h | ||
nsXREDirProvider.cpp | ||
nsXREDirProvider.h |