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 238053 - org.netbeans.modules.maven.queries.MavenFileEncodingQueryImpl.getEncoding: LowPerformance took 29633 ms.
Summary: org.netbeans.modules.maven.queries.MavenFileEncodingQueryImpl.getEncoding: Lo...
Status: RESOLVED DUPLICATE of bug 237174
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-11-06 13:47 UTC by pclement
Modified: 2013-11-07 09:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205077


Attachments
nps snapshot (236.71 KB, application/nps)
2013-11-06 13:48 UTC, pclement
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pclement 2013-11-06 13:47:55 UTC
This bug was originally marked as duplicate of bug 235602, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Mac OS X

User Comments:
pclement: I clicked on a named query text emParty.createNamedQuery("Party.findPersonByIdentifyingAuthority", Person.class), which should take me to the query definition. It did work, but took long.



Maximum slowness yet reported was 29633 ms, average is 29633
Comment 1 pclement 2013-11-06 13:48:01 UTC
Created attachment 141905 [details]
nps snapshot
Comment 2 Milos Kleint 2013-11-07 07:11:41 UTC
I'm not seeing anything spectacularly wrong with MavenFileEncodingQueryImpl, or FileEncodingQuery in general. It just appears to get called very often.

reassigning to javaee to evaluate the namedqueryhyperlinkprovider usage of lazylines api. other possible culprit might be the openide/text code itself.


pclement: please use a more recent version of jdk. I've seen a lot OS level IO slowness reports with jdks lower than update 21.
Comment 3 Sergey Petrov 2013-11-07 09:48:31 UTC
looks like a duplicate of issue 237174

*** This bug has been marked as a duplicate of bug 237174 ***