OSDN Git Service

class_linker: Add support for resolving method types.
authorNarayan Kamath <narayan@google.com>
Wed, 3 Aug 2016 11:46:58 +0000 (12:46 +0100)
committerNarayan Kamath <narayan@google.com>
Mon, 3 Oct 2016 08:48:50 +0000 (09:48 +0100)
commit25352fc06c84cdab8a2ab6d173b0514066ade2b9
treebb8a6be0c9a144ccf33b07b3158409769a32daa2
parent51cbe84ca33800c57fef9c96f1155f60bcc70bba
class_linker: Add support for resolving method types.

- Add a new fixed size dex cache array for resolved method types.
  The size of this array is set to 1024.
- Also introduces a new runtime flag that controls this feature.

Test: make test-art-host
Bug: 30550796

Change-Id: I147b33398d71ee21f2e91b418d3700d4630801ff
16 files changed:
build/Android.gtest.mk
cmdline/cmdline_types.h
runtime/class_linker.cc
runtime/class_linker.h
runtime/class_linker_test.cc
runtime/experimental_flags.h
runtime/mirror/dex_cache-inl.h
runtime/mirror/dex_cache.cc
runtime/mirror/dex_cache.h
runtime/mirror/dex_cache_test.cc
runtime/parsed_options.cc
runtime/runtime.h
runtime/runtime_options.def
runtime/utils/dex_cache_arrays_layout-inl.h
runtime/utils/dex_cache_arrays_layout.h
test/MethodTypes/MethodTypes.java [new file with mode: 0644]