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.
We have regular long freezes (30 - 50 s) while using the JavaSE Editor on Java projects. It does not happen in specific moments (I can't find any specific action triggering this, at least no lengthy action at all, at least not a scan), the PC core usage seems still very low (and other apps are not experiencing any slowness at all). While it seems that it happens more often with projects with a lot of source roots (10 for example), sometimes it even happened with a project with one source root only and few Java classes. We experience it on all our PCs running Netbeans 8 (we use it with Java 8), and I experience it at work and also on my home machine (all Windows 7). I never had this kind of problems with the previous Netbeans version, even with Java 8.
Please use "Profile the IDE" action to capture the snapshot of VM and attach it here Thanks
OK, I will do it.
Created attachment 146967 [details] Netbeans profiling The freeze is toward to end of the snapshot. I stopped the recording just after the freeze stopped.
As can be seen from the attached profiler snapshot, AWT Event Dispatch Thread is blocked for more than 40 seconds inside sun.awt.Win32GraphicsDevice.isPixFmtSupported[native]. Slow AWT painting could be caused by an external process running consuming a lot of CPU producing a lot of IO operations. However, there is nothing to fix on NB side.
I understand that you close it for lack of relevant information, but I never had this problem with the same projects with the previous Netbeans version. And when I reopened the projects with NB 7.4 while I had freezes with 8.0, I never had them with 7.4 (with the exactly same projects). FYI the project with a lot of source roots was under SVN (I still have this problem, either on sourceforge, or on a completely different internal SVN sever at my company).