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: Speeding up GC


On Tue, Jun 04, 2002 at 07:24:48AM -0700, David S. Miller wrote:
> What I am hearing right now from rth and others is "We allocate things
> stupidly in the compiler, so we're going to fix the allocator."

No, that's not what you're hearing.

The problem that generational GC is used to fix is C++ including
a few million lines of code and creating 100MB of templates and
inline functions and whatnot.  Which are absolutely positively
not going to change once we parse them.  And yet we re-scan those
pages during each collection pass.

You're looking at a different problem.

One that needs solving, don't get me wrong, but rearranging how
we scan or don't scan temporaries isn't going to help the problem
described.


r~


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