Bug 116668

Summary: can no longer use jdk15 with libthr on -stable SMP
Product: Base System Reporter: Arno J. Klaassen <arno>
Component: threadsAssignee: freebsd-threads (Nobody) <threads>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: glewis
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Arno J. Klaassen 2007-09-26 18:10:01 UTC
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

Fix: 

bon, don't use libthr with java on SMP systems ...
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 )
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2015-02-15 20:09:37 UTC
jdk15 port has long been dead.  I think we can close this.