This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- From: law at redhat dot com
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: Andrew MacLeod <amacleod at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 19 Nov 2003 11:09:21 -0700
- Subject: Re: [tree-ssa PATCH] Pick memory consumption low hanging fruit
- Reply-to: law at redhat dot com
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