OSDN Git Service

Delete ClassHelper and fix compaction bug in GetDirectInterface
authorMathieu Chartier <mathieuc@google.com>
Fri, 16 May 2014 17:59:25 +0000 (10:59 -0700)
committerMathieu Chartier <mathieuc@google.com>
Sun, 18 May 2014 19:50:33 +0000 (12:50 -0700)
commitf832284dd847ff077577bb5712225430bbbb3b67
tree44f6b91098639c6ebc438b4ec998d0dc128cef9a
parent8f0776768712b2021aa8fb649b51017b9f0fc7a9
Delete ClassHelper and fix compaction bug in GetDirectInterface

Cleanup helps to prevent compaction bugs. Fixed a fairly serious
compaction error caused by calling ClassHelper::GetDirectInterface
without handling the case where it causes thread suspension due to
ResolveType.

Bug: 8981901

Change-Id: I82b3bb6dd48d21eb6ece7aae0733c4a23c2bc408
29 files changed:
compiler/driver/compiler_driver.cc
compiler/image_writer.cc
oatdump/oatdump.cc
runtime/class_linker-inl.h
runtime/class_linker.cc
runtime/class_linker_test.cc
runtime/common_throws.cc
runtime/debugger.cc
runtime/gc/heap.cc
runtime/interpreter/interpreter.cc
runtime/interpreter/interpreter_common.cc
runtime/interpreter/interpreter_common.h
runtime/interpreter/interpreter_goto_table_impl.cc
runtime/interpreter/interpreter_switch_impl.cc
runtime/jni_internal.cc
runtime/mirror/class-inl.h
runtime/mirror/class.cc
runtime/mirror/class.h
runtime/mirror/object_test.cc
runtime/native/dalvik_system_VMRuntime.cc
runtime/native/java_lang_Class.cc
runtime/native/java_lang_reflect_Array.cc
runtime/object_utils.h
runtime/proxy_test.cc
runtime/reflection.cc
runtime/utils.cc
runtime/verifier/method_verifier.cc
runtime/verifier/reg_type.cc
runtime/verifier/reg_type_cache.cc