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 215570 - InstallUnitWizardModel.doCleanup() took 174 s.
Summary: InstallUnitWizardModel.doCleanup() took 174 s.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-07-16 07:38 UTC by Alexander Simon
Modified: 2012-11-07 08:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 190767


Attachments
nps snapshot (658.98 KB, application/nps)
2012-07-16 07:38 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2012-07-16 07:38:38 UTC
This bug was originally marked as duplicate of bug 173841, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 RC1 (Build 201206272359)
VM: Java HotSpot(TM) Client VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b05
OS: SunOS

User Comments:
alexvsimon: IDE hung after canceling update



Maximum slowness yet reported was 174630 ms, average is 174630
Comment 1 Alexander Simon 2012-07-16 07:38:52 UTC
Created attachment 122046 [details]
nps snapshot
Comment 2 Jiri Rechtacek 2012-10-05 10:01:52 UTC
Handling cancel causes initialization of whole module which might be useless when user canceled it.
InstallUnitWizardModel.doCleanup(true) calls OperationContainer.getSupport() which calls listAllWithPossibleEager()
Comment 3 Jiri Rechtacek 2012-11-07 08:39:44 UTC
http://hg.netbeans.org/core-main/rev/6af6f1a0b650