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 207810

Summary: 49s - NamingFactory.isValid() blocked by I/O in NamingFactory.registerInstanceOf
Product: platform Reporter: Vladimir Voskresensky <vv159170>
Component: FilesystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: normal CC: exceptions_reporter
Priority: P3 Keywords: PERFORMANCE
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 184812
Attachments: nps snapshot

Description Vladimir Voskresensky 2012-01-27 08:16:06 UTC
This issue was reported manually by vv159170.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 20120127-6110033aeafa)
VM: Java HotSpot(TM) Client VM, 20.4-b02, Java(TM) SE Runtime Environment, 1.6.0_29-b11
OS: SunOS

User Comments:
vv159170: save All

vv159170: Save ALL takes each time 50 sec?



Maximum slowness yet reported was 50654 ms, average is 49896
Comment 1 Vladimir Voskresensky 2012-01-27 08:16:19 UTC
Created attachment 115295 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-01-27 09:34:05 UTC
EDT calls:
org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory.isValid()	100.0	39108 ms (100%)	0.000 ms	1

which waits for refresh thread to finish call to File.isDirectory inside:

org.netbeans.modules.masterfs.filebasedfs.naming.NamingFactory.registerInstanceOfFileNaming()	100.0	39108 ms (100%)	39108 ms	1
Comment 3 Jaroslav Tulach 2012-01-27 12:34:04 UTC
ergonomics#461a765fba07
Comment 4 Jaroslav Tulach 2012-03-05 09:42:00 UTC
*** Bug 208314 has been marked as a duplicate of this bug. ***