Bug 179529

Summary: Stop Eclipse takes a lot of time in case of big workspace
Product: [Eclipse Project] JDT Reporter: Eric Jodet <eric_jodet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: performance
Version: 3.3   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Stack Trace
none
screen shot
none
screen shot
none
screen shot
none
Proposed fix and regression test none

Description Eric Jodet CLA 2007-03-27 09:55:22 EDT
Version: 3.3.0
Build id: I20070323-1616

(open against jdt.core, but other components might be involved in this one)

Scenario is as follows:
- start RAD, and (source) import the 1360+ plugins in your workspace,
- stop RAD and start Eclipse against this workspace.
- as soon as the UI becomes visible and the InitializeAfterLoad job is launched, quit the workbench.
- Cancel any pending background task

--> though Cancelled, some jobs are not stopping quickly (see to_be_attached screen shots) - mainly the InitializeAfterLoad job, then the Save Workspace.

We could try and better manage the fact that such jobs were cancelled, which, from a user perspective, does not seem to be the case.
Comment 1 Eric Jodet CLA 2007-03-27 09:56:51 EDT
Created attachment 62090 [details]
Stack Trace
Comment 2 Eric Jodet CLA 2007-03-27 09:57:36 EDT
Created attachment 62091 [details]
screen shot

chronological order
Comment 3 Eric Jodet CLA 2007-03-27 09:58:00 EDT
Created attachment 62092 [details]
screen shot

chronological order
Comment 4 Eric Jodet CLA 2007-03-27 09:58:23 EDT
Created attachment 62093 [details]
screen shot

chronological order
Comment 5 Jerome Lanneluc CLA 2007-03-29 10:04:41 EDT
Note that the 'Saving Workspace' dialog is blocked because the 'Initializing Java Tooling' job is not checking for cancel.
Comment 6 Jerome Lanneluc CLA 2007-03-29 10:52:57 EDT
Created attachment 62394 [details]
Proposed fix and regression test
Comment 7 Jerome Lanneluc CLA 2007-03-29 11:00:02 EDT
Fix and test released for 3.3M7 in HEAD.
Comment 8 Eric Jodet CLA 2007-04-27 09:14:32 EDT
Verified for 3.3 M7 using build I20070427-0010