Bug 1156628 - Don't limit the number of unused dirty pages kept by jemalloc on B2G desktop. r=gsvelto, r=glandium

This commit is contained in:
Paul Rouget 2015-04-24 03:58:00 -04:00
parent d28e5c5cd7
commit 197b5a1ba4
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
#include "mozilla/Types.h"
/* Override some jemalloc defaults */
#ifdef MOZ_B2G
#ifdef MOZ_WIDGET_GONK
/* we tolerate around 4MiB of dirty pages on most platforms, except for B2G,
* where our limit is 1MiB
*/

View File

@ -151,7 +151,7 @@
* the options passed via the MALLOC_OPTIONS environment variable but is
* applied in addition to them.
*/
#ifdef MOZ_B2G
#ifdef MOZ_WIDGET_GONK
/* Reduce the amount of unused dirty pages to 1MiB on B2G */
# define MOZ_MALLOC_OPTIONS "ff"
#else