platform_bionic/linker
Dimitry Ivanov 3c9624a268 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
(cherry picked from commit 5240863ed5)
2016-05-23 12:43:57 -07:00
..
arch Fix mips/mips64 build 2014-07-28 21:03:17 -07:00
tests linker: align allocated blocks to 16 bytes 2016-01-21 14:28:33 -08:00
Android.mk Move gdb support functions to a separate file 2016-03-28 14:06:09 -07:00
debugger.cpp Move gdb support functions to a separate file 2016-03-28 14:06:09 -07:00
dlfcn.cpp linker: Allow caller to specify parent namespace 2016-05-17 15:58:28 -07:00
linked_list.h linker: hide the pointer to soinfo 2016-03-28 15:33:07 -07:00
linker.cpp Do not resolve caller_ns when it is not needed 2016-05-23 12:43:57 -07:00
linker.h linker: Allow caller to specify parent namespace 2016-05-17 15:58:28 -07:00
linker_allocator.cpp Unify names for pages allocated for small objects 2016-01-26 17:54:13 -08:00
linker_allocator.h Unify names for pages allocated for small objects 2016-01-26 17:54:13 -08:00
linker_block_allocator.cpp linker: align allocated blocks to 16 bytes 2016-01-21 14:28:33 -08:00
linker_block_allocator.h General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_debug.h linker: implement shared namespaces 2015-12-19 23:38:27 -08:00
linker_dlwarning.cpp Use consistent quoting in linker messages. 2016-04-01 10:10:54 -07:00
linker_dlwarning.h Modify android_dlwarning function to use a callback 2016-03-03 21:06:41 +00:00
linker_gdb_support.cpp Move gdb support functions to a separate file 2016-03-28 14:06:09 -07:00
linker_gdb_support.h Move gdb support functions to a separate file 2016-03-28 14:06:09 -07:00
linker_libc_support.c Implement Library Load Order Randomization 2015-10-22 18:26:07 -07:00
linker_mapped_file_fragment.cpp Move some utility functions to linker_utils 2015-11-20 21:37:51 +00:00
linker_mapped_file_fragment.h refactoring: introduce MappedFileFragment 2015-10-22 18:01:56 -07:00
linker_memory.cpp General purpose memory allocator for linker. 2015-03-16 11:19:53 -07:00
linker_mips.cpp Use consistent quoting in linker messages. 2016-04-01 10:10:54 -07:00
linker_phdr.cpp linker: mark library .bss pages with anon:.bss 2016-01-27 18:12:03 -08:00
linker_phdr.h Do not unmap reserved region on dlclose 2016-01-20 20:57:47 -08:00
linker_reloc_iterators.h Fix long lines and replace macros with functions. 2015-03-31 11:49:25 -07:00
linker_relocs.h Refactor soinfo::relocate 2015-01-09 14:57:53 -08:00
linker_sdk_versions.cpp Improve library lookup logic 2015-06-17 17:16:44 -07:00
linker_sleb128.h Always use signed leb128 decoder 2015-04-22 13:29:42 -07:00
linker_utils.cpp Use consistent quoting in linker messages. 2016-04-01 10:10:54 -07:00
linker_utils.h Add permitted_when_isolated_path to linker namespaces 2015-12-09 13:54:01 -08:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Regenerate NOTICE files. 2015-08-28 20:23:52 -07:00
rt.cpp More dynamic linker cleanup. 2012-10-30 16:35:38 -07:00