JVM hangs beyond recovery
stas.oskin at gmail.com
Sun Jun 13 00:27:09 PDT 2010
First of all, thanks for the all help.
> We start in Java, try to load a native library and enter the dynamic
> linker. That in turn causes native code in libxuggle-xuggler-io.3 to run
> which tries to invoke Java code: com::xuggle::ferry::Logger::getStaticLogger
> If this is done while holding a lock in the dynamic linker then we will
> deadlock if any other thread tries to acquire that lock and a safepoint is
> trigerred - which in the above case is done by the thread holding that lock.
I posted this issue to Xuggler list, and Xuggler developer/founder Art
quickly posted a possible fix. He is not 100% sure it solves it, and my own
Java/native skills are not so great to validate it (other then actually
using is and finding out if it really helped, which I'm doing), so I will
very appreciate if you could give a quick look to fix and give your verdict.
Here is the diff:
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-runtime-dev