OSDN Git Service

Inline and optimize interface calls.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 6 Jul 2016 09:19:23 +0000 (10:19 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 6 Jul 2016 12:30:13 +0000 (13:30 +0100)
commitd9faceaa8da92f4a56c2907de949081bd42faf79
tree2efc00cfe8d5211e420174db81e732f8e92cbb33
parent74c0d1bb67f9c6ee8306f0318ab7251d56dc99d6
Inline and optimize interface calls.

- Support for inlining methods with invoke-interface (the
  previous performance limitation is now fixed with the new
  ImtConflictTable).
- Turn non inlineable invoke-interface into invoke-virtual to
  avoid any potential execution of the conflict trampoline.

test:609-checker-inline-interface

Change-Id: Ibe33bc945deaada8fb78541e6e0bf034ebb52420
compiler/optimizing/inliner.cc
runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
test/478-checker-clinit-check-pruning/src/Main.java
test/548-checker-inlining-and-dce/src/Main.java
test/609-checker-inline-interface/expected.txt [new file with mode: 0644]
test/609-checker-inline-interface/info.txt [new file with mode: 0644]
test/609-checker-inline-interface/src/Main.java [new file with mode: 0644]