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.
please evalueate.
Created attachment 8463 [details] thread dump
XML file was opened in editor. IDE was on background. After switch to ide deadlock occured.
Hm, It is not deadlock. Folder recognizer is runing This is performace problem. AWT thread was blocket for long time.
*** Issue 28636 has been marked as a duplicate of this issue. ***
Seems like a problem in FolderList - virtually endless refreshing of the list.
This is very hard to reproduce. With enabled logging (by passing -Dorg.openide.loaders.FolderList=-1 command line param) it shows that when a lot of folders are scanned the whole process blocks AWT thread. It is hard to get it to a state when this is a problem --> making it P3.
Changed owner David S. -> David K.
Changing TM to "FUTURE" which is more appropriate, because at the moment I do not plan to fix this issue for next version. Let me know if you disagree. I'm open to change the plan.
The AWT thread in the tread dump seems to be blocked by loading of annotation types, when editor's menu is constructed. The only solution is either to construct the menu without knowing the list of annotations or to pre-compute the list. It is hard to make FolderList faster, I would say impossible. Btw. maybe this is no longer problem for promo-D as I saw the editor menu to be made significantly smaller.
This is no longer an issue as the "Margin" submenu was removed from the editor's context menu according to the UI spec http://ui.netbeans.org/docs/hi/promoD/editorMenus.html
v