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)
committerMingyao Yang <mingyao@google.com>
Tue, 22 Jul 2014 22:03:50 +0000 (15:03 -0700)
commit2cdbad7c62f126581ec5177104de961c4d71adaa
tree6283b87bc9b65249decac9b0e38fe396782b8d7e
parentc62944adcd427dca55489d234428da47c43a0aab
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.

Change-Id: I307696657d1e283654169dbecb8f7815c42bbabc
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