From dc8c5a3fa56937ee357798f9feefc0b0ab74a63c Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Wed, 23 Jan 2013 15:19:02 -0800 Subject: GC triggering performance optimizations Copy the correct starting heap size at process init. Interfaces to set GC/managed heap parameters. Change-Id: Ifbc6194310c61c05206f1d425ba5b4ebf8658141 --- build/phone-xhdpi-1024-dalvik-heap.mk | 2 +- build/phone-xhdpi-2048-dalvik-heap.mk | 2 +- build/tablet-10in-xhdpi-2048-dalvik-heap.mk | 2 +- build/tablet-7in-hdpi-1024-dalvik-heap.mk | 2 +- 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 -- cgit v1.1