threads/116668: can no longer use jdk15 with libthr on -stable SMP

Arno J. Klaassen arno at heho.snv.jussieu.fr
Wed Sep 26 10:10:02 PDT 2007


>Number:         116668
>Category:       threads
>Synopsis:       can no longer use jdk15 with libthr on -stable SMP
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-threads
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 26 17:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Arno J. Klaassen
>Release:        amd64 -stable
>Organization:
SCITO SA
>Environment:
FreeBSD install 6.2-STABLE FreeBSD 6.2-STABLE #2: Thu Sep 20 14:19:10 CEST 2007     toor at install:/usr/obj/files/bsd/src6/sys/S2881  amd64
>Description:

jdk15 very easily hangs in 'umtx' or 'nanosleep' state when running with
libthr on amd64-stable SMP.

I do not see this behaviour on UP.

Might not be related at all to libthr 'an sich', since I see the same with linux-sun-jdk14
>How-To-Repeat:
put 
[/usr/local/jdk1.5.0/bin/javac]
libpthread.so.2 libthr.so.2

in libmap.conf

and then simply launce 'usr/local/jdk1.5.0/bin/javac <bunch of java-files>'

after some repetitions javac will hang; you can kill it (but only with kill -9 )
  
>Fix:
bon, don't use libthr with java on SMP systems ...




>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-threads mailing list