Title: Samsung Enterprise Portal mySingle

> Stéphane said that it causes loading "the while library tree", which is
> a bit misleading. The same set of libraries should be loaded with and
> without it. The difference is that symbol resolution happens for
> everything during loading when RTLD_NOW is used, while it gets deferred
> for functions until they are actually used with RTLD_LAZY.
>
> Symbol resolution can be expensive, so startup time might benefit from
> not doing it immediately. Functions that never get called don't need to
> be resolved at all.

That's the reason why launchpad use RTLD_NOW instead of RTLD_LAZY. symbol loading is performed on the launchpad/wrt_launchpad startup. Launchpad or wrt_launchpad may be delayed due to symbol resolution but once symbols are resolved, child process of launchpad, all the apps, can benefit from pre-initialized shared library as long as it does not clear memory space by execve().

 

 

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to