diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-06-19 13:55:27 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-06-19 15:19:56 -0700 |
commit | f8da196097d1b33121a73abcaf443d173ceab8eb (patch) | |
tree | 8823d13a8db63e65e06a4b35b61295efcff75f47 /compiler/optimizing/graph_visualizer.cc | |
parent | d5ff8c584b230da350f4ebfffec1d245c09bf26b (diff) |
Fix GC map generation edge case
Previously we checked the number of bits, but then rounded up to a
byte boundary. If ref_bitmap_bits was 65535, it would pass the check
but not actually fit in the 13 bits for ref_bitmap_bytes since we
rounded up to 8192 bytes.
(cherry picked from commit 1626b919005df42ccc90ebe68fc57b7c56d44029)
Regression test infeasible due to smali limitations.
Bug: 21888453
Change-Id: If4b769431f27ecca14fe7852d017bcde01b3e146
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions