diff options
author | Dimitry Ivanov <dimitry@google.com> | 2016-05-23 10:31:11 -0700 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2016-05-23 10:31:11 -0700 |
commit | 5240863ed559cb4c2b121ddfbf6b3d78ac15e38f (patch) | |
tree | 6f511f9f4224a0d91794585297fd728139f5596b /libc/stdio/stdio.cpp | |
parent | 51ee871e19601e1edbac948f961fc557b537870a (diff) |
Do not resolve caller_ns when it is not needed
create_namespace resolves caller namespace only
when caller did not explicitly specify parent namespace.
This saves about 25 microseconds for the case when
parent_namepsace is not null (for example when creating
second classloader for the app).
Bug: http://b/28801010
Change-Id: I50ded272c931db701e5a1d8c88ed5ffb13416539
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions