replicant-frameworks_native/build
Alex Naidis 94774ac01d dalvik: rework 3 and 4-GB dalvik heap configurations
The previous configuration sets target utilization as .25, which is geared towards
low memory devices. This path increases it to .75 and makes us pass the check:
(heaptargetutilization / 2) * heapsize = heapgrowthlimit

Example:
heapgrowthlimit: 256m
heapsize: 512m
heaptargetutilization: 0.75
0.75/2 * 512 = 192

To pass the check this has to be true:

192 = 256 (WRONG)

Check not passed.

This new configuration is optimized for higher RAM devices and passes the check:

heapgrowthlimit: 384m
heapsize: 1024m
heaptargetutilization: 0.75

0.75/2 * 1024 = 384

384 = 384 (TRUE)

Check passed.

Change-Id: I6839339382229da80546761c3746a032081ff2cd
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-08-15 14:27:57 -07:00
..
phone-hdpi-512-dalvik-heap.mk Configure GC free to be 8MB for devices with >512MB RAM. 2012-09-23 16:41:57 -07:00
phone-hdpi-2048-dalvik-heap.mk native: Restore VM memory overrides 2015-10-12 23:36:09 -07:00
phone-hdpi-dalvik-heap.mk Configure GC free to be 8MB for devices with >512MB RAM. 2012-09-23 16:41:57 -07:00
phone-xhdpi-1024-dalvik-heap.mk native: Restore VM memory overrides 2015-10-12 23:36:09 -07:00
phone-xhdpi-2048-dalvik-heap.mk Fix issue #7271589: Cannot set Ocean HD live wallpaper 2012-10-03 11:27:19 -07:00
phone-xxhdpi-2048-dalvik-heap.mk native: Restore VM memory overrides 2015-10-12 23:36:09 -07:00
phone-xxhdpi-2048-hwui-memory.mk native: Restore VM memory overrides 2015-10-12 23:36:09 -07:00
phone-xxhdpi-3072-dalvik-heap.mk dalvik: rework 3 and 4-GB dalvik heap configurations 2016-08-15 14:27:57 -07:00
phone-xxhdpi-3072-hwui-memory.mk Add dalvik heap/hwui overrides for xxhdpi phone with 3072MB RAM 2016-05-24 13:20:34 -07:00
phone-xxxhdpi-3072-dalvik-heap.mk dalvik: rework 3 and 4-GB dalvik heap configurations 2016-08-15 14:27:57 -07:00
phone-xxxhdpi-3072-hwui-memory.mk Add HWUI overrides for xxxhdpi phone 2015-10-12 23:36:08 -07:00
phone-xxxhdpi-4096-dalvik-heap.mk dalvik: rework 3 and 4-GB dalvik heap configurations 2016-08-15 14:27:57 -07:00
phone-xxxhdpi-4096-hwui-memory.mk Add dalvik heap/hwui overrides for xxxhdpi phone with 4096MB RAM 2016-05-31 11:09:56 -07:00
tablet-7in-hdpi-1024-dalvik-heap.mk Increase growth limit from 64m to 80m for 1024mb hdpi tablet 2014-12-11 13:40:37 -08:00
tablet-7in-xhdpi-2048-dalvik-heap.mk Add Dalvik heap definition for 7" xhdpi devices. 2013-05-06 15:06:20 -07:00
tablet-10in-xhdpi-2048-dalvik-heap.mk Fix issue #7271589: Cannot set Ocean HD live wallpaper 2012-10-03 11:27:19 -07:00
tablet-dalvik-heap.mk Configure GC free to be 8MB for devices with >512MB RAM. 2012-09-23 16:41:57 -07:00