summaryrefslogtreecommitdiffstats
path: root/build/phone-xhdpi-1024-dalvik-heap.mk
diff options
context:
space:
mode:
authorDiogo Ferreira <defer@cyngn.com>2014-11-09 16:16:41 +0000
committerEthan Chen <intervigil@gmail.com>2015-10-12 23:36:09 -0700
commit373899a2a69964edc7742bd7c1dcc7ed5a842250 (patch)
tree9c7cb0bd91d1342a48db1c53a037a1d5e2aa1f21 /build/phone-xhdpi-1024-dalvik-heap.mk
parent0e58546c2ac32b84fe9daaf108cf245af00f8a81 (diff)
downloadframeworks_native-373899a2a69964edc7742bd7c1dcc7ed5a842250.zip
frameworks_native-373899a2a69964edc7742bd7c1dcc7ed5a842250.tar.gz
frameworks_native-373899a2a69964edc7742bd7c1dcc7ed5a842250.tar.bz2
native: Restore VM memory overrides
This change adds back the property overrides for several device types as we had in CM 11. It contains a squished commit of the following: commit 5b9240927f8af0b26c406835df33b2d999496434 Author: Steve Kondik <shade@chemlab.org> Date: Thu Nov 6 14:40:44 2014 -0800 Add hdpi-2048 tunings commit ed579d8be17fb52ef92a1dc9c83843879f396fa1 Author: Steve Kondik <shade@chemlab.org> Date: Sat Jan 4 12:12:00 2014 -0800 Update HWUI config for xxhdpi/2GB devices commit 386f220e174f9ed5aad487867223033fd5d986c6 Author: Steve Kondik <shade@chemlab.org> Date: Tue Aug 6 02:53:19 2013 -0700 hwui: Update configuration for 2GB/1080p devices commit b7392d113d8ae6c3c07990bbb3f2621bef490d11 Author: Steve Kondik <shade@chemlab.org> Date: Sat Jun 1 14:51:17 2013 +0200 provide overrides for hwui memory limits for xxhdpi phones commit 247b3c635b1d6776ffedf3cd61a936546c2f6603 Author: Steve Kondik <shade@chemlab.org> Date: Fri May 17 13:10:19 2013 -0700 Add heap configuration for 1080p phones with 2048m * Increase heap start size to 16m to minimize GC with larger bitmaps commit 9856e93970fd6def1349e564f17d42f505904eba Author: Andrew Bartholomew <andrewb03@gmail.com> Date: Thu Apr 25 13:48:21 2013 -0400 build/phone-xhdpi-1024-dalvik-heap.mk Revert AOSP heapgrowthlimit change from 64 to 96 This reverts part of AOSP change at https://android.googlesource.com/platform/frameworks/native/+/c84e9844d621223d14178be521 Possible performance issues have arisen because of it. Discussion at http://code.google.com/p/android/issues/detail?id=40961 Patch Set 2: Clean up commit message commit bd7fb4be323f6f868a886b22e93cf203944af9a6 Author: Bhargav Upperla <bhargavuln@codeaurora.org> Date: Thu May 23 12:50:15 2013 -0700 Configure dalvik heap parameters for low memory devices Reduces after boot memory footprint by about 5-8MB Note: This is for low memory based devices only (~512MB RAM or less) Change-Id: Id7e1967d18227359ad9631139bfd47e61e494829
Diffstat (limited to 'build/phone-xhdpi-1024-dalvik-heap.mk')
-rw-r--r--build/phone-xhdpi-1024-dalvik-heap.mk2
1 files changed, 1 insertions, 1 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