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 28911 - Bad performance of expanding mounted directory under Sources
Summary: Bad performance of expanding mounted directory under Sources
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2002-11-21 13:33 UTC by Jiri Rechtacek
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the stacktraces of deadlock (27.78 KB, text/plain)
2002-11-21 13:34 UTC, Jiri Rechtacek
Details
ide log (39.75 KB, text/plain)
2002-11-21 13:36 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2002-11-21 13:33:45 UTC
(Build 200211211326)
I added to Sources of Sample project a local
directory. The deadlock appears when the expanding
directory. It's easy reproducible.
Comment 1 Jiri Rechtacek 2002-11-21 13:34:57 UTC
Created attachment 8012 [details]
the stacktraces of deadlock
Comment 2 Jiri Rechtacek 2002-11-21 13:36:30 UTC
Created attachment 8013 [details]
ide log
Comment 3 Vitezslav Stejskal 2002-11-21 14:18:34 UTC
Although I can say what happens this definitely doesn't look like a
deadlock. Look at your FTDs; both you've posted are different. Is the
IDE really frozen (e.g. no CPU activity)? What sources root have you
mounted in the project? How many packages (approx.) they had?
Comment 4 Jiri Rechtacek 2002-11-21 14:37:44 UTC
You are right. The computation run for ages and then successfully
finished. I should take more patience.
Comment 5 Vitezslav Stejskal 2002-11-21 15:10:45 UTC
I wouldn't close this issue. Computing list of packages might be
expensive in case of huge folders tree, but it definitely must not
take ages. There is very likely some performance bug in the
implementation and should find & fix it.
Comment 6 Milan Kubec 2002-11-22 14:17:30 UTC
I added folder with sources of core module under Sources node and it
took about *35 seconds* to expand that node. It's not related to
Sample Project. Raising priority to P2.
Comment 7 Vitezslav Stejskal 2003-01-02 13:30:00 UTC
I am not sure whether the new impl of packages node makes this problem
better or worse :-), please check.
Comment 8 Tomas Pavek 2003-05-28 17:47:18 UTC
I guess we could close this issue as fixed - the performance of
Sources node is not so horrible now it would look like deadlock and
could be considered a defect. I will file a new issue about
performance and scalability problems of exapanding packages under
Packages node.
Comment 9 Tomas Pavek 2003-05-29 08:55:22 UTC
Issue 33979 filed.
Comment 10 Jan Becicka 2003-11-25 14:03:58 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 11 Jan Becicka 2003-11-25 14:13:08 UTC
---> CLOSED