OSDN Git Service

Fix ArtMethod::GetInvokeType for static methods on interfaces.
authorNicolas Geoffray <ngeoffray@google.com>
Thu, 2 Jun 2016 14:55:48 +0000 (15:55 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 6 Jun 2016 10:29:47 +0000 (11:29 +0100)
commit808067335b228d7b50ad84123d3c8ecb7aeeb200
tree8642091a7775c18ac03a079f1befea3261805346
parent4b53f5795a289b40aa81b9c42ede5c896ea0e4ef
Fix ArtMethod::GetInvokeType for static methods on interfaces.

And avoid calling ResolveMethod in the JIT, since it already
knows that method.

bug:29089267
bug:27521545

(cherry picked from commit 2dc77ecf375882f51ff7c09712c05b80e58abb6b)

Change-Id: I36084b1f207317452c42fdfc8ffa4d8c721d2f76
compiler/optimizing/optimizing_compiler.cc
runtime/art_method.cc
test/604-hot-static-interface/build [new file with mode: 0755]
test/604-hot-static-interface/expected.txt [new file with mode: 0644]
test/604-hot-static-interface/hot_static_interface.cc [new file with mode: 0644]
test/604-hot-static-interface/info.txt [new file with mode: 0644]
test/604-hot-static-interface/src/Main.java [new file with mode: 0644]
test/Android.libarttest.mk