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 18:40:32 +0000 (11:40 -0700)
commit4a5fcd811588a8d998f2a1d406ceb71b9b02c998
treebae4a6df54a16541e4327b179717be0948a32be3
parentc4d608488630222f96257c720c92b60a7bdd99fa
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

(cherry picked from commit 85a098af5fc8d2dd0e39d61c9f93fc6257d631c5)

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