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 216454 - 9.5s in org.netbeans.core.windows.actions.ActionUtils.closeAllDocuments()
Summary: 9.5s in org.netbeans.core.windows.actions.ActionUtils.closeAllDocuments()
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: PERFORMANCE
: 205491 215220 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-06 20:07 UTC by rodrigorsantos
Modified: 2012-09-19 15:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 173643


Attachments
nps snapshot (316.06 KB, application/nps)
2012-08-06 20:07 UTC, rodrigorsantos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rodrigorsantos 2012-08-06 20:07:21 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.8-b03, Java(TM) SE Runtime Environment, 1.6.0_33-b03
OS: Linux

User Comments:
GUEST: Open a php file, it is quite slow but it is still loaded



Maximum slowness yet reported was 22982 ms, average is 7355
Comment 1 rodrigorsantos 2012-08-06 20:07:25 UTC
Created attachment 122809 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2012-08-07 13:25:56 UTC
One call to org.netbeans.core.windows.actions.ActionUtils.closeAllDocuments()	leads to 100 calls to 
org.netbeans.core.windows.actions.CloseAllButThisAction.propertyChange()	

Probably a memory leak. Maybe the action attaches too many listeners. Maybe easy to fix. Making P2.
Comment 3 Stanislav Aubrecht 2012-08-13 11:19:39 UTC
core-main 13d81e4e5f13
Comment 4 Quality Engineering 2012-08-14 02:42:36 UTC
Integrated into 'main-golden', will be available in build *201208140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/13d81e4e5f13
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #216454 - too many calls to CloseAllButThisAction when closing all documents
Comment 5 Stanislav Aubrecht 2012-09-04 09:42:20 UTC
*** Bug 215220 has been marked as a duplicate of this bug. ***
Comment 6 Stanislav Aubrecht 2012-09-19 15:31:16 UTC
*** Bug 205491 has been marked as a duplicate of this bug. ***