Allow non word aligned heap limit for space bitmap
For the mem map large object space, the bitmap covers the entire
range of memory. This is done by passing in max int as the space
capacity. Previously, the space bitmap heap limit was computed by
multiplying the number of words by the word stride. In 32 bit systems
this caused heap limit to be (1 << 32) == 0 for the mem map large
object space.
This CL allows storing max int as the heap limit and returning that
from the function.
Added regression test to large object test.
Test: verify lyft installs and launches with the profile that was causing problems
Test: test-art-host
Bug: 64413646
(cherry picked from commit 76bb14a18283859b3b6e44c2b71ac441d8c252cf)
Change-Id: I34cabe80420e5bbb880adaea5e1737ca8efd8886
3 files changed