This is the mail archive of the gcc-patches@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: [vta] Add chains from referenced VALUEs to DVs that reference them


Gerald Pfeifer wrote:
> On Tue, 30 Jun 2009, Jakub Jelinek wrote:
>> Alternatively we could split the huge HTML_401F.java function into
>> say 4 smaller ones.
> 
> Pleeeeeease! :-)  This one has been causing troubles beyond the context
> of just vta (where, for example, on some system one needs to boot with
> a special kernel option to provide sufficient amounts of memory to GCJ).

I can split the function, but papering over the problem by splitting
one function won't make the problem go away for others who use gcc.
It'll just mean that gcc developers don't notice it.

The big function is about 250k lines of GIMPLE.  jc1 uses about 474m of
RAM at -O2 on a 64-bit system, 414m at -O1, 536m at -O0.  On what class
of machines are you trying to build this?

Don't we have some sort of heuristic that says "this function is
freaking huge, don't do any expensive optimizations." ?

Andrew.


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