AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is there any known issue about mutex lock used via JNI on So

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware
View previous topic :: View next topic  
Author Message
Krit
Guest





PostPosted: Tue Aug 02, 2011 8:12 am    Post subject: Is there any known issue about mutex lock used via JNI on So Reply with quote



Dear Java Experts,

I'm facing a strange behavior when running a JNI application that use
the mutex lock. The application hanged after running for a while on
one of our Solaris 10 machines. After investigating the stack trace of
the application, it shows that one of all the application's threads
that access the JNI hold the mutex lock forever, and that cause the
other threads cannot access the JNI. The same application works fine
on other Solaris 10 machines.

The mutex function I used as show below:

mutex_lock(&mutex)


The application hanged at this line:

0xff2cc940 ___lwp_mutex_timedlock + 0x8


The Kernel version is SunOS 5.10 Generic_142900-14
JDK 1.6 update 17 b04


Since this issue occurrs on only one Solaris 10 machine in our
environment, I'm wondering if there is any known issue regarding the
mutex lock used in JNI on Solaris 10. I tried to search the Internet
and the Java Bug database but found nothing related to this issue.


Best regards,
Krit K.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JVM, native methods and hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.