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 212688 - LowPerformance took 21674 ms.
Summary: LowPerformance took 21674 ms.
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-05-18 08:42 UTC by Exceptions Reporter
Modified: 2012-05-19 09:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 180680


Attachments
nps snapshot (26.72 KB, application/nps)
2012-05-18 08:42 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-05-18 08:42:42 UTC
Build: NetBeans IDE 7.1.1 (Build 201203091344)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7
Maximum slowness yet reported was 30078 ms, average is 25876
Comment 1 Exceptions Reporter 2012-05-18 08:42:49 UTC
Created attachment 119599 [details]
nps snapshot
Comment 2 Tomas Zezula 2012-05-18 08:56:40 UTC
Nothing with java project.
The debugger calls WebActionProvider which tries to acquire read lock on project. It's legal for the AP.isActionEnabled to acquire the lock and possibly block so it's not good to call it from EDT.
Comment 3 Martin Entlicher 2012-05-18 15:53:18 UTC
Fixed by changeset:   222175:dbb03d8f1d50
http://hg.netbeans.org/main/rev/dbb03d8f1d50
Comment 4 Quality Engineering 2012-05-19 09:55:55 UTC
Integrated into 'main-golden', will be available in build *201205190400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/dbb03d8f1d50
User: mentlicher@netbeans.org
Log: #212688: Do not call shouldBeEnabled() in AWT.