summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2017-08-07 20:01:46 -0700
committerMathieu Chartier <mathieuc@google.com>2017-08-09 18:38:10 -0700
commit2a1513bdb0a3ecac628cd5620420d66c28413f1e (patch)
tree8ff5c6658affcaecd9e4628ed4da55d9a4c2341d /compiler/optimizing/graph_visualizer.cc
parentac50d97b1bf63ff2e0d813774f52499b2da78f6b (diff)
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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions