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.
Summary: | Don't use SourceFileManager for non sources | ||
---|---|---|---|
Product: | java | Reporter: | Jan Pokorsky <jpokorsky> |
Component: | Source | Assignee: | Dusan Balek <dbalek> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | issues, mmirilovic, tzezula |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 153945 | ||
Attachments: |
snapshot preview
snapshot |
Description
Jan Pokorsky
2009-03-24 21:28:50 UTC
Created attachment 78786 [details]
snapshot preview
Created attachment 78787 [details]
snapshot
thanks! *** Issue 161913 has been marked as a duplicate of this issue. *** The problem seems to be in using wrong JavaFileManager, i will take care of it. Any news here? Feel free to re-assign to (?) ... Thanks. I didn't get to such a big numbers. Only called for sources. The results caching is not necessary IMHO, since javac calls list(...) only once per package. The problem here is that for each visited java file the new instance of javac compiler is created. Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/9da7e6b0df5a Manual measurement, find usages on jEdit class: 6.5.1 ---- 6,1s 5,3s 5,2s 6.7 w/o fix --------- 15,1s 15,3s 15,2s 6.7 w/ fix -------- 6,0s 6,0s 6,0s |