From owner-svn-src-all@FreeBSD.ORG Sat Mar 5 19:30:31 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 6936A106566B; Sat, 5 Mar 2011 19:30:31 +0000 (UTC) (envelope-from lwindschuh@googlemail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 15C658FC18; Sat, 5 Mar 2011 19:30:30 +0000 (UTC) Received: by iwn33 with SMTP id 33so3320121iwn.13 for ; Sat, 05 Mar 2011 11:30:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=uGAiTaGoEJHzqzni6eed6lVfGyp5WVkXMbwEGFB5smE=; b=O925TPcarBg0s2B8PYeZ3URh1aIqkICmPszwnFxYTk8aPpg5rX5W4WcfYN4kjFNrwq XroETSTHsX6XOm8nyeg+sN/4ziDLOlkbEc/QaUzY4+ROfwdqADKgbGX/HlqM21BpuKfl 0IG9wIA3UPUyVhJ4xjCqTXKd+RRwjQnVjLwzQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ae+/VuRSi1gN5aAQjPmIjyouMndDSoXT1AJ8WO03XfyI8zmtiB+0oGGK1qT+bstIuc aPtxvSUYp0EB86fF5aUDXRbb5ciGAmxLJ8d+SRYJcVplLYptlx8/iODEr+7PuAmIfTz7 t5qOjyRdyAdG6AkRNyHsY/32JuPpvlcFmIgSw= MIME-Version: 1.0 Received: by 10.42.231.193 with SMTP id jr1mr2641926icb.23.1299351764151; Sat, 05 Mar 2011 11:02:44 -0800 (PST) Received: by 10.231.46.16 with HTTP; Sat, 5 Mar 2011 11:02:44 -0800 (PST) In-Reply-To: <201102231323.p1NDNSVH061525@svn.freebsd.org> References: <201102231323.p1NDNSVH061525@svn.freebsd.org> Date: Sat, 5 Mar 2011 20:02:44 +0100 Message-ID: From: Lucius Windschuh To: John Baldwin , dchagin@freebsd.org, svn-src-all@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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 19:30:31 -0000 Hi John, hi Dmitry. 2011/2/23 John Baldwin : > New Revision: 218970 > [...] > Log: > =A0Use umtx_key objects to uniquely identify futexes. =A0Private futexes = in > =A0different processes that happen to use the same user address in the > =A0separate processes will now be treated as distinct futexes rather than= the > =A0same futex. =A0We can now honor shared futexes properly by mapping the= m to a > =A0PROCESS_SHARED umtx_key. =A0Private futexes use THREAD_SHARED umtx_key > =A0objects. This change breaks linux-jdk-1.6.0, at least for me on FreeBSD 9 i386: $ /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) where options include: -d32 use a 32-bit data model if available -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. -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:hprof see also, -agentlib:jdwp=3Dhelp and -agentlib:hprof=3Dh= elp -agentpath:[=3D] load native agent library by full pathname -javaagent:[=3D] load Java programming language agent, see java.lang.instr= ument -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) With r218969, the process finishes as expected. BTW, is there an easy way to debug such futex issues, other than perhaps linux_kdump? Lucius