OSDN Git Service

Revert^2 "Hash-based dex cache type array."
authorVladimir Marko <vmarko@google.com>
Thu, 2 Feb 2017 16:42:38 +0000 (16:42 +0000)
committerVladimir Marko <vmarko@google.com>
Fri, 10 Feb 2017 11:23:11 +0000 (11:23 +0000)
commit85c0f2ac03417f5125bc2ff1dab8109859c67d5c
tree844952d237e35faa5c5a2357ab037366c8397115
parent8d4b1189639f0d8982bde681ccbdd7c03fe6ddbf
Revert^2 "Hash-based dex cache type array."

The reason for the revert was fixed by
    https://android-review.googlesource.com/332666 .
We now enable clearing dex cache types in test 155 from that
CL. Also avoid an unnecessary store in LookupResolvedTypes()
and prevent verifier from messing up the dex cache types.

Test: m test-art-host
Bug: 34839984
Bug: 30627598
Bug: 34659969

This reverts commit d16363a93053de0f32252c7897d839a46aff14ae.

Change-Id: Ie8603cfa772e78e648d005b0b6eae59062ae729d
46 files changed:
compiler/compiler.h
compiler/dex/dex_to_dex_compiler.cc
compiler/dex/dex_to_dex_compiler.h
compiler/driver/compiler_driver-inl.h
compiler/driver/compiler_driver.cc
compiler/driver/compiler_driver.h
compiler/driver/compiler_driver_test.cc
compiler/driver/dex_compilation_unit.cc
compiler/driver/dex_compilation_unit.h
compiler/image_writer.cc
compiler/image_writer.h
compiler/oat_writer.cc
compiler/optimizing/builder.h
compiler/optimizing/inliner.cc
compiler/optimizing/instruction_builder.cc
compiler/optimizing/instruction_builder.h
compiler/optimizing/optimizing_compiler.cc
compiler/optimizing/reference_type_propagation.cc
compiler/optimizing/reference_type_propagation.h
compiler/optimizing/reference_type_propagation_test.cc
compiler/optimizing/ssa_builder.cc
compiler/optimizing/ssa_builder.h
oatdump/oatdump.cc
patchoat/patchoat.cc
runtime/art_field-inl.h
runtime/art_field.cc
runtime/art_field.h
runtime/art_method-inl.h
runtime/class_linker-inl.h
runtime/class_linker.cc
runtime/class_linker.h
runtime/class_linker_test.cc
runtime/entrypoints/entrypoint_utils-inl.h
runtime/gc/space/image_space.cc
runtime/image.cc
runtime/mirror/class.cc
runtime/mirror/dex_cache-inl.h
runtime/mirror/dex_cache.cc
runtime/mirror/dex_cache.h
runtime/mirror/dex_cache_test.cc
runtime/native/java_lang_DexCache.cc
runtime/oat.h
runtime/utils/dex_cache_arrays_layout-inl.h
runtime/verifier/method_verifier.cc
test/155-java-set-resolved-type/src/Main.java
test/626-const-class-linking/clear_dex_cache_types.cc