From owner-freebsd-java@FreeBSD.ORG Tue Apr 25 22:03:31 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 BD90F16A402 for ; Tue, 25 Apr 2006 22:03:31 +0000 (UTC) (envelope-from carl.gustavsson@bahnhofbredband.se) Received: from mx1.kth.se (mx1.kth.se [130.237.32.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46BE643D55 for ; Tue, 25 Apr 2006 22:03:30 +0000 (GMT) (envelope-from carl.gustavsson@bahnhofbredband.se) Received: from localhost (localhost.localdomain [127.0.0.1]) by mx1.kth.se (Postfix) with ESMTP id 3A58F140F95; Wed, 26 Apr 2006 00:03:29 +0200 (CEST) Received: from mx1.kth.se ([127.0.0.1]) by localhost (mx1.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22062-01-35; Wed, 26 Apr 2006 00:03:28 +0200 (CEST) Received: from [192.168.0.9] (c213-100-49-147.swipnet.se [213.100.49.147]) by mx1.kth.se (Postfix) with ESMTP id 17F1B141C0A; Wed, 26 Apr 2006 00:03:28 +0200 (CEST) Message-ID: <444E9C8D.2030504@bahnhofbredband.se> Date: Wed, 26 Apr 2006 00:02:53 +0200 From: Carl Johan Gustavsson User-Agent: Thunderbird 1.5.0.2 (X11/20060423) MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <20060425002717.X71843@office.paramon.ru> <20060425201925.GA22556@misty.eyesbeyond.com> In-Reply-To: <20060425201925.GA22556@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at kth.se Cc: 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:03:31 -0000 Greg Lewis wrote >> --------------- S Y S T E M --------------- >> >> OS:FreeBSD >> uname:FreeBSD 6.1-RC FreeBSD 6.1-RC #0: Tue Apr 18 04:24:56 YEKST 2006 root@:/usr/src/sys/i386/compile/JANE i386 >> rlimit: STACK 65536k, CORE infinity, NOFILE 11095 >> CPU:total 2 family 15, cmov, cx8, fxsr, mmx, ht >> >> Memory: 4k page, physical 907836k >> >> vm_info: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00) for freebsd-x86, built on Feb 17 2006 00:12:58 by truk with gcc 3.4.4 [FreeBSD] 20050518 >> > > 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. / Carl Johan Gustavsson