This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

enlarge hot allocation pools


Hello,

2012-08-19 Dimitrios Apostolou <jimis@gmx.net>

	* gcc/cselib.c (cselib_init): Make allocation pools larger since
	they are too hot and show to expand often on the profiler.
	* gcc/df-problems.c (df_chain_alloc): Same.
	* gcc/et-forest.c (et_new_occ, et_new_tree): Same.
	* gcc/tree-ssa-pre.c (init_pre): Same


These allocation pools are the ones that I've noticed calling malloc() too often, for expanding their size. Also I don't like the way the pools are created in et_new_{occ,tree}() but couldn't find a single point to move the initialisation either. Any ideas on this one?



Thanks, Dimitris

Attachment: hot_pools.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]