OSDN Git Service

ART: Better support for arraycopy in unstarted runtime
authorAndreas Gampe <agampe@google.com>
Thu, 31 Mar 2016 20:30:53 +0000 (13:30 -0700)
committerAndreas Gampe <agampe@google.com>
Fri, 1 Apr 2016 16:37:05 +0000 (09:37 -0700)
commit85a098af5fc8d2dd0e39d61c9f93fc6257d631c5
tree20e81103cbc6043aa99b876fc358b7bab95ce4dc
parent19a4784ce1b9c6a0b3d3cdb91a182baa7adbb946
ART: Better support for arraycopy in unstarted runtime

Extend the System.arraycopy() cutout in the unstarted runtime
to support arrays with differing component types.

Add tests.

Bug: 27805718
Change-Id: Iaacd95a372e9bfa26e9055a06b0d8f0335b8d6d1
runtime/interpreter/unstarted_runtime.cc
runtime/interpreter/unstarted_runtime_test.cc
runtime/mirror/object_array-inl.h
runtime/mirror/object_array.h
runtime/native/java_lang_System.cc