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 170535 - Canceling of sampling task is slow
Summary: Canceling of sampling task is slow
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-08-18 11:00 UTC by Tomas Hurka
Modified: 2009-08-21 06:09 UTC (History)
0 users

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 Tomas Hurka 2009-08-18 11:00:09 UTC
executor.awaitTermination() is invoked when canceling sampling task. This is unnecessary and it slows down canceling of sampling task.
Comment 1 Tomas Hurka 2009-08-18 11:18:47 UTC
Fixed in profiler-main
changeset:   141543:ab8d71620476
user:        Tomas Hurka <thurka@netbeans.org>
date:        Tue Aug 18 12:10:45 2009 +0200
summary:     bugfix #170535, do not wait for executor's termination if the action command is 'cancel'
Comment 2 Quality Engineering 2009-08-21 06:09:25 UTC
Integrated into 'main-golden', will be available in build *200908210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/ab8d71620476
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #170535, do not wait for executor's termination if the action command is 'cancel'