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 225191

Summary: 93s - PhysicalView$ProjectIconNode.swap() does a lot of I/O in EDT
Product: projects Reporter: Alexander Simon <alexvsimon>
Component: Generic Projects UIAssignee: Milos Kleint <mkleint>
Status: RESOLVED WONTFIX    
Severity: normal CC: alexvsimon, alvarlaigna, issues, vv159170
Priority: P2 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 197751
Attachments: nps snapshot
YourKit report

Description Alexander Simon 2013-01-22 14:53:19 UTC
Build: NetBeans IDE Dev (Build 20130122-804d6d6b4eac)
VM: Java HotSpot(TM) Client VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_11-b21
OS: SunOS

User Comments:
GUEST: I was trying to open and start working with a project. I haven't made any changes to any files, or even try to open anything.



Maximum slowness yet reported was 97824 ms, average is 65275
Comment 1 Alexander Simon 2013-01-22 14:53:23 UTC
Created attachment 130492 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2013-01-23 15:43:28 UTC
Few calls to org.netbeans.modules.project.ui.PhysicalView$ProjectIconNode.getIcon()	
result in enormous disk activity:
org.netbeans.modules.ide.ergonomics.fod.FeatureProjectFactory$Data.hasFile()

could the 
org.netbeans.modules.project.ui.PhysicalView$ProjectIconNode.swap()
be rescheduled outside of EDT?
Comment 3 Jaroslav Tulach 2013-01-23 15:54:57 UTC
*** Bug 225189 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Simon 2013-01-29 13:45:10 UTC
Created attachment 130784 [details]
YourKit report
Comment 5 Alexander Simon 2013-01-29 13:46:32 UTC
(In reply to comment #4)
> Created attachment 130784 [details]
> YourKit report
Sorry wrong comment
Comment 6 Milos Kleint 2013-06-26 07:25:51 UTC
*** Bug 231791 has been marked as a duplicate of this bug. ***
Comment 7 Alexander Simon 2013-06-26 08:00:07 UTC
36 exception reports + 2 duplicate => P2
Comment 8 Milos Kleint 2013-06-26 08:01:16 UTC
(In reply to comment #7)
> 36 exception reports + 2 duplicate => P2

where did you get that rule?
Comment 9 Milos Kleint 2013-08-30 07:05:37 UTC
only appears to happen with 1.7.0_13 maximum. Might have been an issue with early 1.7 jdks. Please reopen if you encounter with update 21 or 25.