Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Something's strange about opening/closing projects
Something's strange about opening/closing projects [message #43035] Tue, 19 October 2004 08:18 Go to next message
Michael Moser is currently offline Michael MoserFriend
Messages: 914
Registered: July 2009
Senior Member
Just wondering about a strange effect that I am observing:

Apparently since I installed AspectJ I am observing that
opening/closing a project (regardless of whether this is an AspectJ
Project or a plain Java Project) has become a very "expensive"
operation, i.e. opening or closing a project (which used to be quick
operation - max. a few seconds) now easily takes 30-90 seconds and
essentially freezes my system by consuming 95+% of CPU cycles during
that time.

Are you aware of this? Is this something to be expected (eg. is there
some "rebuild all" or something similar triggered by this) or is this
simply a bug?

Michael
Re: Something's strange about opening/closing projects [message #43067 is a reply to message #43035] Tue, 19 October 2004 15:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hawkinsh.uk.ibm.com

Michael Moser wrote:

> Just wondering about a strange effect that I am observing:

> Apparently since I installed AspectJ I am observing that
> opening/closing a project (regardless of whether this is an AspectJ
> Project or a plain Java Project) has become a very "expensive"
> operation, i.e. opening or closing a project (which used to be quick
> operation - max. a few seconds) now easily takes 30-90 seconds and
> essentially freezes my system by consuming 95+% of CPU cycles during
> that time.

> Are you aware of this? Is this something to be expected (eg. is there
> some "rebuild all" or something similar triggered by this) or is this
> simply a bug?

> Michael

Hi Micahel,

I've not myself noticed anything slowing down this much - and not chewing
up the CPU (this is when developing AJDT itself). It definitely should not
be showing this behaviour :-)

Could you provide more information about your setup? Which version of
Eclipse are you using? Are the projects you're opening particularly big?
Do you have any other plugins installed? If you're seeing this repeatedly,
then could you raise a bug so we can investigate this further? Performance
is one of the areas we're about to start looking at and any information
you provide would be very useful.

Thanks, Helen
Re: Something's strange about opening/closing projects [message #44932 is a reply to message #43035] Thu, 16 December 2004 14:09 Go to previous message
Eclipse UserFriend
Originally posted by: mchapman.uk.ibm.com

On Tue, 19 Oct 2004 10:18:00 +0200, Michael Moser wrote:
> Just wondering about a strange effect that I am observing:
>
> Apparently since I installed AspectJ I am observing that opening/closing a
> project (regardless of whether this is an AspectJ Project or a plain Java
> Project) has become a very "expensive" operation, i.e. opening or closing
> a project (which used to be quick operation - max. a few seconds) now
> easily takes 30-90 seconds and essentially freezes my system by consuming
> 95+% of CPU cycles during that time.
>
> Are you aware of this? Is this something to be expected (eg. is there some
> "rebuild all" or something similar triggered by this) or is this simply a
> bug?

Hi Michael,

I think I've figured out why this is happening. It should only be an issue
when opening or closing large projects. Someone else on this group seems
to have hit the same problem. Here is a copy of my post on that thread:

This should be improved in AJDT 1.2.0M2. I managed to reduce the scope of
our resource change listener to avoid processing deltas for non-AspectJ
projects. I'm also going to ask the Eclipse team if there is a better
solution here, or whether one can be added in the future, because there
still seems to be an overhead in calling our listener, even if we do
nothing with the delta.

Regards,

Matt.
Re: Something's strange about opening/closing projects [message #584317 is a reply to message #43035] Tue, 19 October 2004 15:08 Go to previous message
Eclipse UserFriend
Originally posted by: hawkinsh.uk.ibm.com

Michael Moser wrote:

> Just wondering about a strange effect that I am observing:

> Apparently since I installed AspectJ I am observing that
> opening/closing a project (regardless of whether this is an AspectJ
> Project or a plain Java Project) has become a very "expensive"
> operation, i.e. opening or closing a project (which used to be quick
> operation - max. a few seconds) now easily takes 30-90 seconds and
> essentially freezes my system by consuming 95+% of CPU cycles during
> that time.

> Are you aware of this? Is this something to be expected (eg. is there
> some "rebuild all" or something similar triggered by this) or is this
> simply a bug?

> Michael

Hi Micahel,

I've not myself noticed anything slowing down this much - and not chewing
up the CPU (this is when developing AJDT itself). It definitely should not
be showing this behaviour :-)

Could you provide more information about your setup? Which version of
Eclipse are you using? Are the projects you're opening particularly big?
Do you have any other plugins installed? If you're seeing this repeatedly,
then could you raise a bug so we can investigate this further? Performance
is one of the areas we're about to start looking at and any information
you provide would be very useful.

Thanks, Helen
Re: Something's strange about opening/closing projects [message #585265 is a reply to message #43035] Thu, 16 December 2004 14:09 Go to previous message
Matt Chapman is currently offline Matt ChapmanFriend
Messages: 429
Registered: July 2009
Senior Member
On Tue, 19 Oct 2004 10:18:00 +0200, Michael Moser wrote:
> Just wondering about a strange effect that I am observing:
>
> Apparently since I installed AspectJ I am observing that opening/closing a
> project (regardless of whether this is an AspectJ Project or a plain Java
> Project) has become a very "expensive" operation, i.e. opening or closing
> a project (which used to be quick operation - max. a few seconds) now
> easily takes 30-90 seconds and essentially freezes my system by consuming
> 95+% of CPU cycles during that time.
>
> Are you aware of this? Is this something to be expected (eg. is there some
> "rebuild all" or something similar triggered by this) or is this simply a
> bug?

Hi Michael,

I think I've figured out why this is happening. It should only be an issue
when opening or closing large projects. Someone else on this group seems
to have hit the same problem. Here is a copy of my post on that thread:

This should be improved in AJDT 1.2.0M2. I managed to reduce the scope of
our resource change listener to avoid processing deltas for non-AspectJ
projects. I'm also going to ask the Eclipse team if there is a better
solution here, or whether one can be added in the future, because there
still seems to be an overhead in calling our listener, even if we do
nothing with the delta.

Regards,

Matt.
Previous Topic:Isn't it too slow after using AJDT plugin?
Next Topic:Visualizer
Goto Forum:
  


Current Time: Thu Sep 19 13:04:22 GMT 2024

Powered by FUDForum. Page generated in 0.04930 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top