Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] ADTJ compilation for large projects

Am Freitag, 28. Mai 2004 10:26 schrieb jan casteels:
> How can the performance of the AJC compiler in eclipse be increased?
There are several points that could increase performance, most of them 
presumably mentioned in Jim Hugunin's paper "Advice Weaving in AspectJ". The

one to promise maximum benefit is FastMatch IMHO.

> What is the performance of AJC vs Javac?
I think you cannot really tell in general because it certainly depends on
the 
aspects you are using, more specificly on the pointcuts: The more general 
pointcuts are, the more likely FastMatch is gonna fail and they have to be 
matched against every possible JoinPoint.  This can be quite expensive.
However, if you do not use any kaspects at all, there should be only a 
constant overhead since afaik AJC simply invokes the usual Java Compiler in 
that case (please correct me if I am wrong).

> I am still getting complaints in eclipse that compiler is saying that is
> taking to long and asks me if I want to continue.
> I already allocated 512Mb to eclipse

How big is your project? (How many classes, how many aspects?)

Eric

-- 
Eric Bodden
Chair 2 for Computer Science
RWTH Aachen University, Germany




Back to the top