From owner-freebsd-java@FreeBSD.ORG Tue Apr 25 22:15:06 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 8200716A413 for ; Tue, 25 Apr 2006 22:15:06 +0000 (UTC) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 806EF43D45 for ; Tue, 25 Apr 2006 22:15:03 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost [127.0.0.1]) by arabica.esil.univ-mrs.fr (8.13.4/8.13.4) with ESMTP id k3PMEvHD066035; Wed, 26 Apr 2006 00:14:57 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost) by arabica.esil.univ-mrs.fr (8.13.4/8.13.4/Submit) id k3PMEvKH066034; Wed, 26 Apr 2006 00:14:57 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Wed, 26 Apr 2006 00:14:57 +0200 From: Herve Quiroz To: Carl Johan Gustavsson Message-ID: <20060425221457.GA65991@arabica.esil.univ-mrs.fr> Mail-Followup-To: Carl Johan Gustavsson , freebsd-java@freebsd.org References: <20060425002717.X71843@office.paramon.ru> <20060425201925.GA22556@misty.eyesbeyond.com> <444E9C8D.2030504@bahnhofbredband.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <444E9C8D.2030504@bahnhofbredband.se> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: I was asked by diablo-jdk to post it here 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: Tue, 25 Apr 2006 22:15:06 -0000 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