Safepoint Deadlock Diagnosis

Peng Du imdupeng at gmail.com
Tue Apr 13 13:40:48 PDT 2010


Hello, list

I have been witnessing deadlocks of the HotSpot I am working on. I tried 
everything I know
to diagnose this. Here is what I found: the "main" JavaThread always 
ended up somewhere
in the stub SharedRuntime::handle_wrong_method(). HotSpot would then 
deadlock at this point.
In to the thread dump, I saw all threads are: _thread_blocked. The 
method that was patched
with this stub is "java_lang_math_log" (frame 12 @ 0x00007f832173b40e).

I have attached the backtrace and thread dump in the email. Can someone 
hint on what might
be the reason for this deadlock?

Thanks!


-Peng
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: backtrace.txt
Url: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20100413/56cb6a13/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: thread_dump.txt
Url: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20100413/56cb6a13/attachment-0001.txt 


More information about the hotspot-dev mailing list