Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 229200

Summary: org.netbeans.modules.editor.hints.HintsUI.showPopup: LowPerformance took 41090 ms.
Product: editor Reporter: dynamite <dynamite>
Component: Hints & AnnotationsAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED QA Contact: issues <>
Priority: P3 CC: dynamite, markiewb, pwade, sreimers
Version: 7.4Keywords: PERFORMANCE
Target Milestone: 7.4   
Hardware: All   
OS: All   
Whiteboard: jdk_bug_6477756 EXCEPTIONS_REPORT perf-profileme
Issue Type: DEFECT Exception Report: 182169
Bug Depends on:    
Bug Blocks: 228729    
Attachments: nps snapshot
nps snapshot

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 1 dynamite 2013-04-30 10:34:51 UTC
Created attachment 133967 [details]
nps snapshot
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:
Comment 4 Jan Lahoda 2013-05-09 07:50:17 UTC
Tried preventing invocation of GraphicsDevice.getConfigurations() for single-headed configurations:

Could someone with Window please test?

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.
User: Jan Lahoda <>
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 (upload may still be in progress)
User: Jan Lahoda <>
Log: #229200: first invocation of GraphicsDevice.getConfigurations() can be very slow on single-headed Windows, prevent calling it when there is only one GraphicsDevice.
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo