This is the mail archive of the gcc@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: RFC - Alternatives to gengtype


On Tue, Nov 27, 2012 at 6:20 PM, Jeff Law <law@redhat.com> wrote:
> On 11/27/2012 03:51 PM, Diego Novillo wrote:
>>>
>>> * Start implementing memory pools for data structures that do not need
>>
>> to be in PCH images.  It is still not clear what types of memory pools
>> we will need, but at a minimum we are thinking of a permanent pool,
>> per-pass pools and at least one or two stage-based pools (e.g., front
>> ends).  We may be able to have some implemented for the 4.9 release.
>
> By far the most important aspect of this is defining your pools and their
> lifetimes properly.   If you're not careful, this will end up like the old
> obstack mess we had in the past.

Right.  That's why we want to be very conservative in this plan.  We
want to be able to move data structures incrementally and keep the
current GC mechanism working at the same time.  We would only merge
back into trunk once we have a solid transition.


Diego.


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