Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » AJDT slooooow/hanging on clean rebuild
AJDT slooooow/hanging on clean rebuild [message #915581] Mon, 17 September 2012 15:20 Go to next message
Gerolf Scherr is currently offline Gerolf ScherrFriend
Messages: 1
Registered: December 2009
Junior Member

I have a workspace with two java/aspectj-projects, when I am doing a project clean/rebuild, sometimes it needs around 30 sec, sometimes it 'hangs' for more than 10 minutes, when I terminate the program and restart it, the build works.

I have done several thread dumps (approx. one per minute) of one of the hanging runs. (see attachments)

I am not sure if this is a Problem in AJDT or some kind of deadlock.

I am using juno:
Eclipse Juno, Build id: 20120614-1722


16:58:51 Startup information:
AJDT version: 2.2.0.e42x-RELEASE-20120703-2200
AspectJ Compiler version: 1.7.0
usingCUprovider=true = 2.2.0.e42x-RELEASE-20120703-2200

thanks a lot for your help.

This thread is always busy:

at org.eclipse.core.internal.resources.AliasManager$
at java.util.TreeMap.getEntryUsingComparator(Unknown Source)
at java.util.TreeMap.getEntry(Unknown Source)
at java.util.TreeMap.get(Unknown Source)
at org.eclipse.core.internal.resources.AliasManager$LocationMap.matchingResourcesDo(
at org.eclipse.core.internal.resources.AliasManager.findResources(
at org.eclipse.core.internal.localstore.FileSystemResourceManager.findLinkedResourcesPaths(
at org.eclipse.core.internal.localstore.FileSystemResourceManager.allPathsForLocationNonCanonical(
at org.eclipse.core.internal.localstore.FileSystemResourceManager.allPathsForLocation(
at org.eclipse.core.internal.localstore.FileSystemResourceManager.allResourcesFor(
at org.eclipse.core.internal.resources.WorkspaceRoot.findFilesForLocationURI(
at org.eclipse.core.internal.resources.WorkspaceRoot.findFilesForLocationURI(
at org.eclipse.ajdt.internal.utils.AJDTUtils.findResource(
at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler.locationToResource(
at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler.access$2(
at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler$
at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler.showMessages(
at org.eclipse.ajdt.internal.ui.ajde.UIMessageHandler.showOutstandingProblems(
at org.eclipse.ajdt.internal.builder.UIBuildListener.postAJBuild(
at org.eclipse.ajdt.core.builder.AJBuilder.postCallListeners(
- locked <0x00000000e12c4580> (a java.util.ArrayList)
at org.eclipse.ajdt.core.builder.AJBuilder.postBuild(

  • Attachment: 5664-6.txt
    (Size: 25.01KB, Downloaded 198 times)
  • Attachment: 5664-7.txt
    (Size: 24.08KB, Downloaded 178 times)
  • Attachment: 5664-8.txt
    (Size: 24.09KB, Downloaded 244 times)
  • Attachment: 5664-9.txt
    (Size: 24.33KB, Downloaded 187 times)
  • Attachment: 5664-10.txt
    (Size: 24.32KB, Downloaded 215 times)
Re: AJDT slooooow/hanging on clean rebuild [message #915770 is a reply to message #915581] Mon, 17 September 2012 23:40 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 379
Registered: July 2009
Senior Member
There are no deadlocking threads in any of the stack dumps you sent me, but there could still be some kind of infinite loop happening.

More likely, however, is that there are memory or disk issues. The location of the slowness is occurring after a build when all of the error markers are being added to the Eclipse resource model. This requires disk io. So, make sure that your eclipse is not running out of memory and that your heap size is set appropriately.

A quick thing to do is to go to Preferences -> General -> Show heap status. Keep an eye on the status bar to see if things are growing out of control.

Some more questions:

1. Does your project contain many linked folders?
2. How large is it?
3. What version of Eclipse and AJDT are you using?
Re: AJDT slooooow/hanging on clean rebuild [message #915771 is a reply to message #915770] Mon, 17 September 2012 23:41 Go to previous message
Andrew Eisenberg is currently offline Andrew EisenbergFriend
Messages: 379
Registered: July 2009
Senior Member
ps- forget that last question. You've already answered it. Smile
Previous Topic:AspectJ: would it work in this case?
Next Topic:AJDT 2.2.1 with STS 3.0 on Eclipse 4.2/3.8: AspectJ Load-Time Weaving Application
Goto Forum:

Current Time: Thu Nov 26 08:57:37 GMT 2015

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

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