Skip to content

Instantly share code, notes, and snippets.

@pbattisson
Created May 23, 2012 13:19
Show Gist options
  • Save pbattisson/2775199 to your computer and use it in GitHub Desktop.
Save pbattisson/2775199 to your computer and use it in GitHub Desktop.
Java thread dump from hanging schemaspy run.
Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode):
"Low Memory Detector" daemon prio=6 tid=0x0000000006591800 nid=0xb74 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" daemon prio=10 tid=0x000000000658e800 nid=0x1614 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" daemon prio=10 tid=0x0000000006577800 nid=0x1160 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Attach Listener" daemon prio=10 tid=0x0000000006574800 nid=0x85c runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x000000000656e800 nid=0xc4c waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x000000000052b800 nid=0xb8c in Object.wait() [0x000000000651f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000f1601300> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000000f1601300> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" daemon prio=10 tid=0x0000000000524800 nid=0x13b4 in Object.wait() [0x000000000641f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000f16011d8> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
- locked <0x00000000f16011d8> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x000000000026b000 nid=0x408 runnable [0x000000000258e000]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
- locked <0x00000000f16f3660> (a java.io.InputStreamReader)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
- locked <0x00000000f16f3660> (a java.io.InputStreamReader)
at java.io.BufferedReader.readLine(Unknown Source)
at net.sourceforge.schemaspy.util.Dot.supportsRenderer(Dot.java:205)
at net.sourceforge.schemaspy.util.Dot.setHighQuality(Dot.java:166)
at net.sourceforge.schemaspy.Config.isHighQuality(Config.java:1097)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.schemaspy.Config.populate(Config.java:1464)
at net.sourceforge.schemaspy.Config.getRemainingParameters(Config.java:1302)
at net.sourceforge.schemaspy.util.ConnectionURLBuilder.<init>(ConnectionURLBuilder.java:46)
at net.sourceforge.schemaspy.SchemaAnalyzer.analyze(SchemaAnalyzer.java:139)
at net.sourceforge.schemaspy.Main.main(Main.java:42)
"VM Thread" prio=10 tid=0x000000000051b800 nid=0xd74 runnable
"GC task thread#0 (ParallelGC)" prio=6 tid=0x0000000000477000 nid=0x850 runnable
"GC task thread#1 (ParallelGC)" prio=6 tid=0x0000000000478800 nid=0xa00 runnable
"GC task thread#2 (ParallelGC)" prio=6 tid=0x000000000047b000 nid=0x44c runnable
"GC task thread#3 (ParallelGC)" prio=6 tid=0x000000000047c800 nid=0x1414 runnable
"VM Periodic Task Thread" prio=10 tid=0x00000000065aa800 nid=0x145c waiting on condition
JNI global references: 975
Heap
PSYoungGen total 13120K, used 1163K [0x00000000f1600000, 0x00000000f24a0000, 0x0000000100000000)
eden space 11264K, 10% used [0x00000000f1600000,0x00000000f1722e20,0x00000000f2100000)
from space 1856K, 0% used [0x00000000f22d0000,0x00000000f22d0000,0x00000000f24a0000)
to space 1856K, 0% used [0x00000000f2100000,0x00000000f2100000,0x00000000f22d0000)
PSOldGen total 29952K, used 0K [0x00000000d4200000, 0x00000000d5f40000, 0x00000000f1600000)
object space 29952K, 0% used [0x00000000d4200000,0x00000000d4200000,0x00000000d5f40000)
PSPermGen total 21248K, used 4347K [0x00000000cf000000, 0x00000000d04c0000, 0x00000000d4200000)
object space 21248K, 20% used [0x00000000cf000000,0x00000000cf43ef80,0x00000000d04c0000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment