zoukankan      html  css  js  c++  java
  • Android prelinklinuxarm.map, LOCAL_PRELINK_MODULE

    From http://androidforums.com/application-development/20932-prelink-linux-arm-map.html

    prelink-linux-arm.map is for providing addresses so that the loading of all the registered libraries can be done faster.
    If you want you can add address for your library.
    You can see on top of the file various address ranges for different categories.

    If you do not want to add, then just add:
    LOCAL_PRELINK_MODULE := false
    line in your Android.mk file

    Ruchik

    ---------------------------------------------------------------------------------------------------------------------

    什麼是 Prelink ? 它能為我做什麼 ?

    許多的應用程式使用共用函式庫. 在這些程式被執行的時候, 共用函式庫會被讀進記憶體中, 並且跟程式中所參用到的符號(symbol)連結起來. 對大多的小程式而言, 通常這樣的動態連結非常快. 但是對一些依存於大量函式庫的 C++ 程式而言, 動態連結卻可能花上不少的時間.

    在大多數的系統上, 函式庫並不會常常被更動, 每次程式被執行時所進行的連結動作都是完 全相同的,Prelink 利用這點, 將程式與函式庫連結的方式弄出來記錄在執行檔中, 達成"預先連結"的效果.

    "預先連結"能夠節省應用程式的啟動時間. 以典型的 KDE 程式為例, 程式的讀取時間能夠減少 50% 那麼多. 唯一必要的維護只有每當被"預先連結"過的執行檔所連結到的函式庫有所更新時, 需要再次執行 prelink.

    http://blog.csdn.net/eqiang8271/archive/2011/04/08/6309226.aspx

  • 相关阅读:
    UVA
    [CQOI2018] 社交网络
    UVA
    51nod 1314 定位系统
    51nod 1211 数独
    51nod 1392 装盒子
    51nod1253 Kundu and Tree
    51nod1313 完美串
    51nod1039 x^3 mod p
    51nod1369 无穷印章
  • 原文地址:https://www.cnblogs.com/eustoma/p/2415858.html
Copyright © 2011-2022 走看看