OSDN Git Service

ART: Make the PathClassLoader fast-path recursive
authorAndreas Gampe <agampe@google.com>
Tue, 14 Apr 2015 05:14:19 +0000 (22:14 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 14 Apr 2015 20:45:04 +0000 (13:45 -0700)
commitf865ea9557e6fe017caf99832dc3adf9fadbf86f
treee6b94a730b832496eaf4f652a9839ed3a78cd366
parente015a31e509c3f4de8a90b57b77329ba6609ce2f
ART: Make the PathClassLoader fast-path recursive

Allow an arbitrary nesting of path class-loaders. This will also
handle the fake java.lang.BootClassLoader as a class-loader object
correctly (which is of some importance to compile-time initialization).

Bug: 19781184
Bug: 19542228
Change-Id: I61f0249cf4ec8df08a83ccbd29bcf067619c28c0
runtime/class_linker.cc
runtime/class_linker.h
runtime/native/java_lang_VMClassLoader.cc