system_heap_do_allocate
cache 怎么理解
int BufferAllocator::AllocSystem(bool cpu_access_needed, size_t len, unsigned int heap_flags,
size_t legacy_align) {
if (!cpu_access_needed) {
/*
* CPU does not need to access allocated buffer so we try to allocate in
* the 'system-uncached' heap after querying for its existence.
*/
本文探讨了intBufferAllocator::AllocSystem函数的工作原理,特别是在不需要CPU访问的情况下如何尝试在'system-uncached'堆中进行内存分配。通过对源代码的分析,揭示了在Android平台超级项目中的具体实现细节。
902

被折叠的 条评论
为什么被折叠?



