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 169325 - AWT thread blocked for 8104 ms.
Summary: AWT thread blocked for 8104 ms.
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL: http://statistics.netbeans.org/except...
Keywords:
: 116261 169333 (view as bug list)
Depends on:
Blocks: 108501
  Show dependency tree
 
Reported: 2009-07-28 13:21 UTC by matusdekanek
Modified: 2009-07-31 06:01 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 154353


Attachments
nps snapshot (26.64 KB, bin/nps)
2009-07-28 13:22 UTC, matusdekanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matusdekanek 2009-07-28 13:22:04 UTC
Build: NetBeans IDE Dev (Build 200907280201)
VM: Java HotSpot(TM) Client VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: Linux, 2.6.28-13-generic, i386

User Comments:
matusdekanek: invoking popup menu on a maven project


Maximum slowness yet reported was 8104 ms, average is 8104
Comment 1 matusdekanek 2009-07-28 13:22:23 UTC
Created attachment 85331 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2009-07-28 14:50:53 UTC
*** Issue 169333 has been marked as a duplicate of this issue. ***
Comment 3 Ondrej Vrabec 2009-07-29 07:21:58 UTC
*** Issue 116261 has been marked as a duplicate of this issue. ***
Comment 4 Ondrej Vrabec 2009-07-29 11:04:25 UTC
vv159170: i've pushed a partial fix: cdev #b2b76ae1614d which should reduce the time needed to create the 1st level
popup menu (see issue 169119). I would like to know if this still blocks your issue 108501, could you attach a profiler
snapshot for your testcase?
Comment 5 Ondrej Vrabec 2009-07-30 15:37:15 UTC
fix: cdev #2d9af23dbda4
VCSConext is created at the time it is really needed, that is when a versioning submenu is expanded.
Comment 6 Vladimir Voskresensky 2009-07-30 15:54:21 UTC
thank you, we will evaluate the improvement
Comment 7 Quality Engineering 2009-07-31 06:01:17 UTC
Integrated into 'main-golden', will be available in build *200907310201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2d9af23dbda4
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #169325 - AWT thread blocked for 8104 ms (popup menu)
to acquire versioning owners VCSContext doesn't have to be created.
VCSContext initialization is delayed and context is created when a versioning submenu is expanded