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]

Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit


In message <200311191721.57563.s.bosscher@student.tudelft.nl>, Steven Bosscher 
writes:
 >> However, I do really like the idea of allocating all the SSA_NAMEs and
 >> PHI_NODEs in their own pages/zones. so we'd need a ggc_alloc_ssatree()
 >> call for those I guess.  VDEF, EEXIT, EKILL, EUSE and EPHIs would fall
 >> into that category/zone as well.
 >
 >It's been said before: some way to allocate in specific pages would generally
 > 
 >be useful, not just for PHIs and SSA names.  Also basic blocks, edges, 
 >objects for which you _know_ they won't live very long, etc.
Err, basic blocks and edges have a long lifetime -- in fact I don't believe
you can necessarily determine the lifetime of a block or edge object.

SSA_NAMEs and PHIs have very clear lifetimes.

jeff


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