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: Extreme PRE compile times


>
> What has me worries most with this idea is that arenas cannot simply be GC
> roots (you don't know what's in them),

This is why i've worked on moving to type-code based marking, so that we
only need to know the roots, and then we automaticaly know how to mark
them.


> so you wouldn't be able to call
> ggc_collect during a pass.  Not that we really need to (except PRE, of
> course ;-) but it seems rather fragile.  Apparently the zone collector could
> come to the rescue here, too?
>
> > Also note that because we haven't changed how marking works in the zone
> > allocator  marking any zones marks all zones.
>
> Yup, I saw the comments.  It apparently has the potential for a real solution,
> but it's not there yet.
>
> Gr.
> Steven
>
>


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