Bug 630595 - Backing out the jemalloc file backend r=me a=b
authorDoug Turner <dougt@dougt.org>
Wed, 02 Feb 2011 12:48:39 -0800
changeset 61801 e2290c8b6d36b760ece62c2ff731585c8893f928
parent 61800 8590bb1f1104d08fa573d9b3f2fea3d71eb27f69
child 61803 e9c5611100b73b555d1173d1c36d10a60f09639d
push id1
push userroot
push dateTue, 10 Dec 2013 15:46:25 +0000
reviewersme, b
bugs630595
milestone2.0b12pre
Bug 630595 - Backing out the jemalloc file backend r=me a=b
embedding/android/GeckoAppShell.java
--- a/embedding/android/GeckoAppShell.java
+++ b/embedding/android/GeckoAppShell.java
@@ -129,20 +129,16 @@ class GeckoAppShell
         String env = i.getStringExtra("env0");
         Log.i("GeckoApp", "env0: "+ env);
         for (int c = 1; env != null; c++) {
             GeckoAppShell.putenv(env);
             env = i.getStringExtra("env" + c);
             Log.i("GeckoApp", "env"+ c +": "+ env);
         }
 
-        // On some device, we do not want to ever over-allocate.
-        if (android.os.Build.MODEL.equals("Nexus S") == true)
-            GeckoAppShell.putenv("MALLOC_OPTIONS=o");
-
         File f = new File("/data/data/" + 
                           GeckoApp.mAppContext.getPackageName() + "/tmp");
         if (!f.exists())
             f.mkdirs();
 
         GeckoAppShell.putenv("TMPDIR=" + f.getPath());
 
         f = Environment.getDownloadCacheDirectory();