Commit 75e4b2af authored by Mathieu Chartier's avatar Mathieu Chartier
Browse files

Use HeapGrowthMultiplier for native allocaitons

Reduces the amount of native allocation GCs for foreground apps.
For camera: The number of native allocations GCs goes from 4 to 2,
improving launch time by 25ms (average of 25 runs on pixel).

The multiplier is 1 for low ram devices, so this should not increase
RAM on devices where it matters.

Test: test-art-host

(cherry picked from commit 30baf4a6)

Change-Id: Ifba47cfebab58d9a60a49446929c3475cef9ff14
parent 7dd1e683
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment