Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Dead lock at Eclipse startup
Dead lock at Eclipse startup [message #660310] Thu, 17 March 2011 19:18 Go to next message
Nicolas  Lalevée is currently offline Nicolas LalevéeFriend
Messages: 14
Registered: July 2009
Junior Member
I am one of the developper behind IvyDE : http://ant.apache.org/ivy/ivyde . This plugin is managing the dependencies computed by Ivy.
In the trunk version I often get a sort of dead lock between some Eclipse Jobs and the IvyDE one and I would like to understand why, so I can fix my plugin.

What I see is in the progress view, the IvyDE resolve job (job which compute the dependencies of each project and setup the IvyDE classpath containers) and the "Initialzin Java Tooling" jobs being both stuck. If I cancel the IvyDE job, then things progress and terminate sucessfully.

Please find there the relevant jstack output : http://people.apache.org/~hibou/jstack-ivyde.txt

I don't understand much which thread is blocking ivyde one.
To explain a little bit the IvyDE stacks, the "Worker-4" is the IvyDE Job which is launching the "IvyDE resolver thread" which actually do the resolve. We have two threads here to bind the Eclipse progress monitor into Ivy's interuption mechanism so the resolve may be stop as early as possible. And during that resolve, Ivy is also configured to search dependencies into the workspace (WorkspaceResolver). And during that search in the workspace, it looks up for the IvyDE classpath containers of the projects which holds the Ivy metadata required to achieve the Ivy resolve.
Re: Dead lock at Eclipse startup [message #660366 is a reply to message #660310] Fri, 18 March 2011 07:05 Go to previous messageGo to next message
Satyam Kandula is currently offline Satyam KandulaFriend
Messages: 444
Registered: July 2009
Senior Member
Which version of Eclipse are you using? They were some bugs fixed around in this area. If you see this bug in 3.6.2 or 3.7 latest milestone, please open a bug with JDT/Core.
Re: Dead lock at Eclipse startup [message #660390 is a reply to message #660310] Fri, 18 March 2011 09:38 Go to previous message
Nicolas  Lalevée is currently offline Nicolas LalevéeFriend
Messages: 14
Registered: July 2009
Junior Member
I was using the 3.6.1. I just updated to the 3.6.2, still the same.

Thus I have opened a bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=340405
Previous Topic:Apply code formatting to 'external' Java source files
Next Topic:How to extend default eclipse java editor
Goto Forum:
  


Current Time: Thu Nov 27 04:56:49 GMT 2014

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

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