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.
|Summary:||org.netbeans.modules.editor.hints.HintsUI.showPopup: LowPerformance took 41090 ms.|
|Component:||Hints & Annotations||Assignee:||Jan Lahoda <jlahoda>|
|Severity:||normal||CC:||dynamite, markiewb, pwade, sreimers|
|Issue Type:||DEFECT||Exception Reporter:||182169|
|Bug Depends on:|
Description dynamite 2013-04-30 10:34:48 UTC
Build: NetBeans IDE Dev (Build 201304292301) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Windows 7 User Comments: dynamite: After renaming directories I get this UI lock-up after trying to trigger the identification of a class that no longer seems to be found. Maximum slowness yet reported was 41090 ms, average is 22529
Comment 2 pwade 2013-05-08 18:55:47 UTC
Created attachment 134230 [details] nps snapshot Trying to bring up hint
Comment 3 Jan Lahoda 2013-05-09 07:05:24 UTC
Caused by the fix of bug #228729, which calls GraphicsDevice.getConfigurations(), first invocation of which can take ages on single-headed Windows. JDK bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6477756
Comment 4 Jan Lahoda 2013-05-09 07:50:17 UTC
Tried preventing invocation of GraphicsDevice.getConfigurations() for single-headed configurations: http://hg.netbeans.org/jet-main/rev/9b89676e0140 Could someone with Window please test? Thanks.
Comment 5 Quality Engineering 2013-05-10 00:25:58 UTC
Integrated into 'releases', will be available in build *201305092200* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/d6fe1814d087 User: Jan Lahoda <firstname.lastname@example.org> Log: #228729: reverting effects of the fix from the release73 branch, as it is causing a regression in hint popup time (#229200)
Comment 6 Quality Engineering 2013-05-10 02:36:47 UTC
Integrated into 'main-golden', will be available in build *201305092300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9b89676e0140 User: Jan Lahoda <email@example.com> Log: #229200: first invocation of GraphicsDevice.getConfigurations() can be very slow on single-headed Windows, prevent calling it when there is only one GraphicsDevice.