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.
Product Version = NetBeans IDE Dev (Build 200802260005) Operating System = Linux version 2.6.20-15-generic running on i386 Java; VM; Vendor = 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19; Sun Microsystems Inc. The following deadlock happened during performance tests execution: Found one Java-level deadlock: ============================= "AWT-EventQueue-2": waiting for ownable synchronizer 0xa29fb1d8, (a java.util.concurrent.locks.ReentrantLock$NonfairSync), which is held by "AWT-XAWT" "AWT-XAWT": waiting to lock monitor 0x080d9d14 (object 0xa45e5828, a org.netbeans.performance.test.guitracker.LoggingRepaintManager), which is held by "Versioning long tasks" "Versioning long tasks": waiting to lock monitor 0x08453c38 (object 0xa2b4cc88, a org.netbeans.core.windows.view.ui.MainWindow), which is held by "AWT-EventQueue-2"
Created attachment 57338 [details] Thread dump
In versioning we are just calling java.awt.Component.repaint() as you can see in the thread dump and the deadlock seems to be caused by performance code. Please evaluate.
Nobody else wants to fix this?
changeset: 75246:10f135d8cc7f tag: tip user: Jaroslav Tulach <jtulach@netbeans.org> date: Tue Mar 25 17:17:13 2008 +0100 summary: #128542: Do not call super.addDirtyRegion while holding lock on ourself