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 - completion and hyperlinks VERY slow
Summary: completion and hyperlinks VERY slow
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2007-04-26 10:34 UTC by Milos Kleint
Modified: 2007-04-27 10:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample TD (17.81 KB, text/plain)
2007-04-26 10:36 UTC, Milos Kleint
Details

Note You need to log in before you can comment on or make changes to this bug.
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