This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Currently the check if there is a usable version of svn available is during usual startup performed when window system is loaded and some top component is annotating its name - filesystems forces init of versioning and this calls to subversion init code where external process is started and the IDE waits for its output and result. I do not know if there is a better moment when to do this task but it would be much better to run this check asynchronously so that usual startup can proceed. This can eliminate a period of no activity during startup when there is no thread that can run (init of winsys is mostly singlethreaded activity).
The profiler expreriment is still on my disk (/export/home/radim/analyzer/NetBeans.8.er) and the call chain that initializes subversion is roughly: EDT main loop -> WinSys loading -> settings support reading the file -> top component deserialization -> CloneableEditor.readExternal -> CloneableEditor.updateName -> DataNode.getHhtmlDisplayName -> fs annotation -> VersioningManager init -> SubversionVCS.<init> called from lookup It means this should be visible when there is some editor opened on startup.
> ... it would be much better to run this check asynchronously so that usual startup can proceed versioncontrol has to find out which vcs module (if any) owns the file. Obviously, to find this out the vcs modules have to be initialized. Proceeding asynchronously and firing an event for the relevant files later probably could work with the annotations, even if it's still questionable what would be the resulting performance gain. The more interesting question here is how to handle events in the filesystem interceptor. reassigning to versioncontrol as this isn't a specific svn
Is this issue still INCOMPLETE? Is there anything that should be added to this issue?
> Is this issue still INCOMPLETE? yes > Is there anything that should be added to this issue? a reasonable working solution:)
file owner check made without svn client. client isn't initialized before first user action. fixed.