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 说道: Untitled

    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 说道: Untitled

    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

发表评论