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 104013 - Processing compiler set at shutdown slows down the Netbeans shutdown dramatically
Summary: Processing compiler set at shutdown slows down the Netbeans shutdown dramatic...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: _ gordonp
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2007-05-15 19:06 UTC by Vladimir Kvashin
Modified: 2007-06-19 22:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A stack fragment (2.53 KB, text/plain)
2007-05-15 19:07 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2007-05-15 19:06:45 UTC
I observed the following situation. I had some PATH elements that were
unreachable. I launched Netbeans with CND; I didn't open any project and just
closed Netbeans. I noticed that the process does not finish for minutes. The
stack shows that it is CompilerSetManager who performs file IO.

I'd like to mention that in this case I had only installed CND, I wasn't going
to work with C/C++ code at all, so it's quite natural to not have compilers in
my path.
Comment 1 Vladimir Kvashin 2007-05-15 19:07:30 UTC
Created attachment 42429 [details]
A stack fragment
Comment 2 _ gordonp 2007-06-19 22:27:47 UTC
The CompilerSetManager was being initialized during closure because it had not been
previously. Since its closing, there is nothing to be gained by initializing it. I've
changed it so it only executes the closure code if its already been initialized.