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 169366 - [67cat] Invoking paste-from-clipboard took 29,638 ms.
Summary: [67cat] Invoking paste-from-clipboard took 29,638 ms.
Status: RESOLVED DUPLICATE of bug 169864
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-28 17:34 UTC by dynamite
Modified: 2009-09-08 12:47 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 154382


Attachments
nps snapshot (58.68 KB, bin/nps)
2009-07-28 17:34 UTC, dynamite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dynamite 2009-07-28 17:34:33 UTC
Build: NetBeans IDE Dev (Build 090715)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86
Maximum slowness yet reported was 29638 ms, average is 29638
Comment 1 dynamite 2009-07-28 17:34:39 UTC
Created attachment 85367 [details]
nps snapshot
Comment 2 Exceptions Reporter 2009-08-18 15:54:35 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154382
Comment 3 Vitezslav Stejskal 2009-08-21 09:40:51 UTC
The snapshot shows activity in groovy editor (completeMethods ?).
Comment 4 Exceptions Reporter 2009-09-04 10:22:48 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154382
Comment 5 Exceptions Reporter 2009-09-05 14:45:05 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154382
Comment 6 Exceptions Reporter 2009-09-06 10:14:27 UTC
This issue already has 11 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=154382
Comment 7 Petr Hejl 2009-09-07 12:14:04 UTC
BaseKit$PasteAction is blocking the event queue while requesting write lock for document.
Comment 8 Vitezslav Stejskal 2009-09-08 12:28:33 UTC
This issue is a classic example of insuficient heuristics for duplicating profiler snapshots. I'm not sure if it can be
improved, but all these reports were duplicated due to the fact that the last invoked action was paste-from-clipboard.
In many of them AWT was running completely different code. Here is the summary. I'll go through the reports, separate
them and file issues against relevant modules.

snapshot-234400.nps (090715) - Groovy CompletionHandler
snapshot-234988.nps (003561, 2009-07-29) - getOwningSourceRoot => duplicate of issue #169864
snapshot-236268.nps (090727) - ??
snapshot-239934.nps (090804) - JPDA PersistenceManager
snapshot-245649.nps (090815) - Groovy CompletionHandler
snapshot-247474.nps (090802) - getOwningSourceRoot => duplicate of issue #169864
snapshot-248126.nps (090802) - getOwningSourceRoot => duplicate of issue #169864
snapshot-249140.nps (090802) - JspHyperlinkProvider
snapshot-255124.nps (003814, 2009-09-04) - subversion Annotator
snapshot-255871.nps (090802) - PHPCodeCompletion
snapshot-256079.nps (090802) - PHPCodeCompletion
Comment 9 Vitezslav Stejskal 2009-09-08 12:47:51 UTC
I dispatched most of the profiler snapshots to particular modules. The rest point to
RepositoryUpdater.getOwningSourceRoot, which was fixed as issue #169864.

*** This issue has been marked as a duplicate of 169864 ***