OSDN Git Service

Add read barriers for the roots in the verifier.
authorHiroshi Yamauchi <yamauchi@google.com>
Wed, 30 Jul 2014 21:26:22 +0000 (14:26 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Thu, 31 Jul 2014 17:45:47 +0000 (10:45 -0700)
commit7da9586b559290e1c16207c6513ffe485de61655
tree4fb44066c831224dad49430f69aa4edf29aad3da
parent1175aec5f686b9e3d429282d7d4022c39436f71f
Add read barriers for the roots in the verifier.

Note: Because the roots (the class references in RegType objects) can
be updated by the read barriers, a lot of uses of type "const RegType"
were replaced with "RegType".

Bug: 12687968
Change-Id: I6cf37a87f352938d43fb51560a8d927ada104f50
13 files changed:
compiler/dex/verified_method.cc
runtime/verifier/method_verifier-inl.h
runtime/verifier/method_verifier.cc
runtime/verifier/method_verifier.h
runtime/verifier/reg_type.cc
runtime/verifier/reg_type.h
runtime/verifier/reg_type_cache-inl.h
runtime/verifier/reg_type_cache.cc
runtime/verifier/reg_type_cache.h
runtime/verifier/reg_type_test.cc
runtime/verifier/register_line-inl.h
runtime/verifier/register_line.cc
runtime/verifier/register_line.h