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 - org.openide.filesystems.JarFileSystem.getJar: LowPerformance took 43680 ms.
Summary: org.openide.filesystems.JarFileSystem.getJar: LowPerformance took 43680 ms.
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2015-02-26 11:22 UTC by Exceptions Reporter
Modified: 2015-10-08 09:01 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215699


Attachments
nps snapshot (56.03 KB, application/nps)
2015-02-26 11:22 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.