summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2019-01-14 10:13:40 -0800
committerAlex Light <allight@google.com>2019-01-14 13:35:06 -0800
commitde7718db5a54cd0f67c650f12d0b757c9a9079f8 (patch)
tree1f87951f90164f85a7513307e2406a46472f4aa1 /test/ProfileTestMultiDex
parent885f0c14dc5c7770b894cac5742e3519b7d9de5b (diff)
Make VariableHandleScope consistent between 32 & 64 bit
The number of handles kept in a single bucket by VariableSizedHandleScope varied between 32bit and 64bit hosts. On 32 bit hosts the bucket size was 13 elements and on 64bit it was 12 elements. This could affect the order objects are visited during heap walks since they are visited in reverse-bucket order (last bucket first, then next to last, etc). This could cause the output of dex2oat to change depending on what type of executable dex2oat is, breaking consistency requirements. In order to fix this issue we lock the bucket size at 12 elements. Test: ./test.py --host -j72 Bug: 122373634 Change-Id: I689392d0eb68ff8b8ebc85d155014b5bd3bb3a6b
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions