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 102597

Summary: completion and hyperlinks VERY slow
Product: java Reporter: Milos Kleint <mkleint>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: blocker CC: issues, pjiricka
Priority: P1 Keywords: PERFORMANCE
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: sample TD

Description Milos Kleint 2007-04-26 10:34:55 UTC
build 200704251800 + jdk 1.5 + linux mandriva.
clean userdir, opened a bunch of maven projects and 2 netbeans module projects.

at start the IDE keeps on compiling all the source roots for netbeans modules. Fine.

After the compiling is finished, invoke code completion. Another storm of
"compiling ..." progress bars appears, CC shows "Scanning in progress". Actual
CC appears only after the complete scan of nb source finishes.. Repeats for any
invocation of CC. CPU at 100% all the time.

Same behavior is noticeable when invoking hyperlinks.

Renders the IDE unusable -> P1. (I was advised to remove the task list modules,
which I did, no noticeable difference though)

attaching sample thread dump.
Comment 1 Milos Kleint 2007-04-26 10:36:15 UTC
Created attachment 41706 [details]
sample TD
Comment 2 Jan Lahoda 2007-04-26 14:23:57 UTC
Should be fixed in the trunk. Keeping open for now to cover fix in M9.

Checking in src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v
 <--  RepositoryUpdater.java
new revision: 1.52; previous revision: 1.51
done
Comment 3 Jan Lahoda 2007-04-26 18:24:39 UTC
Fixed in M9:
Checking in RepositoryUpdater.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v
 <--  RepositoryUpdater.java
new revision: 1.51.2.1; previous revision: 1.51
done