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 205491 - 4s - useless processing in CloseAllButThisAction.propertyChange
Summary: 4s - useless processing in CloseAllButThisAction.propertyChange
Status: RESOLVED DUPLICATE of bug 216454
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.1
Hardware: All All
: P4 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-11-23 17:00 UTC by vercinstex
Modified: 2012-09-19 15:31 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 162222


Attachments
nps snapshot (109.76 KB, application/nps)
2011-11-23 17:00 UTC, vercinstex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vercinstex 2011-11-23 17:00:48 UTC
Build: NetBeans IDE Dev (Build 2011-11-23_09-04-33 )
VM: Java HotSpot(TM) Client VM, 20.4-b02, Java(TM) SE Runtime Environment, 1.6.0_29-b11
OS: Windows 7

User Comments:
_m4c0_: * clicking on "Output" window button with editor area maximized

GUEST: Scanning a PHP project with remote (LAN) sources



Maximum slowness yet reported was 249414 ms, average is 38766
Comment 1 vercinstex 2011-11-23 17:00:53 UTC
Created attachment 113484 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2011-11-24 06:59:41 UTC
The longest report is 
http://statistics.netbeans.org/exceptions/exception.do?id=514765
and it seems to indicate the AWT thread is blocked on 
org.netbeans.modules.editor.indent.IndentImpl.indentLock() for 239383 ms.
Comment 3 Dusan Balek 2011-11-24 09:19:05 UTC
The longest report is a duplicate of #196753 (already fixed in NB 7.0.1). Since no other of the recent reports mentions the editor/indentation, returning back to filesytems.
Comment 4 Jaroslav Tulach 2011-11-24 10:14:17 UTC
OK, I made the report 514765 duplicate of http://statistics.netbeans.org/exceptions/detail.do?id=169474 then.

Then we have a report when one call to 
org.openide.actions.OpenAction.performAction()	100.0	3290 ms (100%)	2326 ms	1
results in 104 calls to 
org.openide.windows.TopComponent.open()	51.101692	1681 ms (51,1%)	1681 ms	104

Possibly a multiselection issue. ~700ms is waisted in 
org.netbeans.core.windows.actions.CloseAllButThisAction.propertyChange()	22.436134	738 ms (22,4%)	738 ms	71
and could be eliminated by using invokeLater once rather than updating the state immediatelly.
Comment 5 Stanislav Aubrecht 2012-09-19 15:31:16 UTC

*** This bug has been marked as a duplicate of bug 216454 ***