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 20474 - Asynchronous MDR initialization/bootup
Summary: Asynchronous MDR initialization/bootup
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Martin Matula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-12 17:58 UTC by Svata Dedic
Modified: 2002-08-08 15:24 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2002-02-12 17:58:54 UTC
When some GUI code tries to access the Repository, the AWT thread blocks up on
MDR initialization which takes some time.
I suggest that the MDR module API allows to start the initialization
asynchronously and obtain an initialization Task (org.openide.util.Task), which
can be waited on and which sends out an event when the initialization is complete.
Comment 1 Martin Matula 2002-02-13 14:06:00 UTC
This is a problem - very likely it is not a repository initialization
that takes the time - it is any JMI call that touches the repository
for the first time. The first request to a repository extent is slower
because the storage does not have anything in its cache yet.
Repository bootstrap is an exception - it probably can be done on some
other thread, however repository boots very rarely, so I changed the
priority of this issue to P4.
Comment 2 Martin Matula 2002-08-08 15:24:28 UTC
see above reasons