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 94924 - IDE hovers at 100% when an Activity Group element is created inside the Partition element
Summary: IDE hovers at 100% when an Activity Group element is created inside the Parti...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Activity (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Yang Su
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2007-02-08 09:26 UTC by Peter Lam
Modified: 2007-02-09 22:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump on linux (10.54 KB, text/plain)
2007-02-08 09:27 UTC, Peter Lam
Details
thread dump on windowsxp (14.46 KB, text/plain)
2007-02-08 09:27 UTC, Peter Lam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Lam 2007-02-08 09:26:08 UTC
This performance issue exists between builds 070206_5 (still ok) and 070207_1
(issue starts).

This only happens with the Activity Group element. Tried all other types of
elements but no such issue. The IDE is not really freezing but cpu is at 100%.
Moving the element still works after a very long while after the move action.

Repro steps:
- create a uml project
- create an activity diagram
- create a Partition element and resize it to a few times bigger on the diagram
- create an Activity Group element on the diagram
Result: 
1. if Activity Group element is created inside the Partition element, the
performance starts immediately
2. if Activity Group element is created outside the Partition element, and then
drag and move it inside the Partition element, the performance will start
immediately
Comment 1 Peter Lam 2007-02-08 09:27:08 UTC
Created attachment 38220 [details]
thread dump on linux
Comment 2 Peter Lam 2007-02-08 09:27:39 UTC
Created attachment 38221 [details]
thread dump on windowsxp
Comment 3 Peter Lam 2007-02-08 09:28:42 UTC
attached are 2 thread dumps when the IDE hovers, one on linux and one on windows xp.
Comment 4 Sergey Petrov 2007-02-08 15:13:30 UTC
have a lot of automation tests fails in activity diagram, greatly affects testing
Comment 5 Yang Su 2007-02-09 04:28:57 UTC
fixed a flaw in diagram refreshing logic that caused cpu runaway
Comment 6 Peter Lam 2007-02-09 22:52:30 UTC
verified fix in build 070209_3.