xtext builder hangs eclipse on unrelated changes [message #1323142] |
Wed, 30 April 2014 05:44 |
|
Hey!
I have added my DSL's main plugin (the one containing the .xtext and mwe2 files) to our "large" workspace (~800 plugins, ~30000 java files, ~2GB on disc). I just added it, nothing more, and now when changing something unrelated (in a different plugin; in this particular case i changes a .target file in the default text editor) eclipse hangs on save. It returns after a few /minutes/ (!) only.
I have jstack'd a little, and it seems that this is caused by the xtext builder somehow. Attached are a few of the observed stacks where it seems to spend some time
Any Ideas? I added the plugin so that I'm able to load my DSL files not only from the IDE but also at runtime from our applications...
EDIT: I used to develop this plugin in a smaller workspace used to develop our IDE integration stuff - there it worked perfectly.
-
Attachment: stacks.txt
(Size: 10.18KB, Downloaded 297 times)
[Updated on: Wed, 30 April 2014 05:48] Report message to a moderator
|
|
|
|
|
|
Re: xtext builder hangs eclipse on unrelated changes [message #1333682 is a reply to message #1333594] |
Mon, 05 May 2014 07:12 |
|
seems that at least org.eclipse.xtext.builder.impl.ProjectOpenedOrClosedListener.scheduleRemoveProjectJob(IProject) has some quite uncool runtime behavior... can somebody elaborate on what this is doing and why? could we just kick that out or reduce it? "remove a project from my list" does not sound like it should double or triple (!!) the build time of our workspace
|
|
|
|
Re: xtext builder hangs eclipse on unrelated changes [message #1334293 is a reply to message #1333691] |
Mon, 05 May 2014 13:55 |
|
Hey,
Thanks for the answer It seems that the handling of "projects it does not want to look at" takes 90 percent of the time it is working... Something is strange there. The long-lasting thing is asking JDT for whether a certain "Openable" is open or not.
I noticed that after some while some caches seem to get so hot, that there are not many delays anymore. Still my fellow devs will kill me if I ruin them a single day
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04538 seconds