开发者

Android Memory Allocator - Does memory need to be contiguous?

Does free heap space have to be contiguous for gralloc() calls to succeed? Or can gralloc(开发者_JAVA百科) return sparse free heap segments to satisfy a request? i.e. heap fragmentation


I'd say that's up to the UMP device driver (which Gralloc merely interfaces with), but could be wrong. The driver/hardware may or may not have a way to map non contiguous UMP memory pages into a seemingly contiguous CPU address space. Does that make sense?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜