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: | LowPerformance took 9930 ms. ClassPath.entries() loads a MavenProject | ||
---|---|---|---|
Product: | projects | Reporter: | FrantaM |
Component: | Maven | Assignee: | Milos Kleint <mkleint> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ovrabec, pprikryl |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 184125 |
Attachments: |
nps snapshot
nps snapshot nps snapshot |
Description
FrantaM
2012-01-03 14:28:22 UTC
Created attachment 114582 [details]
nps snapshot
Code completion is waiting for extremely slow call to the ClassPath.entries() which seems to be blocked by loading of a Maven project. Created attachment 120781 [details]
nps snapshot
Created attachment 123594 [details]
nps snapshot
since 7.3 we hard reference MavenProject instance in the open project and soft reference it for closed projects, before that it was soft referenced all the time. When memory limit was reached such entries were released and then immediately reloaded. I believe that is the case in this issue as well. It should not be happening and indeed the recent reports were not related to maven, I've split them into separate reports. closing as fixed |