Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.machine > #20

Is there any known issue about mutex lock used via JNI on Solaris 10?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.42!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!74.125.46.80.MISMATCH!postnews.google.com!gz10g2000vbb.googlegroups.com!not-for-mail
From Krit <krit.kasemosoth@gmail.com>
Newsgroups comp.lang.java.machine
Subject Is there any known issue about mutex lock used via JNI on Solaris 10?
Date Tue, 2 Aug 2011 01:12:18 -0700 (PDT)
Organization http://groups.google.com
Lines 32
Message-ID <dd02e89a-08ec-493e-9861-77ccfdc1319a@gz10g2000vbb.googlegroups.com> (permalink)
NNTP-Posting-Host 192.165.213.18
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1312272738 22898 127.0.0.1 (2 Aug 2011 08:12:18 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Tue, 2 Aug 2011 08:12:18 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info gz10g2000vbb.googlegroups.com; posting-host=192.165.213.18; posting-account=VaJcYQoAAADq70xPs7VbpIG6p8n-Tdqr
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order ARLEUHCNK
X-HTTP-UserAgent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E; InfoPath.2),gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.machine:20

Show key headers only | View raw


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 comp.lang.java.machine | Previous | Next | Find similar


Thread

Is there any known issue about mutex lock used via JNI on Solaris 10? Krit <krit.kasemosoth@gmail.com> - 2011-08-02 01:12 -0700

csiph-web