[PATCH] D20933: Preallocate ExplodedNode hash table

Anna Zaks via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 9 12:40:38 PDT 2016


zaks.anna added a comment.

> If the underlying allocator that does a poor job at reusing freed memory, then trivial 

>  functions will use about 1 MB more than before, then free the memory immediately.


You could probably flag some of those functions, especially the ones that do not contain inlinable calls. (Ex: Has low complexity (CFG::getNumBlockIDs()) and does not call anything that can be inlined.) Said that, it's "a nice to have".


http://reviews.llvm.org/D20933





More information about the cfe-commits mailing list