From owner-svn-src-all@FreeBSD.ORG Sat Mar 5 20:39:03 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C858E106564A; Sat, 5 Mar 2011 20:39:03 +0000 (UTC) (envelope-from dchagin@dchagin.static.corbina.ru) Received: from contrabass.post.ru (contrabass.post.ru [85.21.78.5]) by mx1.freebsd.org (Postfix) with ESMTP id 961A98FC13; Sat, 5 Mar 2011 20:39:01 +0000 (UTC) Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id 803EECBC08; Sat, 5 Mar 2011 22:45:34 +0300 (MSK) X-Virus-Scanned: by cgpav Uf39PSi9pFi9oFi9 Received: from [10.208.17.3] (HELO dchagin.static.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPS id 306122270; Sat, 05 Mar 2011 22:45:34 +0300 Received: from dchagin.static.corbina.ru (localhost [127.0.0.1]) by dchagin.static.corbina.ru (8.14.4/8.14.4) with ESMTP id p25JjXCK003972; Sat, 5 Mar 2011 22:45:33 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.ru) Received: (from dchagin@localhost) by dchagin.static.corbina.ru (8.14.4/8.14.4/Submit) id p25JjSbl003971; Sat, 5 Mar 2011 22:45:28 +0300 (MSK) (envelope-from dchagin) Date: Sat, 5 Mar 2011 22:45:28 +0300 From: Chagin Dmitry To: Lucius Windschuh Message-ID: <20110305194528.GA3892@dchagin.static.corbina.ru> References: <201102231323.p1NDNSVH061525@svn.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-all@freebsd.org, John Baldwin Subject: Re: svn commit: r218970 - in head/sys: compat/linux sys X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2011 20:39:03 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 05, 2011 at 08:02:44PM +0100, Lucius Windschuh wrote: > Hi John, hi Dmitry. >=20 > 2011/2/23 John Baldwin : > > New Revision: 218970 > > [...] > > Log: > > =9AUse umtx_key objects to uniquely identify futexes. =9APrivate futexe= s in > > =9Adifferent processes that happen to use the same user address in the > > =9Aseparate processes will now be treated as distinct futexes rather th= an the > > =9Asame futex. =9AWe can now honor shared futexes properly by mapping t= hem to a > > =9APROCESS_SHARED umtx_key. =9APrivate futexes use THREAD_SHARED umtx_k= ey > > =9Aobjects. >=20 > This change breaks linux-jdk-1.6.0, at least for me on FreeBSD 9 i386: >=20 > $ /usr/local/linux-sun-jdk1.6.0/bin/java > Usage: java [-options] class [args...] > (to execute a class) > or java [-options] -jar jarfile [args...] > (to execute a jar file) >=20 > where options include: > -d32 use a 32-bit data model if available >=20 > -d64 use a 64-bit data model if available > -client to select the "client" VM > -server to select the "server" VM > -hotspot is a synonym for the "client" VM [deprecated] > The default VM is server, > because you are running on a server-class machine. >=20 > -cp > -classpath > A : separated list of directories, JAR archives, > and ZIP archives to search for class files. > -D=3D > set a system property > -verbose[:class|gc|jni] > enable verbose output > -version print product version and exit > -version: > require the specified version to run > -showversion print product version and continue > -jre-restrict-search | -jre-no-restrict-search > include/exclude user private JREs in the version search > -? -help print this help message > -X print help on non-standard options > -ea[:...|:] > -enableassertions[:...|:] > enable assertions > -da[:...|:] > -disableassertions[:...|:] > disable assertions > -esa | -enablesystemassertions > enable system assertions > -dsa | -disablesystemassertions > disable system assertions > -agentlib:[=3D] > load native agent library , e.g. -agentlib:hpr= of > see also, -agentlib:jdwp=3Dhelp and -agentlib:hprof= =3Dhelp > -agentpath:[=3D] > load native agent library by full pathname > -javaagent:[=3D] > load Java programming language agent, see java.lang.ins= trument > -splash: > show splash screen with specified image > ^T > load: 1.62 cmd: java 4007 [futex] 3.33r 0.00u 0.00s 0% 10784k > (... wait a while) > ^T > load: 1.62 cmd: java 4007 [futex] 4.45r 0.00u 0.00s 0% 10784k > (... doesn't finish) >=20 > With r218969, the process finishes as expected. >=20 > BTW, is there an easy way to debug such futex issues, other than > perhaps linux_kdump? >=20 try r219242. kdump now (in HEAD) decode linux syscalls. also see ktr(4). --=20 Have fun! chd --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1yktgACgkQ0t2Tb3OO/O1ibQCcDm55jkP0ymMx1xdJOKE4d1tl f2kAoLaG8/gXtDaLBlTPPp2ndk0W4xJT =zhne -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--