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 241372 - org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationModelHelper.runJavaSourceTask: LowPerformance took 62909 ms.
Summary: org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationMod...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-02-04 09:37 UTC by Exceptions Reporter
Modified: 2016-07-07 08:54 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207261


Attachments
nps snapshot (149.48 KB, application/nps)
2014-02-04 09:37 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-02-04 09:37:30 UTC
This issue was reported manually by mjanicek.
It already has 1 duplicates 


Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 7

User Comments:
GUEST: Background Scanning of project..



Maximum slowness yet reported was 62909 ms, average is 62909
Comment 1 Exceptions Reporter 2014-02-04 09:37:34 UTC
Created attachment 144762 [details]
nps snapshot
Comment 2 Sergey Petrov 2014-02-04 11:33:57 UTC
I see no web.beans package on exception report page 
http://statistics.netbeans.org/exceptions/exception.do?id=704319
why you mark it as cdi issue?
Comment 3 Sergey Petrov 2014-02-04 12:43:05 UTC
ok, I see now in nps file
Comment 4 Martin Janicek 2014-02-04 12:46:53 UTC
Because when I check nps snapshot I have seen only classes from web.beans (I mean from NetBeans code base). I don't know I didn't evaluate it like anyhow further, I was just trying to split different exception reports that were merged in one issue but they obviously didn't have anything in common.

Feel free to pass it somewhere else or close it if you think it's not valid or something.
Comment 5 Sergey Petrov 2014-02-04 13:56:55 UTC
Either valid cdi issue or more like core issue.
I'm not sure< but it looks like single call to compilationController.getTrees().getTree( element ); cause 50 seconds calculations, in this case it seems hard to improve something at least without additional details regarding project structure and injection points nature.
Comment 6 Sergey Petrov 2014-02-04 14:00:31 UTC
message.log contain enormous number of entries with
WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(\\dbe.ads.db.com\esbdfs$\users\qtk100\config\.m2\repository\org\apache\deltaspike\modules\deltaspike-security-module-api\0.5\deltaspike-security-module-api-0.5.jar) took 690 ms. Result is \\dbe.ads.db.com\esbdfs$\users\qtk100\config\.m2\repository\org\apache\deltaspike\modules\deltaspike-security-module-api\0.5\deltaspike-security-module-api-0.5.jar
WARNING [org.openide.filesystems.FileUtil]: FileUtil.normalizeFile(\\dbe.ads.db.com\esbdfs$\users\qtk100\config\.m2\repository\org\apache\deltaspike\modules\deltaspike-security-module-impl\0.5\deltaspike-security-module-impl-0.5.jar) took 700 ms. Result is \\dbe.ads.db.com\esbdfs$\users\qtk100\config\.m2\repository\org\apache\deltaspike\modules\deltaspike-security-module-impl\0.5\deltaspike-security-module-impl-0.5.jar

may be some general fs slowness or low memory
Comment 7 Sergey Petrov 2014-07-11 12:09:31 UTC
ok, now I see web.beans information in first snapshot but it seems urelated with general slowness, no traces in call tree, only in hotspot, but some cdi verification may goes long, it's the reason why some marks may appear after some time, but usually it cause no harm to ide usability. if understend spapshot content well.
second snapshot have almost nothing with web.beans, just a few calls with dozens or two or milliseconds in total.
but both contain maven.j2ee in awt thread which park for a long time for some reason.
Comment 8 Martin Balin 2016-07-07 08:54:29 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss