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: Faster compilation speed [zone allocation]


On Thursday 15 August 2002 14:02, Robert Dewar wrote:
> <        Because the problem is not the garbage collection, its the
> allocation pattern.  The proposal to use reference counting allows GCC to
> switch to an allocator with better locality -- it's a requirement for the
> underlying improvement, not a fix unto itself.
> >
> 
> But removing garbage collection entirely certainly gives some information.
> Another way of examining is to compile on a machine with a large level 2
> cache, and watch the compilation time vs size of thing being compiled.

      Someone might try instrumenting the GC so you can see where memory
is getting allocated and (roughly) how long its living.  It would require
looking for return addresses and then correlating those
with some debugging information. 
    Then there'd be something substantial to argue over.

Lynn


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