Skip to main content

javac hangs

No replies
tinatina
Offline
Joined: 2011-10-26
Points: 0

Anybody could help with it? Javac just hangs forever and it was working before.

Full thread dump Java HotSpot(TM) Server VM (1.6.0-b105 mixed mode):

"Low Memory Detector" daemon prio=10 tid=0x00243000 nid=0x1d runnable [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE

"CompilerThread1" daemon prio=10 tid=0x00241000 nid=0x1c waiting on condition [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x0023fc00 nid=0x1b waiting on condition [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x0023ec00 nid=0x1a waiting on condition [0x00000000..0x00000000]
java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x0022d400 nid=0x19 in Object.wait() [0xb6301000..0xb6301930]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0xe62b0b40> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0xe62b0b40> (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=0x0022cc00 nid=0x18 in Object.wait() [0xb6401000..0xb64016b0]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0xe62b0a40> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
- locked <0xe62b0a40> (a java.lang.ref.Reference$Lock)

"main" prio=10 tid=0x0002fc00 nid=0x4 runnable [0xfdf7e000..0xfdf81b40]
java.lang.Thread.State: RUNNABLE
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.security.provider.NativePRNG$RandomIO.<init>(Unknown Source)
at sun.security.provider.NativePRNG$RandomIO.<init>(Unknown Source)
at sun.security.provider.NativePRNG$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.provider.NativePRNG.initIO(Unknown Source)
at sun.security.provider.NativePRNG.<clinit>(Unknown Source)
at sun.security.provider.Sun.<init>(Unknown Source)
at sun.security.util.ManifestEntryVerifier.<clinit>(Unknown Source)
at java.util.jar.JarFile.initializeVerifier(Unknown Source)
at java.util.jar.JarFile.getInputStream(Unknown Source)
- locked <0xe62d92c0> (a java.util.jar.JarFile)
at sun.misc.URLClassPath$JarLoader$2.getInputStream(Unknown Source)
at sun.misc.Resource.cachedInputStream(Unknown Source)
- locked <0xe62dab78> (a sun.misc.URLClassPath$JarLoader$2)
at sun.misc.Resource.getByteBuffer(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
- locked <0xe62d2300> (a sun.misc.Launcher$AppClassLoader)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
- locked <0xe62d2300> (a sun.misc.Launcher$AppClassLoader)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
- locked <0xe62d2300> (a sun.misc.Launcher$AppClassLoader)
at IS3Test.main(IS3Test.java:23)

"VM Thread" prio=10 tid=0x00229c00 nid=0x17 runnable

"GC task thread#0 (ParallelGC)" prio=10 tid=0x00036400 nid=0x5 runnable

"GC task thread#1 (ParallelGC)" prio=10 tid=0x00037400 nid=0x6 runnable

"GC task thread#2 (ParallelGC)" prio=10 tid=0x00038400 nid=0x7 runnable

"GC task thread#3 (ParallelGC)" prio=10 tid=0x00039400 nid=0x8 runnable

"GC task thread#4 (ParallelGC)" prio=10 tid=0x0003a000 nid=0x9 runnable

"GC task thread#5 (ParallelGC)" prio=10 tid=0x0003b000 nid=0xa runnable

"GC task thread#6 (ParallelGC)" prio=10 tid=0x0003c000 nid=0xb runnable

"GC task thread#7 (ParallelGC)" prio=10 tid=0x0003d000 nid=0xc runnable

"GC task thread#8 (ParallelGC)" prio=10 tid=0x0003dc00 nid=0xd runnable

"GC task thread#9 (ParallelGC)" prio=10 tid=0x0003ec00 nid=0xe runnable

"GC task thread#10 (ParallelGC)" prio=10 tid=0x0003fc00 nid=0xf runnable

"GC task thread#11 (ParallelGC)" prio=10 tid=0x00040c00 nid=0x10 runnable

"GC task thread#12 (ParallelGC)" prio=10 tid=0x00041800 nid=0x11 runnable

"GC task thread#13 (ParallelGC)" prio=10 tid=0x00042800 nid=0x12 runnable

"GC task thread#14 (ParallelGC)" prio=10 tid=0x00043800 nid=0x13 runnable

"GC task thread#15 (ParallelGC)" prio=10 tid=0x00044800 nid=0x14 runnable

"GC task thread#16 (ParallelGC)" prio=10 tid=0x00045400 nid=0x15 runnable

"GC task thread#17 (ParallelGC)" prio=10 tid=0x00046400 nid=0x16 runnable

"VM Periodic Task Thread" prio=10 tid=0x00244400 nid=0x1e waiting on condition

JNI global references: 572

Heap
PSYoungGen total 95552K, used 1638K [0xe62b0000, 0xecd50000, 0xfb800000)
eden space 81920K, 2% used [0xe62b0000,0xe64499a8,0xeb2b0000)
from space 13632K, 0% used [0xec000000,0xec000000,0xecd50000)
to space 13632K, 0% used [0xeb2b0000,0xeb2b0000,0xec000000)
PSOldGen total 218496K, used 0K [0xbb800000, 0xc8d60000, 0xe62b0000)
object space 218496K, 0% used [0xbb800000,0xbb800000,0xc8d60000)
PSPermGen total 16384K, used 1935K [0xb7800000, 0xb8800000, 0xbb800000)
object space 16384K, 11% used [0xb7800000,0xb79e3de8,0xb8800000