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 88076 - Creating of new JFrame takes a long time
Summary: Creating of new JFrame takes a long time
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2006-10-26 11:34 UTC by Jana Maleckova
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (22.84 KB, text/plain)
2006-10-26 11:35 UTC, Jana Maleckova
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2006-10-26 11:34:10 UTC
NetBeans IDE Dev (Build 200610251800)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b99
Windows XP version 5.1 running on x86
cs_CZ (nb); Cp1250
processor: Intel Core Duo Processor

Description:
============
Open NB with clear userdir and create new application. Then try to create new
JFrame in default or in some exact package. This action takes time which is four
or more time longer than usual.
Thread dump is in attachment
Comment 1 Jana Maleckova 2006-10-26 11:35:13 UTC
Created attachment 35564 [details]
thread dump
Comment 2 Jana Maleckova 2006-10-30 10:50:28 UTC
priority was increased
Comment 3 rmatous 2006-10-30 11:49:30 UTC
Reassigned because of attached thread dump.
Comment 4 Tomas Zezula 2006-11-22 10:06:10 UTC
The longer time is related to the backgroung scan of the rt.jar. Creating a new
form file when the backgroung scan finished is the same.
Comment 5 Tomas Zezula 2006-11-22 10:07:42 UTC
Currently the background scan can be interruped on the level of an archive or a
source root. The fix requires interrupt on the level of a file.
Comment 6 Tomas Zezula 2007-04-25 13:55:34 UTC
Checking in BinaryAnalyser.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/BinaryAnalyser.java,v
 <--  BinaryAnalyser.java
new revision: 1.10; previous revision: 1.9
done
Checking in RepositoryUpdater.java;
/cvs/java/source/src/org/netbeans/modules/java/source/usages/RepositoryUpdater.java,v
 <--  RepositoryUpdater.java
new revision: 1.51; previous revision: 1.50
done
Comment 7 Jana Maleckova 2007-05-29 15:51:51 UTC
verified on

NetBeans IDE Dev (Build 200705281800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252