易春木

Feed Rss

什麼是Lazy Binding

08.15.2011, 記事本, by , 633 人次 .

由於比較Android linux與GNU linux的差異, 發現GNU linux的動態資料庫連結會使用lazy binding技術, 研究一下!

原文:

The "Lazy binding" process describes the relocation of an library function address at run time.

That means, after the application was loaded into the virtual process memory, no library function is resolved. With this mechanism the address resolution of the needed function is done on demand. This procedure increases the startup time for applications with a long library list dramatically. The disadvantage is that the run time performance suffers, especially during the relocation process.

所以就是成事並不會預先就將鎖有涵式庫relocation , 而是在run time時候才relocation !
優點: 整體而言對x86系統 較有效率
缺點: 較差的run time performance

Ref:
http://www.pls-mc.com/content/view/227/374/

閱讀這篇文章的讀者也會看:

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>