Community
Participate
Working Groups
Build ID: M20080221-1800 Steps To Reproduce: 1. Have projects connected with svn in the workspace 2. Start up eclipse 3. More information: Whenever I start eclipse with all my svn projects, there are more than 1000 threads created by the JavaHLConnector! This degrades performance and I have to wait about half a minute until the svn overlays show up and eclipse is finally usable. I tracked the issue and noticed that in JavaHLConnector, a new thread is created with each new ProcessMonitorWrapper. It is much more efficient to use only one thread to monitor all process monitors! I have made a patch where one thread as singleton watches all progress monitors for cancellation. For me this improved the startup speed of eclpse considerably. This thread stays running all the time (blocked on a monitor if it has nothing to do), but could also be killed when it has no more things to watch by adding a timeout to the wait(). Same issue concerns the svnkit connector implementation. Please consider fixing this issue. Thank you!
Created attachment 103702 [details] Patch to solve the problem
Created attachment 103718 [details] improved patch
Created attachment 103719 [details] patch for svn kit connector I've also patched SVNKitConnector.java in a similar manner.
Thank you for the provided patches. These patches will be included into Subversive 0.7.1 which will come soon.
Fixed build will be available at the end of this week.