summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei Wang <wangw@codeaurora.org>2013-01-23 15:19:02 -0800
committerSteve Kondik <shade@chemlab.org>2013-02-22 09:53:02 -0800
commitdc8c5a3fa56937ee357798f9feefc0b0ab74a63c (patch)
treeb3513c6f345be14ab835bff6b0d143eef7d25e4b
parent4cd7227b78773fbd201bee4627b55f4008e961e7 (diff)
downloadframeworks_native-dc8c5a3fa56937ee357798f9feefc0b0ab74a63c.zip
frameworks_native-dc8c5a3fa56937ee357798f9feefc0b0ab74a63c.tar.gz
frameworks_native-dc8c5a3fa56937ee357798f9feefc0b0ab74a63c.tar.bz2
GC triggering performance optimizations
Copy the correct starting heap size at process init. Interfaces to set GC/managed heap parameters. Change-Id: Ifbc6194310c61c05206f1d425ba5b4ebf8658141
-rw-r--r--build/phone-xhdpi-1024-dalvik-heap.mk2
-rw-r--r--build/phone-xhdpi-2048-dalvik-heap.mk2
-rw-r--r--build/tablet-10in-xhdpi-2048-dalvik-heap.mk2
-rw-r--r--build/tablet-7in-hdpi-1024-dalvik-heap.mk2
4 files changed, 4 insertions, 4 deletions
diff --git a/build/phone-xhdpi-1024-dalvik-heap.mk b/build/phone-xhdpi-1024-dalvik-heap.mk
index 221227d..20f365f 100644
--- a/build/phone-xhdpi-1024-dalvik-heap.mk
+++ b/build/phone-xhdpi-1024-dalvik-heap.mk
@@ -21,5 +21,5 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapgrowthlimit=96m \
dalvik.vm.heapsize=256m \
dalvik.vm.heaptargetutilization=0.75 \
- dalvik.vm.heapminfree=512k \
+ dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m
diff --git a/build/phone-xhdpi-2048-dalvik-heap.mk b/build/phone-xhdpi-2048-dalvik-heap.mk
index 042a6e6..324e883 100644
--- a/build/phone-xhdpi-2048-dalvik-heap.mk
+++ b/build/phone-xhdpi-2048-dalvik-heap.mk
@@ -22,5 +22,5 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapgrowthlimit=192m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
- dalvik.vm.heapminfree=512k \
+ dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m
diff --git a/build/tablet-10in-xhdpi-2048-dalvik-heap.mk b/build/tablet-10in-xhdpi-2048-dalvik-heap.mk
index 1721fcc..f154450 100644
--- a/build/tablet-10in-xhdpi-2048-dalvik-heap.mk
+++ b/build/tablet-10in-xhdpi-2048-dalvik-heap.mk
@@ -21,5 +21,5 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapgrowthlimit=192m \
dalvik.vm.heapsize=512m \
dalvik.vm.heaptargetutilization=0.75 \
- dalvik.vm.heapminfree=512k \
+ dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m
diff --git a/build/tablet-7in-hdpi-1024-dalvik-heap.mk b/build/tablet-7in-hdpi-1024-dalvik-heap.mk
index 5bbd2b0..5c8ce3e 100644
--- a/build/tablet-7in-hdpi-1024-dalvik-heap.mk
+++ b/build/tablet-7in-hdpi-1024-dalvik-heap.mk
@@ -21,5 +21,5 @@ PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapgrowthlimit=64m \
dalvik.vm.heapsize=384m \
dalvik.vm.heaptargetutilization=0.75 \
- dalvik.vm.heapminfree=512k \
+ dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m