Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 May 2006 14:21:09 +0100
From:      Richard Cooper <ric@jonnycalcutta.com>
To:        freebsd-java@FreeBSD.org
Subject:   Re: Diablo 1.5 SIGBUS
Message-ID:  <4459FFC5.50407@jonnycalcutta.com>
In-Reply-To: <20060503164323.GD37932@misty.eyesbeyond.com>
References:  <4458C430.9060005@jonnycalcutta.com> <20060503164323.GD37932@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4459FFC5.50407>