muyizi opened a new pull request, #11040: URL: https://github.com/apache/doris/pull/11040
Chunk* c1 = ChunkAllocator::allocate(1025); ChunkAllocator::free(c1); ChunkAllocator::allocate(2000); //会返回之前的chunk,这是不符合预期的 修改后,如果申请1025的话,就是从free_list[11]中取,放回free_list[10]里面去;free_list[11]里面应该放size >= 2048 && size < 4096的chunk,以此保证申请到的size大于需要申请的size. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org