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 193853 - 20s while somebody holds Component$TreeLock
Summary: 20s while somebody holds Component$TreeLock
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2010-12-27 21:26 UTC by Exceptions Reporter
Modified: 2011-10-17 11:58 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157552


Attachments
nps snapshot (6.90 KB, application/nps)
2010-12-27 21:26 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2010-12-27 21:26:43 UTC
Build: NetBeans IDE 6.9.1 (Build 201011082200)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.1-b03-307, Java(TM) SE Runtime Environment, 1.6.0_22-b04-307-10M3261
OS: Mac OS X

User Comments:
GUEST: Debugging a MAven project



Maximum slowness yet reported was 20509 ms, average is 8477
Comment 1 Exceptions Reporter 2010-12-27 21:26:47 UTC
Created attachment 104535 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2010-12-31 17:09:38 UTC
I am not completely sure, but it seems that JPDA Debugger thread holds the treelock. The call goes through 
org.netbeans.editor.ext.ToolTipSupport.setToolTip()
and starts at
org.netbeans.modules.debugger.jpda.projects.ToolTipAnnotation.run()
Comment 3 Miloslav Metelka 2011-10-17 11:58:10 UTC
It's some explorer rendering and JPDA tooltip reporting. Since there's no report from 7.0 FCS nor from 7.1 Beta closing as worksforme.