OSDN Git Service

Use shared namespaces for bundled apps
authorDimitry Ivanov <dimitry@google.com>
Tue, 15 Dec 2015 22:08:18 +0000 (14:08 -0800)
committerDimitry Ivanov <dimitry@google.com>
Thu, 17 Dec 2015 19:33:06 +0000 (11:33 -0800)
commit986f650d8b552e8b7dbebef1f50f015e7850edfc
tree0862ac202e46c1fa434d025f344d7fc0b749bd35
parent6280ef88a9231d2a14f2b0bbe6d39770c994787d
Use shared namespaces for bundled apps

Shared namespaces clone the list of loaded native
libraries from the caller namespace. This allows
classloaders for bundled apps to share already loaded
libraries with default namespace.

Bug: http://b/26165097
Bug: http://b/22548808
Change-Id: Ia90b603a0ca97194618b82fb191d6790a4b1f281
compiler/jni/jni_compiler_test.cc
runtime/java_vm_ext.cc
runtime/java_vm_ext.h
runtime/native/OpenjdkJvm.cc
runtime/native/java_lang_Runtime.cc
runtime/runtime.cc
runtime/well_known_classes.cc