Full thread dump Java HotSpot(TM) Server VM (1.5.0_05-b05 mixed mode): "*** Profiler Agent Special Execution Thread ***" daemon prio=1 tid=0x082317b8 nid=0x7c74 in Object.wait() [0x074d7000..0x074d7f40] at java.lang.Object.wait(Native Method) - waiting on <0xef871de8> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:117) - locked <0xef871de8> (a java.lang.ref.ReferenceQueue$Lock) at com.sun.tools.profiler.server.ProfilerRuntimeObjLiveness$ReferenceManagerThread.run(ProfilerRuntimeObjLiveness.java:205) "Low Memory Detector" daemon prio=1 tid=0x081972e0 nid=0x7c71 runnable [0x00000000..0x00000000] "CompilerThread1" daemon prio=1 tid=0x08195d88 nid=0x7c70 waiting on condition [0x00000000..0x073f03d8] "CompilerThread0" daemon prio=1 tid=0x08194c58 nid=0x7c6f waiting on condition [0x00000000..0x0238b358] "AdapterThread" daemon prio=1 tid=0x081935a8 nid=0x7c6e waiting on condition [0x00000000..0x00000000] "Signal Dispatcher" daemon prio=1 tid=0x081927a8 nid=0x7c6d runnable [0x00000000..0x00000000] "*** Profiler Agent Special Execution Thread ***" daemon prio=1 tid=0x08188008 nid=0x7c6a waiting for monitor entry [0x0091a000..0x0091aec0] at com.sun.tools.profiler.server.ProfilerInterface$1.handleEventBufferDump(ProfilerInterface.java:109) - waiting to lock <0xef73a288> (a java.lang.Object) at com.sun.tools.profiler.server.ProfilerRuntime.dumpEventBuffer(ProfilerRuntime.java:242) - locked <0xef74b478> (a [B) at com.sun.tools.profiler.server.ProfilerInterface.dumpExistingResults(ProfilerInterface.java:332) at com.sun.tools.profiler.server.ProfilerServer$SeparateCmdExecutionThread.run(ProfilerServer.java:972) - locked <0xef7395b8> (a java.lang.Object) "*** JFluid Monitor thread ***" daemon prio=1 tid=0x081873e8 nid=0x7c69 waiting on condition [0x00872000..0x00872e40] at java.lang.Thread.sleep(Native Method) at com.sun.tools.profiler.server.Monitors$SurvGenAndThreadsMonitor.run(Monitors.java:127) "*** Profiler Agent Communication Thread ***" daemon prio=1 tid=0x081695f0 nid=0x7c67 runnable [0x00bdd000..0x00bde1c0] at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:136) at java.net.SocketInputStream.read(SocketInputStream.java:184) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2200) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2380) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2449) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2519) at java.io.ObjectInputStream.read(ObjectInputStream.java:789) at com.sun.tools.profiler.wireprotocol.WireIO.receiveCommandOrResponse(WireIO.java:88) at com.sun.tools.profiler.server.ProfilerServer.listenToClient(ProfilerServer.java:561) at com.sun.tools.profiler.server.ProfilerServer.run(ProfilerServer.java:372) "Finalizer" daemon prio=1 tid=0x080e9020 nid=0x7c66 in Object.wait() [0x00e41000..0x00e42140] at java.lang.Object.wait(Native Method) - waiting on <0xef739628> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:117) - locked <0xef739628> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=1 tid=0x080e8ad8 nid=0x7c65 in Object.wait() [0x00a8d000..0x00a8e0c0] at java.lang.Object.wait(Native Method) - waiting on <0xef7395c0> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:474) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0xef7395c0> (a java.lang.ref.Reference$Lock) "main" prio=1 tid=0x0805c4f8 nid=0x7c63 waiting for monitor entry [0xfeffc000..0xfeffd578] at com.sun.tools.profiler.server.ProfilerRuntimeMemory.getAndSendCurrentStackTrace(ProfilerRuntimeMemory.java:227) - waiting to lock <0xef74b478> (a [B) - locked <0xf31a25b8> (a java.lang.Class) at com.sun.tools.profiler.server.ProfilerRuntimeObjLiveness.traceObjAlloc(ProfilerRuntimeObjLiveness.java:115) at java.lang.AbstractStringBuilder.(AbstractStringBuilder.java:45) at java.lang.StringBuffer.(StringBuffer.java:80) at com.sun.tools.profiler.server.ClassBytesLoader.getClassFileBytes(ClassBytesLoader.java:20) at com.sun.tools.profiler.server.ProfilerInterface.classLoadHook(ProfilerInterface.java:708) - locked <0xef73a288> (a java.lang.Object) at java.text.FieldPosition.getFieldDelegate(FieldPosition.java:186) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:778) at java.text.DateFormat.format(DateFormat.java:274) at java.text.Format.format(Format.java:133) at java.text.MessageFormat.subformat(MessageFormat.java:1283) at java.text.MessageFormat.format(MessageFormat.java:787) at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:54) - locked <0xef00c4f0> (a java.util.logging.SimpleFormatter) at java.util.logging.StreamHandler.publish(StreamHandler.java:179) - locked <0xef90d7a8> (a java.util.logging.FileHandler) at java.util.logging.FileHandler.publish(FileHandler.java:555) - locked <0xef90d7a8> (a java.util.logging.FileHandler) at java.util.logging.Logger.log(Logger.java:428) at java.util.logging.Logger.doLog(Logger.java:450) at java.util.logging.Logger.log(Logger.java:474) at java.util.logging.Logger.fine(Logger.java:1024) at org.ehucka.core.Loggers.initFileLoggers(Loggers.java:69) at org.netbeans.test4u.Test4U.(Test4U.java:69) at org.netbeans.test4u.Test4UStandalone.(Test4UStandalone.java:45) at org.netbeans.test4u.Test4UStandalone.main(Test4UStandalone.java:124) "VM Thread" prio=1 tid=0x080e4940 nid=0x7c64 runnable "VM Periodic Task Thread" prio=1 tid=0x08198680 nid=0x7c72 waiting on condition Found one Java-level deadlock: ============================= "*** Profiler Agent Special Execution Thread ***": waiting to lock monitor 0x080eb534 (object 0xef73a288, a java.lang.Object), which is held by "main" "main": waiting to lock monitor 0x080eb474 (object 0xef74b478, a [B), which is held by "*** Profiler Agent Special Execution Thread ***" Java stack information for the threads listed above: =================================================== "*** Profiler Agent Special Execution Thread ***": at com.sun.tools.profiler.server.ProfilerInterface$1.handleEventBufferDump(ProfilerInterface.java:109) - waiting to lock <0xef73a288> (a java.lang.Object) at com.sun.tools.profiler.server.ProfilerRuntime.dumpEventBuffer(ProfilerRuntime.java:242) - locked <0xef74b478> (a [B) at com.sun.tools.profiler.server.ProfilerInterface.dumpExistingResults(ProfilerInterface.java:332) at com.sun.tools.profiler.server.ProfilerServer$SeparateCmdExecutionThread.run(ProfilerServer.java:972) - locked <0xef7395b8> (a java.lang.Object) "main": at com.sun.tools.profiler.server.ProfilerRuntimeMemory.getAndSendCurrentStackTrace(ProfilerRuntimeMemory.java:227) - waiting to lock <0xef74b478> (a [B) - locked <0xf31a25b8> (a java.lang.Class) at com.sun.tools.profiler.server.ProfilerRuntimeObjLiveness.traceObjAlloc(ProfilerRuntimeObjLiveness.java:115) at java.lang.AbstractStringBuilder.(AbstractStringBuilder.java:45) at java.lang.StringBuffer.(StringBuffer.java:80) at com.sun.tools.profiler.server.ClassBytesLoader.getClassFileBytes(ClassBytesLoader.java:20) at com.sun.tools.profiler.server.ProfilerInterface.classLoadHook(ProfilerInterface.java:708) - locked <0xef73a288> (a java.lang.Object) at java.text.FieldPosition.getFieldDelegate(FieldPosition.java:186) at java.text.SimpleDateFormat.format(SimpleDateFormat.java:778) at java.text.DateFormat.format(DateFormat.java:274) at java.text.Format.format(Format.java:133) at java.text.MessageFormat.subformat(MessageFormat.java:1283) at java.text.MessageFormat.format(MessageFormat.java:787) at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:54) - locked <0xef00c4f0> (a java.util.logging.SimpleFormatter) at java.util.logging.StreamHandler.publish(StreamHandler.java:179) - locked <0xef90d7a8> (a java.util.logging.FileHandler) at java.util.logging.FileHandler.publish(FileHandler.java:555) - locked <0xef90d7a8> (a java.util.logging.FileHandler) at java.util.logging.Logger.log(Logger.java:428) at java.util.logging.Logger.doLog(Logger.java:450) at java.util.logging.Logger.log(Logger.java:474) at java.util.logging.Logger.fine(Logger.java:1024) at org.ehucka.core.Loggers.initFileLoggers(Loggers.java:69) at org.netbeans.test4u.Test4U.(Test4U.java:69) at org.netbeans.test4u.Test4UStandalone.(Test4UStandalone.java:45) at org.netbeans.test4u.Test4UStandalone.main(Test4UStandalone.java:124) Found 1 deadlock.