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.
Product Version = NetBeans IDE 8.2 (Build 201609300101) Operating System = Linux version 4.4.0-38-generic running on amd64 Java; VM; Vendor = 1.8.0_102 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b14 Reproducibility: Happens sometimes, but not always NB is sometimes VERY slow saving an updated java source file. Almost all of my projects, including the one I was working on that prompted this ticket, have Compile on Save = true. In this case, I made a change and pressed Ctrl + S to save the file. It took approximately 30 seconds before the UI thread was responsive again or the tab changed from bold to normal font, indicating that the save was complete. I've noticed that once NB is in this slow mode that it happens at every / almost every file save. Restarting NB clears the problem for a while. I will shortly attach a self profiler snapshot. The profiling was started immediately before saving the file and stopped as soon as the UI was responsive again afterwards.
Created attachment 162442 [details] IDE log
Created attachment 162443 [details] Self profling snapshot as described
System uses very high CPU when the slowness is going on.