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 250722

Summary: org.openide.filesystems.JarFileSystem.getJar: LowPerformance took 43680 ms.
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: CDIAssignee: Sergey Petrov <sj-nb>
Status: NEW ---    
Severity: normal CC: csjosiah, gooddreams, kjjaeger, misterm, pkevin, rharvey, vijaya436
Priority: P3 Keywords: PERFORMANCE
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215699
Attachments: nps snapshot

Description Exceptions Reporter 2015-02-26 11:22:18 UTC
This bug was originally marked as duplicate of bug 238731, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Mac OS X

User Comments:
GUEST: Small edit to Java file, then clicked save file - save takes forever to complete.



Maximum slowness yet reported was 43680 ms, average is 43680
Comment 1 Exceptions Reporter 2015-02-26 11:22:19 UTC
Created attachment 152243 [details]
nps snapshot
Comment 2 Jaroslav Havlin 2015-03-03 11:14:10 UTC
Code in o.n.m.web.beans.navigation.actions.WebBeansActionHelper.hasJsr330()
leads to opening a child FileObject in EDT. The file is locked by thread
"org.netbeans.modules.java.hints.declarative.DeclarativeHintRegistry" for a
long time, probably because the filesystem is busy.

Reassigning to javaee/CDI. Please evaluate. If it's difficult to fix the bug, I
think this issue can be closed as WONTFIX, as it is mainly caused by slow
filesystem. Thank you.