diff options
author | Dimitry Ivanov <dimitry@google.com> | 2016-02-23 14:25:50 -0800 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2016-02-26 10:16:11 -0800 |
commit | ea90281082b42a2c71d33e25bc369e5eed44ed52 (patch) | |
tree | 20b55774967e72ba1a92c4f9f57f00bdbad96e04 /rs/java/android/renderscript/ScriptGroup.java | |
parent | d21b6420d2a321168547bee8885b50e598823255 (diff) |
Create linker-namespace for the classloader
With this change ApplicationLoaders.getClassLoader()
creates linker-namespace for the classloader at the
construction time. Before this change the namespace
was created on first load of a jni library.
With this change we ensure that every classloader
has initialized namespace associated with it.
As an additional advantage we now can avoid storing
namespace-specific fields in the classloaders.
Bug: http://b/27189432
Bug: http://b/22548808
Change-Id: I3b160bd478a55171008682c40b2ebc13bdbd9882
(cherry picked from commit a55c7f15a3c386ec643f21eeb2f4e9fd7b03ba70)
Diffstat (limited to 'rs/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions