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.
Build: NetBeans IDE Dev (Build 201211200002) VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b06 OS: Linux User Comments: wadechandler: I had opened about 13 Maven NB RCP and Java projects. I expanded the packages in one of them. I selected 9 files. I right clicked on those files. My mouse rolled over the History and Mercurial menu items. One of them stayed highlighted. The IDE had a progress bar stating it was background scanning when I did this. The IDE froze for nearly 30 seconds. Maximum slowness yet reported was 27908 ms, average is 26955
Created attachment 128239 [details] nps snapshot
Well, it's not blocked by any I/O or a mutex, it's simply matching file paths against hgignore patterns in memory. There are three threads doing the same job and the AWT thread seems to share resources with the other two, but i would guess the AWT should have a higher priority, don't know. BTW how many records do you have in your .hgignore file?
Created attachment 129163 [details] fix proposal, but is it safe?
Created attachment 129166 [details] fix proposal, updated
*** This bug has been marked as a duplicate of bug 223507 ***