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 220821 - 4s - explorer.ExplorerActionsImpl$OwnPaste.getValue() waits on paste update
Summary: 4s - explorer.ExplorerActionsImpl$OwnPaste.getValue() waits on paste update
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-10-25 09:36 UTC by Egor Ushakov
Modified: 2012-11-17 13:22 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193321


Attachments
nps snapshot (11.11 KB, application/nps)
2012-10-25 09:36 UTC, Egor Ushakov
Details
nps snapshot (108.83 KB, application/nps)
2012-10-26 13:33 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2012-10-25 09:36:48 UTC
Build: NetBeans IDE Dev (Build 201210240001)
VM: Java HotSpot(TM) Client VM, 20.12-b01, Java(TM) SE Runtime Environment, 1.6.0_37-b06
OS: SunOS

User Comments:
tbrunhoff: Nothing really... trying to select a project.

tbrunhoff: Right-click on a project, then try to select "set as main project". Long wait.

yardus: opening nbproject/private.xml file



Maximum slowness yet reported was 11333 ms, average is 4786
Comment 1 Egor Ushakov 2012-10-25 09:36:52 UTC
Created attachment 126533 [details]
nps snapshot
Comment 2 Petr Cyhelsky 2012-10-26 13:33:13 UTC
Created attachment 126619 [details]
nps snapshot
Comment 3 Jaroslav Tulach 2012-11-08 07:57:40 UTC
Almost all reports seem to be about blocked update of the paste action state in reaction to some property change event:
http://statistics.netbeans.org/exceptions/exception.do?id=621332
http://statistics.netbeans.org/exceptions/exception.do?id=616963
http://statistics.netbeans.org/exceptions/exception.do?id=621331
http://statistics.netbeans.org/exceptions/exception.do?id=624120

Clearly, in this kind of situation there is no need to wait for a perfect refresh.
Comment 4 Jaroslav Tulach 2012-11-08 08:03:06 UTC
ergonomics#58cdd4c97ac6
Comment 5 Quality Engineering 2012-11-10 03:26:13 UTC
Integrated into 'main-golden', will be available in build *201211100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/58cdd4c97ac6
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #220821: When asking for delegates from EDT, block only a little