Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [ajdt-dev] AJDT speed with multiple projects

It seems that AJDT 1.4.2.200705221209 was released before AspectJ 1.5.4
is released so that what is known to be fixed in AspectJ 1.5.4 may not
be included in 1.5.4.200705211336.

We have 22 projects in our workspace. The projects are dependents like a
tree, so some depend of x projects and those x projects may depend of
others. We have no circular references.

In the trace below, only a Java file was modified by adding a space so
the resulting *.class should be the same then there is no point to
involve the dependents. Do you agree? Do we already have a bug logged or
it's already fixed?

We also notice that full build is often done when we expect incremental
build. 

We also see that AspectJ compiler is keeping a big chunk of
WeakReference that take around 800 megs in our RAD. One our developer
said that if we call org.aspectj.weaver.Dump.reset() the leak will go.
800 megs just for the AspectJ compiler is close to the limit a JVM can
have on Windows so we cannot extend our JVM memory allocation.

My team is complaining to me after I introduced AJDT in our big
government project.

Anyone is using AJDT on big software with multiple projects in the same
workspace?

What's the best practice to use AspectJ with Eclipse/RAD without AJDT?

-----Original Message-----
From: ajdt-dev-bounces@xxxxxxxxxxx [mailto:ajdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Andy Clement
Sent: Monday, March 03, 2008 1:48 PM
To: ajdt-dev@xxxxxxxxxxx
Subject: Re: [ajdt-dev] AJDT speed with multiple projects

I'm not planning on upgrading the Eclipse 3.2 version of AJDT any time
soon - but as far as I am aware it includes all the optimizations that
are in the later versions, so it wouldn't change your situation.

How are your projects dependent?  Just a big stack of AJ projects that
depend on each other?

Andy.

On 28/02/2008, Sebastien Tardif <stardif@xxxxxxxxxxxx> wrote:
>
>
>
>
> Hi,
>
>
>
> I put a space in a file and saved. I got the log below. Could I
optimize
> something? By the way, I'm stock to use Eclipse 3.2 because I use IBM
RAD.
> Is a possibility that a more recent AJDT supporting Eclipse 3.2 will
be
> built?
>
>
>
> 5:46:38 PM Startup information:
>
>    AJDT version: 1.4.2.200705221209 for Eclipse 3.2
>
>    AspectJ Compiler version: DEVELOPMENT
>
>    usingVisualiser=true
>
>    usingXref=true
>
>    usingCUprovider=false
>
>    doneAutoOpenXRefViewC:/cc_views_dr_5_1_0_0/workspace =
> true
>
>    org.aspectj.ajdt.core.compiler.weaver.XNoInline = true
>
>    ajde.version.at.previous.startup = @AJDEVERSION@
>
>    org.aspectj.ajdt.core.compiler.weaver.XNotReweavable =
> true
>
> 5:46:49 PM
>
========================================================================
===================
>
> 5:46:49 PM Build kind = AUTOBUILD
>
> 5:46:49 PM Project=svcapp, kind of build requested=Incremental AspectJ
> compilation
>
> 5:46:49 PM build: Examined delta - source file changes in required
project
> svcapp
>
> 5:46:50 PM Preparing for build: planning to be an incremental build
>
> 5:46:50 PM Starting incremental compilation loop 1 of possibly 5
>
> 5:46:51 PM Timer event: 1687ms: Time to first compiled message
>
> 5:46:51 PM Timer event: 1718ms: Time to first woven message
>
> 5:46:51 PM AspectJ reports build successful, build was: INCREMENTAL
>
> 5:46:51 PM AJDE Callback: finish. Was full build: false
>
> 5:46:51 PM Timer event: 1890ms: Total time spent in AJDE
>
> 5:46:52 PM Timer event: 390ms: Create element map (1 rels in project:
> svcapp)
>
> 5:46:52 PM Types affected during build = 1
>
> 5:46:52 PM Timer event: 0ms: Add markers (2 markers)
>
> 5:46:52 PM Timer event: 2765ms: Total time spent in AJBuilder.build()
>
> 5:46:52 PM
>
========================================================================
===================
>
> 5:46:52 PM Build kind = AUTOBUILD
>
> 5:46:52 PM Project=svcCommon, kind of build requested=Incremental
AspectJ
> compilation
>
> 5:46:52 PM Preparing for build: planning to be an incremental build
>
> 5:46:52 PM AspectJ reports build successful, build was: INCREMENTAL
>
> 5:46:52 PM AJDE Callback: finish. Was full build: false
>
> 5:46:52 PM Timer event: 437ms: Total time spent in AJDE
>
> 5:46:53 PM Timer event: 63ms: Create element map (0 rels in project:
> svcCommon)
>
> 5:46:53 PM Timer event: 0ms: Add markers (0 markers)
>
> 5:46:53 PM Timer event: 625ms: Total time spent in AJBuilder.build()
>
> 5:46:53 PM
>
========================================================================
===================
>
> 5:46:53 PM Build kind = AUTOBUILD
>
> 5:46:53 PM Project=imProvisioningHub, kind of build
requested=Incremental
> AspectJ compilation
>
> 5:46:53 PM Preparing for build: planning to be an incremental build
>
> 5:46:53 PM AspectJ reports build successful, build was: INCREMENTAL
>
> 5:46:53 PM AJDE Callback: finish. Was full build: false
>
> 5:46:53 PM Timer event: 375ms: Total time spent in AJDE
>
> 5:46:53 PM Timer event: 0ms: Create element map (0 rels in project:
> imProvisioningHub)
>
> 5:46:53 PM Timer event: 0ms: Add markers (0 markers)
>
> 5:46:53 PM Timer event: 421ms: Total time spent in AJBuilder.build()
>
> 5:46:53 PM
>
========================================================================
===================
>
> 5:46:53 PM Build kind = AUTOBUILD
>
> 5:46:53 PM Project=ctIvrWeb, kind of build requested=Incremental
AspectJ
> compilation
>
> 5:46:53 PM Preparing for build: planning to be an incremental build
>
> 5:46:53 PM AspectJ reports build successful, build was: INCREMENTAL
>
> 5:46:53 PM AJDE Callback: finish. Was full build: false
>
> 5:46:53 PM Timer event: 344ms: Total time spent in AJDE
>
> 5:46:53 PM Timer event: 0ms: Create element map (0 rels in project:
> ctIvrWeb)
>
> 5:46:53 PM Timer event: 0ms: Add markers (0 markers)
>
> 5:46:53 PM Timer event: 375ms: Total time spent in AJBuilder.build()
>
> 5:46:53 PM
>
========================================================================
===================
>
> 5:46:53 PM Build kind = AUTOBUILD
>
> 5:46:53 PM Project=connectors, kind of build requested=Incremental
AspectJ
> compilation
>
> 5:46:54 PM Preparing for build: planning to be an incremental build
>
> 5:46:54 PM AspectJ reports build successful, build was: INCREMENTAL
>
> 5:46:55 PM AJDE Callback: finish. Was full build: false
>
> 5:46:55 PM Timer event: 1062ms: Total time spent in AJDE
>
> 5:46:56 PM Timer event: 781ms: Create element map (0 rels in project:
> connectors)
>
> 5:46:56 PM Timer event: 0ms: Add markers (0 markers)
>
> 5:46:56 PM Timer event: 2359ms: Total time spent in AJBuilder.build()
>
> 5:46:56 PM
>
========================================================================
===================
>
> 5:46:56 PM Build kind = AUTOBUILD
>
> 5:46:56 PM Project=ejbapp, kind of build requested=Incremental AspectJ
> compilation
>
> 5:46:56 PM Preparing for build: planning to be an incremental build
>
> 5:46:57 PM AspectJ reports build successful, build was: INCREMENTAL
>
> 5:46:57 PM AJDE Callback: finish. Was full build: false
>
> 5:46:57 PM Timer event: 702ms: Total time spent in AJDE
>
> 5:46:57 PM Timer event: 141ms: Create element map (0 rels in project:
> ejbapp)
>
> 5:46:57 PM Timer event: 0ms: Add markers (0 markers)
>
> 5:46:57 PM Timer event: 1000ms: Total time spent in AJBuilder.build()
>
> 5:46:57 PM
>
========================================================================
===================
>
> 5:46:57 PM Build kind = AUTOBUILD
>
> 5:46:57 PM Project=ctWebClient, kind of build requested=Incremental
AspectJ
> compilation
>
> 5:46:58 PM Preparing for build: planning to be an incremental build
>
> 5:46:58 PM AspectJ reports build successful, build was: INCREMENTAL
>
> 5:46:58 PM AJDE Callback: finish. Was full build: false
>
> 5:46:58 PM Timer event: 906ms: Total time spent in AJDE
>
> 5:46:58 PM Timer event: 218ms: Create element map (1 rels in project:
> ctWebClient)
>
> 5:46:58 PM Timer event: 0ms: Add markers (0 markers)
>
> 5:46:58 PM Timer event: 1437ms: Total time spent in AJBuilder.build()
>
> 5:46:58 PM
>
========================================================================
===================
>
> 5:46:58 PM Build kind = AUTOBUILD
>
> 5:46:58 PM Project=clusteringmdb, kind of build requested=Incremental
> AspectJ compilation
>
> 5:46:59 PM Preparing for build: planning to be an incremental build
>
> 5:46:59 PM AspectJ reports build successful, build was: INCREMENTAL
>
> 5:46:59 PM AJDE Callback: finish. Was full build: false
>
> 5:46:59 PM Timer event: 328ms: Total time spent in AJDE
>
> 5:46:59 PM Timer event: 0ms: Create element map (0 rels in project:
> clusteringmdb)
>
> 5:46:59 PM Timer event: 0ms: Add markers (0 markers)
>
> 5:46:59 PM Timer event: 344ms: Total time spent in AJBuilder.build()
>
> 5:46:59 PM
>
========================================================================
===================
>
> 5:46:59 PM Build kind = AUTOBUILD
>
> 5:46:59 PM Project=AppGUI, kind of build requested=Incremental AspectJ
> compilation
>
> 5:46:59 PM Preparing for build: planning to be an incremental build
>
> 5:46:59 PM AspectJ reports build successful, build was: INCREMENTAL
>
> 5:46:59 PM AJDE Callback: finish. Was full build: false
>
> 5:46:59 PM Timer event: 718ms: Total time spent in AJDE
>
> 5:46:59 PM Timer event: 0ms: Create element map (0 rels in project:
AppGUI)
>
> 5:46:59 PM Timer event: 0ms: Add markers (0 markers)
>
> 5:46:59 PM Timer event: 734ms: Total time spent in AJBuilder.build()
>
>
> _______________________________________________
>  ajdt-dev mailing list
>  ajdt-dev@xxxxxxxxxxx
>  https://dev.eclipse.org/mailman/listinfo/ajdt-dev
>
>
_______________________________________________
ajdt-dev mailing list
ajdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ajdt-dev


Back to the top