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: | Costly conversions in UpdateTrackingFOQuery | ||
---|---|---|---|
Product: | apisupport | Reporter: | _ rkubacki <rkubacki> |
Component: | Project | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P4 | Keywords: | PERFORMANCE |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 65135 |
Description
_ rkubacki
2005-10-03 11:40:55 UTC
I don't know how to fix it in apisupport. It is unacceptable for ModuleList to keep FileObject keys as it could leak memory. IMHO is would be much better to fix FileUtil.toFile to use some sort of cache (which would also benefit all callers, not just apisupport). I agree that caching might improve it a bit - issue #66361 OTOH we should be able to improve current state for users that develop just regular J2SE/J2EE projects and do not have any NB module on their disk at least. I mean as long as the ModuleList.knownEntries is empty the query can return null and no conversion is needed. Will implement the suggested optimization. committed * Up-To-Date 1.3 apisupport/project/src/org/netbeans/modules/apisupport/project/queries/UpdateTrackingFileOwnerQuery.java committed * Up-To-Date 1.20 apisupport/project/src/org/netbeans/modules/apisupport/project/universe/ModuleList.java Radim, can you verify this bug? |