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 47457 - AutoComment Dlg: slow, mousemove causes calls to MDR
Summary: AutoComment Dlg: slow, mousemove causes calls to MDR
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Javadoc (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-08-19 12:34 UTC by psuk
Modified: 2006-03-24 10:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Part of the logfile w/ stacktraces (24.42 KB, text/plain)
2004-08-19 12:35 UTC, psuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description psuk 2004-08-19 12:34:29 UTC
[dev from CVS, 040818]
Every repaint, mouse move over listbox with fields
and method names or selection change in this
listbox causes storm of calls to MDR. 
It makes the dialog unusable even on fast machine.

1. Apply patch for showing call stacks in
ExclusiveMutex (Issue 47456)
2. Rebuild
3. Open some project and java file
   (can be just basic J2SE project and Main.java)
4. Invoke Tools->Auto Comment
5. Click or do mouse move over listbox with
methods/fields
6. You'll get a lot of calls to ExclusiveMutex
from AutoCommentListCellRenderer for each paint
Similar storm happens everytime when the IDE needs
to repaint the listbox.
Comment 1 psuk 2004-08-19 12:35:53 UTC
Created attachment 16948 [details]
Part of the logfile w/ stacktraces
Comment 2 Jan Pokorsky 2004-09-01 15:55:45 UTC
AutoCommentListCellRenderer is the culprit. I am working on this
within javadoc module migration from srcmodel to jmi.
Comment 3 Jan Pokorsky 2004-09-07 11:45:13 UTC
fixed as a part of issue #46262

/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/ElementDescriptor.java
initial revision: 1.1
/cvs/javadoc/src/org/netbeans/modules/javadoc/comments/AutoCommentListCellRenderer.java
new revision: 1.21; previous revision: 1.20
Comment 4 Max Sauer 2005-07-18 15:34:16 UTC
verified in nbdev 200507131800. (about one mdr per click on listbox item, no mdr
call when hovering with mouse over it).