OSDN Git Service

Set vtable in class object to null after linking.
authorMingyao Yang <mingyao@google.com>
Wed, 16 Jul 2014 17:44:41 +0000 (10:44 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 29 Jul 2014 21:43:15 +0000 (14:43 -0700)
commite19f2b00eebd61e73761ab531866654f08968711
tree3a8dc6d5df9e4179e1ebfde0d23e844ce6832cc0
parent4c6427a757cae2b1c79aafca71be780e54620e68
Set vtable in class object to null after linking.

This is follow-up work of embedding imt and vtable for
faster interface/virtual call dispatching.
Once vtable becomes embedded, the original vtable is nulled.

(cherry picked from commit 2cdbad7c62f126581ec5177104de961c4d71adaa)

Change-Id: I6acdcd1ee560d387fb77c55c58bbe3598c197ba1
compiler/driver/compiler_driver-inl.h
runtime/class_linker.cc
runtime/class_linker_test.cc
runtime/entrypoints/entrypoint_utils-inl.h
runtime/interpreter/interpreter_common.h
runtime/mirror/art_method.cc
runtime/mirror/class-inl.h
runtime/mirror/class.cc
runtime/mirror/class.h
runtime/verifier/method_verifier.cc
test/100-reflect2/expected.txt