Bug 116668 - can no longer use jdk15 with libthr on -stable SMP
Summary: can no longer use jdk15 with libthr on -stable SMP
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: threads (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-threads (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-26 18:10 UTC by Arno J. Klaassen
Modified: 2015-02-15 20:09 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.