summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbmc08gt <brandon.mcansh@gmail.com>2015-03-20 15:19:19 +0100
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-06-01 23:44:38 +0000
commit9f7629511676dcdcd42019188c612d406d34c9e5 (patch)
tree164c61054fd74a8e120ce924c39f153538665ced
parent404f4eb755ba497ca9735070043a1055134db92f (diff)
downloadandroid_frameworks_native-9f7629511676dcdcd42019188c612d406d34c9e5.tar.gz
android_frameworks_native-9f7629511676dcdcd42019188c612d406d34c9e5.tar.bz2
android_frameworks_native-9f7629511676dcdcd42019188c612d406d34c9e5.zip
Add dalvik heap override for xxxhdpi phone
Change-Id: Ib2649f55327775bbd4d94012952b4301536391ed Signed-off-by: bmc08gt <brandon.mcansh@gmail.com> (cherry picked from commit 5a1ca321d42a86fdc92c706da4bd2ca8e5cfb853)
-rw-r--r--build/phone-xxxhdpi-3072-dalvik-heap.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/build/phone-xxxhdpi-3072-dalvik-heap.mk b/build/phone-xxxhdpi-3072-dalvik-heap.mk
new file mode 100644
index 000000000..3bf65a783
--- /dev/null
+++ b/build/phone-xxxhdpi-3072-dalvik-heap.mk
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2015 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Provides overrides to configure the Dalvik heap for a 3G phone
+
+PRODUCT_PROPERTY_OVERRIDES += \
+ dalvik.vm.heapstartsize=8m \
+ dalvik.vm.heapgrowthlimit=256m \
+ dalvik.vm.heapsize=512m \
+ dalvik.vm.heaptargetutilization=0.75 \
+ dalvik.vm.heapminfree=2m \
+ dalvik.vm.heapmaxfree=8m