DescriptionDon'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
Committed: https://crrev.com/7611aace3e7bf6a3a25deb899ff2dc3bab1a8e66
Cr-Commit-Position: refs/heads/master@{#26954}
Patch Set 1 #Patch Set 2 : Fix comment #Messages
Total messages: 8 (2 generated)
|