Bug 179529 - Stop Eclipse takes a lot of time in case of big workspace
Summary: Stop Eclipse takes a lot of time in case of big workspace
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M7   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2007-03-27 09:55 EDT by Eric Jodet CLA
Modified: 2007-04-27 10:14 EDT (History)
0 users

See Also:


Attachments
Stack Trace (28.42 KB, text/file)
2007-03-27 09:56 EDT, Eric Jodet CLA
no flags Details
screen shot (279.87 KB, image/jpeg)
2007-03-27 09:57 EDT, Eric Jodet CLA
no flags Details
screen shot (206.43 KB, image/jpeg)
2007-03-27 09:58 EDT, Eric Jodet CLA
no flags Details
screen shot (136.43 KB, image/jpeg)
2007-03-27 09:58 EDT, Eric Jodet CLA
no flags Details
Proposed fix and regression test (4.24 KB, patch)
2007-03-29 10:52 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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