commit | 0d4909e45fb5f3c4d8ce568890fc9cedad44202c | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Tue Feb 02 20:27:08 2016 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Tue Feb 02 20:38:58 2016 +0000 |
tree | e97f580b40ff56d0f8dcc32db2f9589027b8a7f4 | |
parent | a89d6d630b6fdb591d3dce536f8bca35deae307e [diff] |
ART: Fix rounding up in DexCacheArraysLayout constructor. This changes the way we round up to be conceptually correct but does not really affect the results thanks to current layout that interleaves GcRoot<> and pointer arrays. If two odd-length GcRoot<> arrays were followed by a pointer array, the pointer array would have been previously unaligned on a 64-bit target. Change-Id: I6b1cd2ed789f4f91206982caf3c765253fb65824