Bug 514808

Summary: Investigate why "Building the workspace" prevents user interactions
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: ResourcesAssignee: Platform-Resources-Inbox <platform-resources-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Lars.Vogel, loskutov, mikael.barbero, sxenos
Version: 4.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screenshot none

Description Lars Vogel CLA 2017-04-05 18:05:41 EDT
I frequently have the case in which I import lots of projects.
I see a "System: Building workspace" job running.

If I do an action (like delete a project), I frequently get a "The user operation is waiting for "Building the workspace" to complete. Sometimes this dialog cancels relatively fast, sometimes is stays there very long.

I'm not sure what should happen here, but I guess the blocking job should be canceled faster.

To test:

git clone https://github.com/wildfly/wildfly
Install Maven tooling
File -> Import from file system

Wait until import has finished. Build process starts. Try to delete a project.
Comment 1 Lars Vogel CLA 2017-04-05 18:06:40 EDT
Adding Andrey, Mikael and Stefan our performance experts, maybe one of them knows why this blocking operation happens.
Comment 2 Lars Vogel CLA 2017-04-05 18:07:19 EDT
Created attachment 267672 [details]
Screenshot
Comment 3 Andrey Loskutov CLA 2017-04-06 01:01:13 EDT
Lars, as usually in such cases, please create few jstack dumps and attach them here.
Comment 4 Andrey Loskutov CLA 2017-04-06 01:09:33 EDT
I would guess the build locks workspace and as long as it is locked deleting the project must wait.
Comment 5 Stefan Xenos CLA 2017-04-06 23:41:34 EDT
Is this a dupe of bug 329657?
Comment 6 Andrey Loskutov CLA 2017-08-04 03:40:41 EDT

*** This bug has been marked as a duplicate of bug 329657 ***