Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321275

Summary: [performance] repository linking provider stalls working set dialog for a long time
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Project Inbox <mylyn-triaged>
Status: CLOSED MOVED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Steffen Pingel CLA 2010-07-29 19:01:46 EDT
Steps:
1. Open the task working set dialog for a large workspace that has an SVN provider installed

It takes a long time (minutes) until the properties dialog is displayed.

"main" prio=10 tid=0x09c06800 nid=0x4531 runnable [0xf6a1f000]
   java.lang.Thread.State: RUNNABLE
	at java.lang.Thread.start0(Native Method)
	at java.lang.Thread.start(Thread.java:597)
	- locked <0xe68be0c0> (a java.util.TimerThread)
	at java.util.Timer.<init>(Timer.java:154)
	at java.util.Timer.<init>(Timer.java:122)
	at org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNRepositoryPool.java:146)
	- locked <0xbaebfb00> (a java.lang.Class for org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool)
	at org.tmatesoft.svn.core.wc.DefaultSVNRepositoryPool.<init>(DefaultSVNRepositoryPool.java:121)
	at org.tmatesoft.svn.core.javahl.SVNClientImpl.getClientManager(SVNClientImpl.java:1787)
	at org.tmatesoft.svn.core.javahl.SVNClientImpl.getSVNWCClient(SVNClientImpl.java:1807)
	at org.tmatesoft.svn.core.javahl.SVNClientImpl.propertyGet(SVNClientImpl.java:1264)
	at org.tmatesoft.svn.core.javahl.SVNClientImpl.propertyGet(SVNClientImpl.java:1257)
	at org.tmatesoft.svn.core.javahl.SVNClientImpl.propertyGet(SVNClientImpl.java:1253)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.propertyGet(AbstractJhlClientAdapter.java:1404)
	at org.tigris.subversion.subclipse.ui.settings.ProjectProperties.getSvnProperty(ProjectProperties.java:275)
	at org.tigris.subversion.subclipse.ui.settings.ProjectProperties.getProjectProperties(ProjectProperties.java:289)
	at org.tigris.subversion.subclipse.ui.settings.ProjectProperties.getProjectProperties(ProjectProperties.java:337)
	at org.tigris.subversion.subclipse.mylyn.SubclipseTaskRepositoryLinkProvider.getTaskRepository(SubclipseTaskRepositoryLinkProvider.java:34)
	at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin$12.run(TasksUiPlugin.java:1252)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.getRepositoryForResource(TasksUiPlugin.java:1245)
	at org.eclipse.mylyn.internal.tasks.ui.workingsets.TaskWorkingSetPage$WorkingSetPageContentProvider.getChildren(TaskWorkingSetPage.java:128)
	at org.eclipse.mylyn.internal.tasks.ui.workingsets.TaskWorkingSetPage$WorkingSetPageContentProvider.getElements(TaskWorkingSetPage.java:175)
	at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:989)
Comment 1 Steffen Pingel CLA 2010-08-02 16:47:45 EDT
The solution would be to move processing to a separate thread and allow the user to cancel or run it in the background and refresh the view once linking information is available.
Comment 2 Eclipse Webmaster CLA 2022-11-15 11:45:08 EST
Mylyn has been restructured, and our issue tracking has moved to GitHub [1].

We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub.

[1] https://github.com/orgs/eclipse-mylyn