Go to file
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
build dalvik: rework 3 and 4-GB dalvik heap configurations 2016-08-15 14:27:57 -07:00
cmds DO NOT MERGE: dumpstate: execute procrank using su 2016-07-20 04:16:16 -07:00
data/etc native: add ambient temperature & relative humidity sensor features 2015-11-04 12:28:21 -08:00
docs framework/native/docs: remove doc footer for jd output 2015-05-27 10:13:35 -07:00
include Android 6.0.1 Release 61 (MOB30Z) 2016-08-02 11:37:44 -07:00
libs system_server BINDER_TYPE_FD driver ashmem accessors 2016-07-15 13:04:30 -07:00
opengl surfaceflinger: Add support for Exynos BGRA mixer 2016-04-27 10:18:32 -07:00
services surfaceflinger: Access s3d flags only for valid display ID. 2016-08-13 01:31:13 -07:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00