Reland^2 "Implement fast method lookup from method..."

Revert submission 34209443-424368986_revert

Reason for revert: Bug fixed. We were missing to reset index
to be equal to size. This is important when the method
array has methods with the same dex method index.

Bug: 424368986
Bug: 426827046
Bug: 426825988

Test: m test-art-host-gtest-art_runtime_tests64

Reverted changes: /q/submissionid:34209443-424368986_revert

Change-Id: I09bf34f8220d8035028a77aa5561010c645085f0
5 files changed