Android memory management mechanism

learn from

https://www.cnblogs.com/lianghe01/p/6617275.html


Overall mechanism

The memory in the eyes of Android developers is virtual, paging, and continuous space

In fact, every page must be mapped from ram

So Android's memory is scattered in actual ram


divided into

native process

The java process is based on the native process


important point

The new object is not mapped immediately, but only after the memory is used by memset.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324726725&siteId=291194637