I was asked by diablo-jdk to post it here

Herve Quiroz hq at freebsd.org
Tue Apr 25 22:15:06 UTC 2006


On Wed, Apr 26, 2006 at 12:02:53AM +0200, Carl Johan Gustavsson wrote:
> >There is a known problem with MP machines.  Can you try adding
> >-XX:+UseMembar to the command line?
> >  
> Hi
> It would be nice if this options was added by default when installing 
> the port on a MP machine. Especially now when the diablo-jdk is used for 
> bootstrapping the jdk15 port.  I tried to add the option to the 
> /usr/local/bin/javavm script but did not succeed due to my lack of 
> scripting skill. diablo-jdk does not work at all on my machine. Nearly 
> every use of java (running programs, compiling etc) result in a SIGBUS 
> if don't specify the option manually every time i run a java program 
> (can't figure out how to do that with Eclipse though).  A patch would be 
> very appreciated.

I already have submitted a patch for javavmwrapper to handle
${JAVAVM_OPTS} as a list of arguments to be passed to the JVM. So it is
a work-in-progress ATM.

In the meantime, maybe we could add some statement regarding this issue
in the pkg-message in java/diablo-jdk15...

Herve


More information about the freebsd-java mailing list