From owner-freebsd-java@FreeBSD.ORG Thu May 4 13:21:21 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73F9916A401 for ; Thu, 4 May 2006 13:21:21 +0000 (UTC) (envelope-from ric@jonnycalcutta.com) Received: from home.jonnycalcutta.com (cpc2-ruth2-0-0-cust133.renf.cable.ntl.com [82.11.56.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id B460B43D46 for ; Thu, 4 May 2006 13:21:20 +0000 (GMT) (envelope-from ric@jonnycalcutta.com) Received: from [10.0.0.5] ([10.0.0.5]) (authenticated bits=0) by home.jonnycalcutta.com (8.13.4/8.13.4) with ESMTP id k44DGYBq030020 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Thu, 4 May 2006 14:16:37 +0100 (BST) (envelope-from ric@jonnycalcutta.com) Message-ID: <4459FFC5.50407@jonnycalcutta.com> Date: Thu, 04 May 2006 14:21:09 +0100 From: Richard Cooper User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org References: <4458C430.9060005@jonnycalcutta.com> <20060503164323.GD37932@misty.eyesbeyond.com> In-Reply-To: <20060503164323.GD37932@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Diablo 1.5 SIGBUS X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 13:21:21 -0000 Greg Lewis wrote: > > You did say bash was within your limits, and javavm is a shell script... :) I guess the key phrase was 'about my limits' ;) > > A quick and dirty hack would involve something like this. Every where > it invokes tryJavaCommand (there are about 6 instances) you need to add > -XX:+UseMembar. That is, the lines look something like: > > tryJavaCommand "PATH_TO_JAVA_COMMAND" "${@}" > > make them > > tryJavaCommand "PATH_TO_JAVA_COMMAND" -XX:+UseMembar "${@}" > > You don't really need to change all six instances, but which to change > depends on your usage pattern, so changing all 6 is safe. > > If that works you owe me two beers... ;) That worked a treat, thanks. You can have several beers on me - just send the invoice. The only reason I didn't reply earlier was because I bounced straight into another problem which seems to be FreeBSD 6 related (bindexception on port 8005, which seems to be down to IPv6 from the few snippets I can find - but that's another email). Thanks again, Richard