Don't apply pointer multipler to heap sizes on Android.
authorrmcilroy <rmcilroy@chromium.org>
Tue, 3 Mar 2015 10:18:57 +0000 (02:18 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 3 Mar 2015 10:19:03 +0000 (10:19 +0000)
commit7611aace3e7bf6a3a25deb899ff2dc3bab1a8e66
tree9e0cdf9a6fe27cf2095e1eafa3dcc6c5c449c421
parentcbda41c88aa0813be7a4ecc0aeb1559000680c2b
Don't apply pointer multipler to heap sizes on Android.

Android doesn't have swap space so if the heap goes over the physical memory
size the system will just kill us. Applying the Heap::kPointerMultipler
to heap size could cause the max heap size to be larger than physical memory.
Instead use the defaults which are based on actual physical memory configured
by Api::ConfigureDefaults().

BUG=432909
LOG=N

Review URL: https://codereview.chromium.org/960213007

Cr-Commit-Position: refs/heads/master@{#26954}
src/heap/heap.h