OSDN Git Service

Move ArtField to ObjPtr
authorMathieu Chartier <mathieuc@google.com>
Fri, 30 Sep 2016 17:27:43 +0000 (10:27 -0700)
committerMathieu Chartier <mathieuc@google.com>
Mon, 3 Oct 2016 21:06:27 +0000 (14:06 -0700)
commit3398c7874e002beaa6c2b2fadf183e7d1ddad23a
tree7db754b5b0c3a6c68bc1f91d7cb2477f534d2ad3
parent462e21cc8d28a4d48342cf0f634bd1ecc63647d7
Move ArtField to ObjPtr

Added EXPECT_OBJ_PTR_EQ and variants to gtests.

Fixed moving GC bugs in:
ClassLinker::CreatePathClassLoader
ClassLinkerTest: StaticFields

ObjPtr Decode call sites: 186 -> 181.

Some tests fail due to ResolvedFieldAccessTest, will fix in follow
up CL.

Bug: 31113334

Test: test-art-host CC baker

Change-Id: I8b266ad00f3c20c8cbe7cfdf280d175083df0b88
50 files changed:
compiler/driver/compiler_driver-inl.h
compiler/image_writer.cc
compiler/optimizing/reference_type_propagation.cc
compiler/optimizing/reference_type_propagation.h
oatdump/oatdump.cc
patchoat/patchoat.cc
runtime/arch/stub_test.cc
runtime/art_field-inl.h
runtime/art_field.cc
runtime/art_field.h
runtime/check_jni.cc
runtime/class_linker-inl.h
runtime/class_linker.cc
runtime/class_linker_test.cc
runtime/common_runtime_test.cc
runtime/common_runtime_test.h
runtime/debugger.cc
runtime/debugger.h
runtime/dex_file_annotations.cc
runtime/entrypoints/entrypoint_utils-inl.h
runtime/entrypoints/quick/quick_field_entrypoints.cc
runtime/gc_root-inl.h
runtime/gc_root.h
runtime/handle_scope-inl.h
runtime/handle_scope.h
runtime/interpreter/interpreter_common.cc
runtime/interpreter/unstarted_runtime.cc
runtime/jdwp/object_registry.cc
runtime/jdwp/object_registry.h
runtime/jni_internal.cc
runtime/mirror/class-inl.h
runtime/mirror/class.cc
runtime/mirror/class.h
runtime/mirror/field-inl.h
runtime/mirror/field.h
runtime/mirror/object.cc
runtime/mirror/object_test.cc
runtime/oat_file_manager.cc
runtime/obj_ptr.h
runtime/openjdkjvmti/transform.cc
runtime/proxy_test.cc
runtime/quick/inline_method_analyser.cc
runtime/reflection.cc
runtime/thread-inl.h
runtime/thread.cc
runtime/verifier/method_verifier.cc
runtime/verifier/reg_type-inl.h
runtime/verifier/reg_type.h
runtime/verifier/verifier_deps.cc
runtime/verifier/verifier_deps.h