Android 4.4

文章內容

  2014-06-19 16:13:01
Android 4.4 platform optimizations

Improved memory management

Validated memory-saving kernel configurations: Kernel Same-page Merging (KSM), and Swap to ZRAM.
Kill cached processes if about to be uncached and too large.
Don’t allow large services to put themselves back into A Services (so they can’t cause the launcher to be killed).
Kill processes (even ordinarily unkillable ones such as the current IME) that get too large in idle maintenance.
Serialize the launch of background services.
Tuned memory use of low-RAM devices: tighter out-of-memory (OOM) adjustment levels, smaller graphics caches, etc.
點擊: 0 | 評論: 2 | 分類: 缺省 | 論壇: android的星空 | 論壇帖子
QR Code
請用微信 掃一掃 掃描上面的二維碼,然後點擊頁面右上角的 ... 圖標,然後點擊 發送給朋友分享到朋友圈,謝謝!
分享:
分享到微信

文章評論

  1. Caribou 說道: 無題

    2014-06-19 16:13:15

    Reduced system memory

    Trimmed system_server and SystemUI processes (saved several MBs).
    Preload dex caches in Dalvik (saved several MBs).
    Validated JIT-off option (saves up to 1.5MB per process).
    Reduced per-process font cache overhead.
    Introduced ArrayMap/ArraySet and used extensively in framework as a lighter-footprint replacement for HashMap/HashSet.
  2. Caribou 說道: 無題

    2014-06-19 16:13:50

    Enable Low Ram Device flag

    We are introducing a new API called ActivityManager.isLowRamDevice() for applications to determine if they should turn off specific memory-intensive features that work poorly on low-memory devices.

    For 512MB devices, this API is expected to return: "true" It can be enabled by the following system property in the device makefile.
    PRODUCT_PROPERTY_OVERRIDES += ro.config.low_ram=true

發表評論