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 159607 - Shut-down performance
Summary: Shut-down performance
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-03-04 13:46 UTC by David Strupl
Modified: 2009-03-21 08:36 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2009-03-04 13:46:49 UTC
When the IDE is shutting down (notified by the ModuleInstall.<something>) everyone should stop firing new events.
Comment 1 Vitezslav Stejskal 2009-03-11 15:40:02 UTC
I've already added code that stops RepositoryUpdater from accepting new tasks after the IDE shutdown is initiated. I'll
add some tests to verify that this actually works. Did we have any measurements done in 6.5, which would demonstrate the
problem?
Comment 2 Vitezslav Stejskal 2009-03-19 11:07:06 UTC
http://hg.netbeans.org/jet-main/rev/9e4eeb2a39ec
Comment 3 Quality Engineering 2009-03-21 08:36:31 UTC
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9e4eeb2a39ec
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #159607: proper task cancelling when RepositoryUpdater.stop() is called