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 217723

Summary: 42s - slow appearance of popup menu for Make file data object
Product: cnd Reporter: Exceptions Reporter <exceptions_reporter>
Component: EditorAssignee: issues@cnd <issues>
Status: RESOLVED WONTFIX    
Severity: normal CC: anba, issues
Priority: P3 Keywords: PERFORMANCE
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 182595
Attachments: nps snapshot

Description Exceptions Reporter 2012-09-03 08:11:34 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: Windows 7

User Comments:
GUEST: I dont know!



Maximum slowness yet reported was 42632 ms, average is 22923
Comment 1 Exceptions Reporter 2012-09-03 08:11:38 UTC
Created attachment 123811 [details]
nps snapshot
Comment 2 Alexander Simon 2012-09-13 08:26:47 UTC
Problem method is Utilities.actionsForPath().
It blocks EDT for a while.
Reassign to evaluation.
Comment 3 Jaroslav Tulach 2012-11-05 13:16:59 UTC
Well, try to fix your harddisk, so loading of classes from it is faster. 

Should you consider this case important from CND point of view, try to pre-load important objects into memory when a CND project is created/opened. When the actual right-click on the Makefile data object happens there does not seem anything to do to speed things up (in case of such a slow disk access).
Comment 4 Vladimir Voskresensky 2012-11-07 10:02:11 UTC
Looks like the problem is not only with disk, but with system (and jvm) in principle. The other strange hotspot method in snapshot is SwingUtilities.isEDT which goes into "native" and spends 10sec there (while being in EDT)
Comment 5 Alexander Simon 2012-12-13 07:21:10 UTC
Problem in software/hardware of user computer.
Do not fix.