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 223542

Summary: org.netbeans.modules.debugger.jpda.ui.ConnectPanel.<init>: LowPerformance took 20139 ms.
Product: debugger Reporter: Exceptions Reporter <exceptions_reporter>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 189227
Attachments: nps snapshot

Description Exceptions Reporter 2012-12-09 07:05:28 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Dynamic Code Evolution Client VM, 0.2-b02-internal, 19.0-b03-internal, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux
Maximum slowness yet reported was 20139 ms, average is 10488
Comment 1 Exceptions Reporter 2012-12-09 07:05:31 UTC
Created attachment 129096 [details]
nps snapshot
Comment 2 Martin Entlicher 2012-12-09 11:39:33 UTC
We need to initialize ConnectPanel lazily, we should not call Bootstrap.virtualMachineManager () in AWT.
Comment 3 Martin Entlicher 2012-12-11 10:04:10 UTC
Fixed by changeset:   242590:b6ca6833cbcf
http://hg.netbeans.org/core-main/rev/b6ca6833cbcf
Comment 4 Quality Engineering 2012-12-12 02:44:53 UTC
Integrated into 'main-golden', will be available in build *201212120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b6ca6833cbcf
User: mentlicher@netbeans.org
Log: #223542: Call the AttachType's customizer in AWT, but load it in an RP. JPDA's AttachType needs to load the connectors in RP an thread.