commit | 72d72ef51aef106d6f0300a72b583bcc5cd90a13 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Wed Jan 28 13:11:44 2015 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Wed Jan 28 15:08:44 2015 -0800 |
tree | a63fa10919fc156c5e76d633c39769b316426fd2 | |
parent | 24c846a0df02d4cc2ef8a9c476305dca96be40db [diff] |
Force set resolved method for static invokes For static invokes, we may dispatch to the static method in the superclass but resolve using the subclass. To prevent getting slow paths on each invoke, we force set the resolved method for the super class dex method index if we are in the same dex file. Added test. Bug: 19175856 (cherry picked from commit e4a91bbeaa118bc01a5c338c6a6d9ee094a6a2c6) Change-Id: I26f8644a7f725f5c2dc2a94a8e9578f573792507