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.

Bug 243875 - Long freeze when working with Java projects
Summary: Long freeze when working with Java projects
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-16 23:46 UTC by herve66
Modified: 2014-07-15 21:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans profiling (111.52 KB, application/octet-stream)
2014-04-27 14:22 UTC, herve66
Details

Note You need to log in before you can comment on or make changes to this bug.
Description herve66 2014-04-16 23:46:21 UTC
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.
Comment 1 Jiri Prox 2014-04-20 20:50:11 UTC
Please use "Profile the IDE" action to capture the snapshot of VM and attach it here

Thanks
Comment 2 herve66 2014-04-21 12:51:56 UTC
OK, I will do it.
Comment 3 herve66 2014-04-27 14:22:06 UTC
Created attachment 146967 [details]
Netbeans profiling

The freeze is toward to end of the snapshot. I stopped the recording just after the freeze stopped.
Comment 4 Dusan Balek 2014-07-15 15:08:34 UTC
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.
Comment 5 herve66 2014-07-15 21:31:34 UTC
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).