From owner-freebsd-java@FreeBSD.ORG Sun Aug 24 04:18:35 2003 Return-Path: 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 7BC1716A4C0; Sun, 24 Aug 2003 04:18:35 -0700 (PDT) Received: from tydfam.jp (ns.tydfam.jp [61.197.228.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8024843F75; Sun, 24 Aug 2003 04:18:34 -0700 (PDT) (envelope-from ken@tydfam.jp) Received: from localhost (tyd3.sub.tydfam.jp [192.168.0.3]) by tydfam.jp (8.12.8p1/8.11.6) with ESMTP id h7OBIXTi047765; Sun, 24 Aug 2003 20:18:33 +0900 (JST) (envelope-from ken@tydfam.jp) Date: Sun, 24 Aug 2003 20:18:33 +0900 (JST) Message-Id: <20030824.201833.596521621.ken@tydfam.jp> To: glewis@misty.eyesbeyond.com From: Yamada Ken Takeshi In-Reply-To: <20030824054627.GB50911@misty.eyesbeyond.com> References: <20030823143947.GA91554@misty.eyesbeyond.com> <20030824.135139.576024018.ken@tydfam.jp> <20030824054627.GB50911@misty.eyesbeyond.com> X-Mailer: Mew version 2.2 on XEmacs 21.4.13 (Rational FORTRAN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: deischen@freebsd.org cc: java@freebsd.org Subject: Re: jdk14 on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 11:18:35 -0000 Thank you, Greg. Two patches you sent me made my compiler happy, and made me complete the compilation. I am running new java for eclipse and tomcat 5.0 and it goes well without any problems so far. From owner-freebsd-java@FreeBSD.ORG Sun Aug 24 23:54:59 2003 Return-Path: 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 37C2816A4BF; Sun, 24 Aug 2003 23:54:59 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87AB243F85; Sun, 24 Aug 2003 23:54:56 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.22) id 19rBFb-0000FG-Dk; Mon, 25 Aug 2003 08:54:51 +0200 Date: Mon, 25 Aug 2003 08:54:51 +0200 From: Sheldon Hearn To: David Xu Message-ID: <20030825065451.GA852@starjuice.net> Mail-Followup-To: David Xu , "deischen@freebsd.org" , "freebsd-java@freebsd.org" , "threads@freebsd.org" References: <20030821165727.C1C0.DAVIDXU@viatech.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030821165727.C1C0.DAVIDXU@viatech.com.cn> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 06:54:59 -0000 On (2003/08/21 17:05), David Xu wrote: > ULE does not work with KSE, I have uploaded a patch, please try it. > http://people.freebsd.org/~davidxu/kse/kse_ule.diff > You can not get cpu affinity for KSE process with this scheduler, > The patch only let KSE process work under ULE scheduler. Your patch fixes my jboss panic with libkse. > I have not fully tested it, for some reason, I won't commit the patch. I heartily endorse your patch. :-) Thanks, Sheldon. From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 00:44:19 2003 Return-Path: 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 7731116A4BF; Mon, 25 Aug 2003 00:44:19 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DBBD43FDD; Mon, 25 Aug 2003 00:43:59 -0700 (PDT) (envelope-from davidxu@viatech.com.cn) Received: from viatech.com.cn (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id RKXCRNJV; Mon, 25 Aug 2003 15:26:12 +0800 Message-ID: <3F49BF15.3090904@viatech.com.cn> Date: Mon, 25 Aug 2003 15:47:33 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sheldon Hearn References: <20030821165727.C1C0.DAVIDXU@viatech.com.cn> <20030825065451.GA852@starjuice.net> In-Reply-To: <20030825065451.GA852@starjuice.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 07:44:19 -0000 Sheldon Hearn wrote: >On (2003/08/21 17:05), David Xu wrote: > > > >>ULE does not work with KSE, I have uploaded a patch, please try it. >>http://people.freebsd.org/~davidxu/kse/kse_ule.diff >>You can not get cpu affinity for KSE process with this scheduler, >>The patch only let KSE process work under ULE scheduler. >> >> > >Your patch fixes my jboss panic with libkse. > > > >>I have not fully tested it, for some reason, I won't commit the patch. >> >> > >I heartily endorse your patch. :-) > > Thanks, I am pleased to see libkse works. :-) However don't expect I will commit it, kernel scheduler interface is a bit weird, so I won't try to add another weird code. >Thanks, >Sheldon. > > > From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 02:02:51 2003 Return-Path: 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 D041E16A4C0; Mon, 25 Aug 2003 02:02:51 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0324743F75; Mon, 25 Aug 2003 02:02:50 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.22) id 19rDFP-0000ZK-IE; Mon, 25 Aug 2003 11:02:47 +0200 Date: Mon, 25 Aug 2003 11:02:47 +0200 From: Sheldon Hearn To: David Xu Message-ID: <20030825090247.GF852@starjuice.net> Mail-Followup-To: David Xu , "deischen@freebsd.org" , "freebsd-java@freebsd.org" , "threads@freebsd.org" References: <20030821165727.C1C0.DAVIDXU@viatech.com.cn> <20030825065451.GA852@starjuice.net> <3F49BF15.3090904@viatech.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F49BF15.3090904@viatech.com.cn> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 09:02:52 -0000 On (2003/08/25 15:47), David Xu wrote: > >I heartily endorse your patch. :-) > > > Thanks, I am pleased to see libkse works. :-) > However don't expect I will commit it, kernel scheduler interface is a > bit weird, so > I won't try to add another weird code. Does Jeff know about your patch? Perhaps he'd be willing to review and commit, since he's the original author of SCHED_ULE. Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 03:14:36 2003 Return-Path: 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 360B716A4BF; Mon, 25 Aug 2003 03:14:36 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id C400243FBF; Mon, 25 Aug 2003 03:14:29 -0700 (PDT) (envelope-from davidxu@viatech.com.cn) Received: from viatech.com.cn (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id RKXCRNZ8; Mon, 25 Aug 2003 17:56:49 +0800 Message-ID: <3F49E267.3070302@viatech.com.cn> Date: Mon, 25 Aug 2003 18:18:15 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sheldon Hearn References: <20030821165727.C1C0.DAVIDXU@viatech.com.cn> <20030825065451.GA852@starjuice.net> <3F49BF15.3090904@viatech.com.cn> <20030825090247.GF852@starjuice.net> In-Reply-To: <20030825090247.GF852@starjuice.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 10:14:36 -0000 Sheldon Hearn wrote: >On (2003/08/25 15:47), David Xu wrote: > > > >>>I heartily endorse your patch. :-) >>> >>> >>> >>Thanks, I am pleased to see libkse works. :-) >>However don't expect I will commit it, kernel scheduler interface is a >>bit weird, so >>I won't try to add another weird code. >> >> > >Does Jeff know about your patch? Perhaps he'd be willing to review and >commit, since he's the original author of SCHED_ULE. > > No, I think he does not know the patch. Please don't commit it, there is a performance problem, after each time a thread is exited, I must exit a kse and then let scheduler reinitialized it. In general, I needn't manage a struct kse, it should be a scheduler internal data. >Ciao, >Sheldon. >_______________________________________________ >freebsd-threads@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-threads >To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" > > > From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 03:19:51 2003 Return-Path: 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 281DD16A4BF; Mon, 25 Aug 2003 03:19:51 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 96A2444003; Mon, 25 Aug 2003 03:19:49 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.22) id 19rERv-0000vy-LD; Mon, 25 Aug 2003 12:19:47 +0200 Date: Mon, 25 Aug 2003 12:19:47 +0200 From: Sheldon Hearn To: David Xu Message-ID: <20030825101947.GL852@starjuice.net> Mail-Followup-To: David Xu , "deischen@freebsd.org" , "threads@freebsd.org" , "freebsd-java@freebsd.org" References: <20030821165727.C1C0.DAVIDXU@viatech.com.cn> <20030825065451.GA852@starjuice.net> <3F49BF15.3090904@viatech.com.cn> <20030825090247.GF852@starjuice.net> <3F49E267.3070302@viatech.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F49E267.3070302@viatech.com.cn> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 10:19:51 -0000 On (2003/08/25 18:18), David Xu wrote: > >Does Jeff know about your patch? Perhaps he'd be willing to review and > >commit, since he's the original author of SCHED_ULE. > > > No, I think he does not know the patch. > Please don't commit it, there is a performance problem, after each time > a thread is exited, > I must exit a kse and then let scheduler reinitialized it. In general, I > needn't manage a struct kse, > it should be a scheduler internal data. Okay, so better to just use SCHED_4BSD for now, then. :-) Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 11:04:10 2003 Return-Path: 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 8C51516A4C4 for ; Mon, 25 Aug 2003 11:04:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 377B544013 for ; Mon, 25 Aug 2003 11:04:00 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7PI3xUp030857 for ; Mon, 25 Aug 2003 11:03:59 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7PI3xja030851 for freebsd-java@freebsd.org; Mon, 25 Aug 2003 11:03:59 -0700 (PDT) Date: Mon, 25 Aug 2003 11:03:59 -0700 (PDT) Message-Id: <200308251803.h7PI3xja030851@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 18:04:10 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/08/22] java/41913 java JniHandler and ChannelUn Errors 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc 1 problem total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/11] java/43929 java linux-ibm-jdk core dumps without System.e o [2002/10/18] java/44219 java Update port: textproc/cocoon to 2.0.3 o [2002/10/18] java/44251 java Create stylebook port o [2002/11/04] java/44922 java JVM crash o [2003/07/29] java/55032 java SVr4 emulation interferes with install 5 problems total. From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 15:30:47 2003 Return-Path: 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 EC7B816A4BF for ; Mon, 25 Aug 2003 15:30:47 -0700 (PDT) Received: from fish.ish.com.au (212-86.dsl.connexus.net.au [203.17.212.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCCAF43FBD for ; Mon, 25 Aug 2003 15:30:46 -0700 (PDT) (envelope-from ari@ish.com.au) Received: from [203.29.62.159] (helo=ish.com.au) by fish.ish.com.au with esmtp (Exim 4.20) id 19rPyJ-00020X-Fk for freebsd-java@freebsd.org; Tue, 26 Aug 2003 08:37:59 +1000 Date: Tue, 26 Aug 2003 08:30:43 +1000 Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed From: Aristedes Maniatis To: freebsd-java@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: X-Mailer: Apple Mail (2.552) X-Scan-Signature: d0e446d666b9e2bfd31e15512589ad38 Subject: binary release X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 22:30:48 -0000 Congratulations to everyone who made this possible, it seems that JDK 1.3.1 has been released as binary: http://www.freebsdfoundation.org/press/20030825-java131.shtml I have a question. Is the binary release the same as the 1.3.1p8_2 port? If I have that installed on a production server should I be looking at upgrading to the binary? I am also curious; the release said > "The Foundation is now financing efforts to accelerate the completion of [JDK 1.4.1]." Does that mean that there are programmers being paid for their skills to complete this? Who are they? Personally I think it is great that money can be found to implement such core functionality in non-glamorous areas of FreeBSD, and make sure that someone works on it other than in their spare time between midnight and 3am. I hope Sun is contributing to this effort. Cheers Ari Maniatis --------------------------> ish group pty ltd 7 Darghan St Glebe 2037 Australia phone +61 2 9660 1400 fax +61 2 9660 7400 http www.ish.com.au | email info@ish.com.au PGP fingerprint 08 57 20 4B 80 69 59 E2 A9 BF 2D 48 C2 20 0C C8 From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 19:55:00 2003 Return-Path: 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 8872C16A4BF for ; Mon, 25 Aug 2003 19:55:00 -0700 (PDT) Received: from corb.mc.mpls.visi.com (corb.mc.mpls.visi.com [208.42.156.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A781743F93 for ; Mon, 25 Aug 2003 19:54:57 -0700 (PDT) (envelope-from hawkeyd@visi.com) Received: from sheol.localdomain (hawkeyd-fw.dsl.visi.com [208.42.101.193]) by corb.mc.mpls.visi.com (Postfix) with ESMTP id AD4B084D1 for ; Mon, 25 Aug 2003 21:54:56 -0500 (CDT) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6p2/8.11.6) id h7Q2suI02735 for freebsd-java@freebsd.org; Mon, 25 Aug 2003 21:54:56 -0500 (CDT) (envelope-from hawkeyd) X-Spam-Policy: http://www.visi.com/~hawkeyd/index.html#mail Date: Mon, 25 Aug 2003 21:54:55 -0500 From: D J Hawkey Jr To: freebsd-java@freebsd.org Message-ID: <20030826025455.GA2574@sheol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Have binary release, but also a few Qs X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hawkeyd@visi.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 02:55:00 -0000 I'll bet I'm the first on my block with these! I do have a few questions, though. +CONTENTS lists the following as dependancies, and I want to know if: XFree86-libraries-4.3.0_5: I have XF86 4.2; is 4.3 really required? libiconv-1.9.1_1: Will 1.8_2 suffice? gettext-0.11.5_1: Will 0.10.35_1 suffice? I don't mind doctoring up +CONTENTS to allow the ports I already have, if I know they'll work. This is an aged and EOL'd system, and I'm getting leery of updating installed ports, for fear of breakage. I'm running 4.5-REL-p24.10 (the ".10" are SAs I've applied since 4.5 was EOL'd). Will these packages run under FreeBSD 4.5? And finally, how to install these? Just run 'pkg_add diablo-jre-1.3.1.0' and 'pkg_add diablo-jdk-1.3.1.0', like any other package? TIA, Dave ______________________ ______________________ \__________________ \ D. J. HAWKEY JR. / __________________/ \________________/\ hawkeyd@visi.com /\________________/ http://www.visi.com/~hawkeyd/ From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 20:42:26 2003 Return-Path: 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 87B8516A4BF; Mon, 25 Aug 2003 20:42:26 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AEC043FBF; Mon, 25 Aug 2003 20:42:25 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h7Q3fmv67730; Mon, 25 Aug 2003 23:41:49 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Mon, 25 Aug 2003 23:41:48 -0400 (EDT) From: Jeff Roberson To: David Xu In-Reply-To: <3F49E267.3070302@viatech.com.cn> Message-ID: <20030825234011.F12093-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 03:42:26 -0000 On Mon, 25 Aug 2003, David Xu wrote: > Sheldon Hearn wrote: > > >On (2003/08/25 15:47), David Xu wrote: > > > > > > > >>>I heartily endorse your patch. :-) > >>> > >>> > >>> > >>Thanks, I am pleased to see libkse works. :-) > >>However don't expect I will commit it, kernel scheduler interface is a > >>bit weird, so > >>I won't try to add another weird code. > >> > >> > > > >Does Jeff know about your patch? Perhaps he'd be willing to review and > >commit, since he's the original author of SCHED_ULE. > > > > > No, I think he does not know the patch. > Please don't commit it, there is a performance problem, after each time > a thread is exited, > I must exit a kse and then let scheduler reinitialized it. In general, I > needn't manage a struct kse, > it should be a scheduler internal data. > Why do you need to do adjustrunqueue() in sched_prio? I also don't understand the case in sched_switchout(). Can you please explain that? Other than that this patch seems fine. KSE is technically missing the proper sched api calls which is why ULE doesn't work with it. Cheers, Jeff From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 21:00:33 2003 Return-Path: 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 90AE916A4BF; Mon, 25 Aug 2003 21:00:33 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F6C843FE0; Mon, 25 Aug 2003 21:00:15 -0700 (PDT) (envelope-from davidxu@viatech.com.cn) Received: from viatech.com.cn (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id RKXCRQ83; Tue, 26 Aug 2003 11:41:45 +0800 Message-ID: <3F4ADC3D.1080908@viatech.com.cn> Date: Tue, 26 Aug 2003 12:04:13 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Roberson References: <20030825234011.F12093-100000@mail.chesapeake.net> In-Reply-To: <20030825234011.F12093-100000@mail.chesapeake.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 04:00:33 -0000 Jeff Roberson wrote: >On Mon, 25 Aug 2003, David Xu wrote: > > > >>Sheldon Hearn wrote: >> >> >> >>>On (2003/08/25 15:47), David Xu wrote: >>> >>> >>> >>> >>> >>>>>I heartily endorse your patch. :-) >>>>> >>>>> >>>>> >>>>> >>>>> >>>>Thanks, I am pleased to see libkse works. :-) >>>>However don't expect I will commit it, kernel scheduler interface is a >>>>bit weird, so >>>>I won't try to add another weird code. >>>> >>>> >>>> >>>> >>>Does Jeff know about your patch? Perhaps he'd be willing to review and >>>commit, since he's the original author of SCHED_ULE. >>> >>> >>> >>> >>No, I think he does not know the patch. >>Please don't commit it, there is a performance problem, after each time >>a thread is exited, >>I must exit a kse and then let scheduler reinitialized it. In general, I >>needn't manage a struct kse, >>it should be a scheduler internal data. >> >> >> > >Why do you need to do adjustrunqueue() in sched_prio? I also don't >understand the case in sched_switchout(). Can you please explain that? > > adjustrunqueue maintains kg_last_assigned and related things, when a thread's priority is changed, the thread might no longer can be in scheduler's run queue, instead it will be in ksegrp's runqueue, because there is higher priority thread, and a KSE it attached should be detached now, and the KSE will attach to another higher priority thread, ULE ignores this requirement, as I can understand, ULE is only aware of 1:1 between KSE and thread. It would be nice if scheduler interface is thread aware but not kse aware. >Other than that this patch seems fine. KSE is technically missing the >proper sched api calls which is why ULE doesn't work with it. > >Cheers, >Jeff > >_______________________________________________ >freebsd-threads@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-threads >To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" > > > From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 21:08:38 2003 Return-Path: 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 4772416A4BF; Mon, 25 Aug 2003 21:08:38 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [208.142.252.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3485543FBF; Mon, 25 Aug 2003 21:08:37 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h7Q48VR79478; Tue, 26 Aug 2003 00:08:31 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 26 Aug 2003 00:08:31 -0400 (EDT) From: Jeff Roberson To: David Xu In-Reply-To: <3F4ADC3D.1080908@viatech.com.cn> Message-ID: <20030826000750.N12093-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 04:08:38 -0000 On Tue, 26 Aug 2003, David Xu wrote: > Jeff Roberson wrote: > > >On Mon, 25 Aug 2003, David Xu wrote: > > > > > > > >>Sheldon Hearn wrote: > >> > >> > >> > >>>On (2003/08/25 15:47), David Xu wrote: > >>> > >>> > >>> > >>> > >>> > >>>>>I heartily endorse your patch. :-) > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>Thanks, I am pleased to see libkse works. :-) > >>>>However don't expect I will commit it, kernel scheduler interface is a > >>>>bit weird, so > >>>>I won't try to add another weird code. > >>>> > >>>> > >>>> > >>>> > >>>Does Jeff know about your patch? Perhaps he'd be willing to review and > >>>commit, since he's the original author of SCHED_ULE. > >>> > >>> > >>> > >>> > >>No, I think he does not know the patch. > >>Please don't commit it, there is a performance problem, after each time > >>a thread is exited, > >>I must exit a kse and then let scheduler reinitialized it. In general, I > >>needn't manage a struct kse, > >>it should be a scheduler internal data. > >> > >> > >> > > > >Why do you need to do adjustrunqueue() in sched_prio? I also don't > >understand the case in sched_switchout(). Can you please explain that? > > > > > adjustrunqueue maintains kg_last_assigned and related things, when a > thread's priority is changed, > the thread might no longer can be in scheduler's run queue, instead it > will be in ksegrp's runqueue, > because there is higher priority thread, and a KSE it attached should be > detached now, and the KSE > will attach to another higher priority thread, ULE ignores this > requirement, as I can understand, > ULE is only aware of 1:1 between KSE and thread. > It would be nice if scheduler interface is thread aware but not kse aware. Yes, wouldn't it be nice.. I don't think it should be ksegrp aware either. oh well, it wasn't my design. Will you commit this patch? > > >Other than that this patch seems fine. KSE is technically missing the > >proper sched api calls which is why ULE doesn't work with it. > > > >Cheers, > >Jeff > > > >_______________________________________________ > >freebsd-threads@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-threads > >To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" > > > > > > > > > From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 21:29:05 2003 Return-Path: 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 67DE416A4BF for ; Mon, 25 Aug 2003 21:29:05 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 988F743FCB for ; Mon, 25 Aug 2003 21:29:04 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 19rVRy-0003Mc-05 for freebsd-java@freebsd.org; Mon, 25 Aug 2003 22:29:04 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 19rVRf-0003D2-05; Mon, 25 Aug 2003 22:28:40 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7Q4bUC5028562; Mon, 25 Aug 2003 22:37:31 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7Q4bNqP028561; Mon, 25 Aug 2003 22:37:23 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 25 Aug 2003 22:37:22 -0600 From: Greg Lewis To: Aristedes Maniatis Message-ID: <20030826043722.GA28511@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-java@freebsd.org Subject: Re: binary release X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 04:29:05 -0000 On Tue, Aug 26, 2003 at 08:30:43AM +1000, Aristedes Maniatis wrote: > Congratulations to everyone who made this possible, it seems that JDK > 1.3.1 has been released as binary: > > http://www.freebsdfoundation.org/press/20030825-java131.shtml > > I have a question. Is the binary release the same as the 1.3.1p8_2 > port? If I have that installed on a production server should I be > looking at upgrading to the binary? Its almost the same. If anything, 1.3.1p8_2 is slightly more up to date, but the differences are very minor. > I am also curious; the release said > > > "The Foundation is now financing efforts to accelerate the completion > of [JDK 1.4.1]." > > Does that mean that there are programmers being paid for their skills > to complete this? Who are they? Personally I think it is great that > money can be found to implement such core functionality in > non-glamorous areas of FreeBSD, and make sure that someone works on it > other than in their spare time between midnight and 3am. I hope Sun is > contributing to this effort. There was an announcement regarding this some time back. You can probably find it if you look through the archives :). Otherwise I'll let the people in question speak up. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 21:32:54 2003 Return-Path: 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 49D8016A4BF for ; Mon, 25 Aug 2003 21:32:54 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 791A443FCB for ; Mon, 25 Aug 2003 21:32:53 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 19rVVe-0001Fv-01 for freebsd-java@freebsd.org; Mon, 25 Aug 2003 22:32:53 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 19rVVT-00013t-01; Mon, 25 Aug 2003 22:32:36 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7Q4fQC5028588; Mon, 25 Aug 2003 22:41:27 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7Q4fOZ7028585; Mon, 25 Aug 2003 22:41:24 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 25 Aug 2003 22:41:24 -0600 From: Greg Lewis To: D J Hawkey Jr Message-ID: <20030826044124.GB28511@misty.eyesbeyond.com> References: <20030826025455.GA2574@sheol.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030826025455.GA2574@sheol.localdomain> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-java@freebsd.org Subject: Re: Have binary release, but also a few Qs X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 04:32:54 -0000 On Mon, Aug 25, 2003 at 09:54:55PM -0500, D J Hawkey Jr wrote: > I'll bet I'm the first on my block with these! Depends where you live :-). > I do have a few questions, though. +CONTENTS lists the following as > dependancies, and I want to know if: > XFree86-libraries-4.3.0_5: I have XF86 4.2; is 4.3 really required? > libiconv-1.9.1_1: Will 1.8_2 suffice? > gettext-0.11.5_1: Will 0.10.35_1 suffice? What you have should be fine. These dependencies were generated based on the packages installed on the machine the release was built on. Unfortunately (or fortunately from my point of view :) said machine is pretty much always up to date with the latest and greatest, hence the quite recent version dependencies. > I don't mind doctoring up +CONTENTS to allow the ports I already have, if > I know they'll work. This is an aged and EOL'd system, and I'm getting > leery of updating installed ports, for fear of breakage. You shouldn't need to doctor +CONTENTS, just use the -f flag to pkg_add. > I'm running 4.5-REL-p24.10 (the ".10" are SAs I've applied since 4.5 was > EOL'd). Will these packages run under FreeBSD 4.5? They should do, yes. > And finally, how to install these? Just run 'pkg_add diablo-jre-1.3.1.0' > and 'pkg_add diablo-jdk-1.3.1.0', like any other package? Yep. Probably pkg_add -f, to avoid version dependency issues. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 21:58:12 2003 Return-Path: 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 246C516A4BF; Mon, 25 Aug 2003 21:58:12 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 046FD43FFD; Mon, 25 Aug 2003 21:58:11 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc12) with ESMTP id <2003082604580301400i1cbue>; Tue, 26 Aug 2003 04:58:03 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id VAA27872; Mon, 25 Aug 2003 21:58:02 -0700 (PDT) Date: Mon, 25 Aug 2003 21:58:01 -0700 (PDT) From: Julian Elischer To: David Xu In-Reply-To: <3F4AE462.3040808@viatech.com.cn> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "deischen@freebsd.org" cc: Jeff Roberson cc: "freebsd-java@freebsd.org" cc: "threads@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 04:58:12 -0000 On Tue, 26 Aug 2003, David Xu wrote: > Jeff Roberson wrote: > > >>>> > >>>> > >>>Why do you need to do adjustrunqueue() in sched_prio? I also don't > >>>understand the case in sched_switchout(). Can you please explain that? > >>> > >>> > >>> > >>> > >>adjustrunqueue maintains kg_last_assigned and related things, when a > >>thread's priority is changed, > >>the thread might no longer can be in scheduler's run queue, instead it > >>will be in ksegrp's runqueue, > >>because there is higher priority thread, and a KSE it attached should be > >>detached now, and the KSE > >>will attach to another higher priority thread, ULE ignores this > >>requirement, as I can understand, > >>ULE is only aware of 1:1 between KSE and thread. > >>It would be nice if scheduler interface is thread aware but not kse aware. > >> > >> > > > >Yes, wouldn't it be nice.. I don't think it should be ksegrp aware > >either. oh well, it wasn't my design. > > > > > SA process doesn't rely on kse and ksegrp because I introduced a > kse_upcall structure, > so I don't care someone drops kse or ksegrp and makes them as scheduler > specific data structure. Well, this is not quite true. without KSEGRPS there is no possibility to make both process scope and system scope threads. process scope threads require a rendevous structure of some sort and it can not be the process. The fact that the 1:1 threads don't do this is why they can not do process-scope threads and system scope threads but are system scope only. MACH didn't have the additional concept of the KSEGRP and the contortions they had to go to to try do process scope threads (they eventually gave up) (I was a MACH user at that time) was incredible. > > >Will you commit this patch? > > > > > Will do. > > > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" > From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 22:18:45 2003 Return-Path: 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 26D4F16A4BF; Mon, 25 Aug 2003 22:18:45 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAF2D43FD7; Mon, 25 Aug 2003 22:18:35 -0700 (PDT) (envelope-from davidxu@viatech.com.cn) Received: from viatech.com.cn (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id RKXCRRGG; Tue, 26 Aug 2003 13:00:05 +0800 Message-ID: <3F4AEE98.4080607@viatech.com.cn> Date: Tue, 26 Aug 2003 13:22:32 +0800 From: David Xu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 05:18:45 -0000 Julian Elischer wrote: >On Tue, 26 Aug 2003, David Xu wrote: > > > >>Jeff Roberson wrote: >> >> >> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>Why do you need to do adjustrunqueue() in sched_prio? I also don't >>>>>understand the case in sched_switchout(). Can you please explain that? >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>adjustrunqueue maintains kg_last_assigned and related things, when a >>>>thread's priority is changed, >>>>the thread might no longer can be in scheduler's run queue, instead it >>>>will be in ksegrp's runqueue, >>>>because there is higher priority thread, and a KSE it attached should be >>>>detached now, and the KSE >>>>will attach to another higher priority thread, ULE ignores this >>>>requirement, as I can understand, >>>>ULE is only aware of 1:1 between KSE and thread. >>>>It would be nice if scheduler interface is thread aware but not kse aware. >>>> >>>> >>>> >>>> >>>Yes, wouldn't it be nice.. I don't think it should be ksegrp aware >>>either. oh well, it wasn't my design. >>> >>> >>> >>> >>SA process doesn't rely on kse and ksegrp because I introduced a >>kse_upcall structure, >>so I don't care someone drops kse or ksegrp and makes them as scheduler >>specific data structure. >> >> > >Well, this is not quite true. >without KSEGRPS there is no possibility to make both >process scope and system scope threads. > >process scope threads require a rendevous structure of some sort >and it can not be the process. > >The fact that the 1:1 threads don't do this is why they can not >do process-scope threads and system scope threads but are system scope >only. > > OK, I just don't want to manage kse, what I want is to set a concurrent level for a ksegrp, for example, a process-scope thread's group has a concurrent level equals number of cpu, so please don't force me to create and destroy kse, make them transparent. >MACH didn't have the additional concept of the KSEGRP and the >contortions they had to go to to try do process scope threads (they >eventually gave up) (I was a MACH user at that time) was incredible. > > > >>>Will you commit this patch? >>> >>> >>> >>> >>Will do. >> >> >> >>_______________________________________________ >>freebsd-threads@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-threads >>To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" >> >> >> > >_______________________________________________ >freebsd-threads@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-threads >To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" > > > From owner-freebsd-java@FreeBSD.ORG Mon Aug 25 22:32:25 2003 Return-Path: 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 667A116A4BF; Mon, 25 Aug 2003 22:32:25 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id A558543FBD; Mon, 25 Aug 2003 22:32:24 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc12) with ESMTP id <2003082605322301400f48dre>; Tue, 26 Aug 2003 05:32:24 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id WAA28178; Mon, 25 Aug 2003 22:32:23 -0700 (PDT) Date: Mon, 25 Aug 2003 22:32:22 -0700 (PDT) From: Julian Elischer To: David Xu In-Reply-To: <3F4AEE98.4080607@viatech.com.cn> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "deischen@freebsd.org" cc: "threads@freebsd.org" cc: "freebsd-java@freebsd.org" Subject: Re: vmark hangs with libthr and libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 05:32:25 -0000 On Tue, 26 Aug 2003, David Xu wrote: > Julian Elischer wrote: > > >On Tue, 26 Aug 2003, David Xu wrote: > > > > > > > >>Jeff Roberson wrote: > >> > >> > OK, I just don't want to manage kse, what I want is to set a > concurrent level for a ksegrp, > for example, a process-scope thread's group has a concurrent level > equals number of cpu, > so please don't force me to create and destroy kse, make them transparent. > I gave patches to peter to do that a couple of months ago but I can't touch the "sched" interface without starting a commit war. after the patches only 3 files know about the kse structure. From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 02:45:17 2003 Return-Path: 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 28B8516A4BF for ; Tue, 26 Aug 2003 02:45:17 -0700 (PDT) Received: from cocoa.syncrontech.com (cocoa-e0.syncrontech.com [62.71.8.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46B8543F75 for ; Tue, 26 Aug 2003 02:45:15 -0700 (PDT) (envelope-from ari.suutari@syncrontech.com) Received: from guinness.syncrontech.com (guinness.syncrontech.com [62.71.8.19])h7Q9j68d047714 for ; Tue, 26 Aug 2003 12:45:07 +0300 (EEST) (envelope-from ari.suutari@syncrontech.com) Received: from coffee.syncrontech.com (coffee.syncrontech.com [62.71.8.37]) h7Q9ijk6018432 for ; Tue, 26 Aug 2003 12:44:47 +0300 (EEST) (envelope-from ari.suutari@syncrontech.com) From: Ari Suutari Organization: Syncron Tech Oy To: java@freebsd.org Date: Tue, 26 Aug 2003 12:45:27 +0300 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308261245.27975.ari.suutari@syncrontech.com> X-Scanned-By: MIMEDefang 2.30 (www . roaringpenguin . com / mimedefang) X-Scanned-By: MIMEDefang 2.24 (www . roaringpenguin . com / mimedefang) Subject: Question about binary release license X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 09:45:17 -0000 Hi, I hope I'm wrong, but does the license of binary jdk/jre released by FreeBSD Foundation prohibit redistribution of the package ? I think that Sun allows one to redistribute at least jre with application so why is this different ? Ari S. From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 06:55:20 2003 Return-Path: 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 CDAF316A4BF for ; Tue, 26 Aug 2003 06:55:20 -0700 (PDT) Received: from yello.shallow.net (yello.shallow.net [203.18.243.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 207FF43FF3 for ; Tue, 26 Aug 2003 06:55:18 -0700 (PDT) (envelope-from joshua@shallow.net) Received: by yello.shallow.net (Postfix, from userid 1001) id D06AA29F4; Tue, 26 Aug 2003 23:55:16 +1000 (EST) Date: Tue, 26 Aug 2003 23:55:16 +1000 From: Joshua Goodall To: D J Hawkey Jr Message-ID: <20030826135516.GA23917@roughtrade.net> References: <20030826025455.GA2574@sheol.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <20030826025455.GA2574@sheol.localdomain> User-Agent: Mutt/1.5.4i cc: freebsd-java@freebsd.org Subject: Re: Have binary release, but also a few Qs X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 13:55:20 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Install the "portupgrade" port. It's a much more refined wrapper and controller for the port/package system. Joshua. On Mon, Aug 25, 2003 at 09:54:55PM -0500, D J Hawkey Jr wrote: > I'll bet I'm the first on my block with these! >=20 > I do have a few questions, though. +CONTENTS lists the following as > dependancies, and I want to know if: > XFree86-libraries-4.3.0_5: I have XF86 4.2; is 4.3 really required? > libiconv-1.9.1_1: Will 1.8_2 suffice? > gettext-0.11.5_1: Will 0.10.35_1 suffice? > I don't mind doctoring up +CONTENTS to allow the ports I already have, if > I know they'll work. This is an aged and EOL'd system, and I'm getting > leery of updating installed ports, for fear of breakage. >=20 > I'm running 4.5-REL-p24.10 (the ".10" are SAs I've applied since 4.5 was > EOL'd). Will these packages run under FreeBSD 4.5? >=20 > And finally, how to install these? Just run 'pkg_add diablo-jre-1.3.1.0' > and 'pkg_add diablo-jdk-1.3.1.0', like any other package? >=20 > TIA, > Dave >=20 > ______________________ ______________________ > \__________________ \ D. J. HAWKEY JR. / __________________/ > \________________/\ hawkeyd@visi.com /\________________/ > http://www.visi.com/~hawkeyd/ >=20 > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" --=20 Joshua Goodall "tea makes itself" joshua@roughtrade.net - Ana Susanj --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/S2bEPsqE37hMaDwRAt07AJ4+hI+7Cf5A+xpKRXfC2Z0gxktxhQCglG7x bRpZMIsrunLR1KxB9J2oy9I= =iVoN -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ-- From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 07:26:43 2003 Return-Path: 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 BCC3C16A4BF for ; Tue, 26 Aug 2003 07:26:43 -0700 (PDT) Received: from mgr4.xmission.com (mgr4.xmission.com [198.60.22.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E49143F85 for ; Tue, 26 Aug 2003 07:26:43 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr4.xmission.com with spam-scanned (Exim 3.35 #1) id 19remH-0002I9-04 for freebsd-java@freebsd.org; Tue, 26 Aug 2003 08:26:39 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr4.xmission.com with esmtp (Exim 3.35 #1) id 19remD-0002HJ-04 for freebsd-java@freebsd.org; Tue, 26 Aug 2003 08:26:30 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7QEZGC5031424 for ; Tue, 26 Aug 2003 08:35:17 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7QEZA6A031423 for freebsd-java@freebsd.org; Tue, 26 Aug 2003 08:35:10 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 26 Aug 2003 08:35:10 -0600 From: Greg Lewis To: freebsd-java@freebsd.org Message-ID: <20030826143510.GB31392@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-8.6 required=8.0 tests=BAYES_01,USER_AGENT_MUTT,X_AUTH_WARNING autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Binary release via ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 14:26:43 -0000 Hi all, In case people are interested, I have committed ports which install the binary release. See java/diablo-jre13 and java/diablo-jdk13. Let me know if you have any problems. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 07:29:00 2003 Return-Path: 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 3E23916A4BF for ; Tue, 26 Aug 2003 07:29:00 -0700 (PDT) Received: from ns2.xmission.com (ns2.xmission.com [207.254.193.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EDF343F3F for ; Tue, 26 Aug 2003 07:28:59 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by ns2.xmission.com with esmtp (Exim 3.35 #1) id 19rekh-0003TA-00; Tue, 26 Aug 2003 08:24:56 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7QEXbC5031409; Tue, 26 Aug 2003 08:33:38 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7QEXZsG031408; Tue, 26 Aug 2003 08:33:35 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 26 Aug 2003 08:33:34 -0600 From: Greg Lewis To: Ari Suutari Message-ID: <20030826143334.GA31392@misty.eyesbeyond.com> References: <200308261245.27975.ari.suutari@syncrontech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308261245.27975.ari.suutari@syncrontech.com> User-Agent: Mutt/1.4.1i cc: java@freebsd.org Subject: Re: Question about binary release license X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 14:29:00 -0000 On Tue, Aug 26, 2003 at 12:45:27PM +0300, Ari Suutari wrote: > I hope I'm wrong, but does the license of binary jdk/jre > released by FreeBSD Foundation prohibit redistribution > of the package ? I think that Sun allows one to redistribute > at least jre with application so why is this different ? I think the best people to contact with this question is the FreeBSD Foundation, they know all the ins and outs of the licensing. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 08:00:39 2003 Return-Path: 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 25A4116A4C0 for ; Tue, 26 Aug 2003 08:00:39 -0700 (PDT) Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id B98DB43FAF for ; Tue, 26 Aug 2003 08:00:37 -0700 (PDT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from puget.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1]) h7QF2EFE087530; Tue, 26 Aug 2003 17:02:15 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from localhost (rv@localhost)h7QF2CHH087519; Tue, 26 Aug 2003 17:02:13 +0200 (CEST) X-Authentication-Warning: puget.esil.univ-mrs.fr: rv owned process doing -bs Date: Tue, 26 Aug 2003 17:02:12 +0200 (CEST) From: Herve Quiroz X-X-Sender: rv@puget.esil.univ-mrs.fr To: Greg Lewis In-Reply-To: <20030826143510.GB31392@misty.eyesbeyond.com> Message-ID: <20030826164909.K63432@puget.esil.univ-mrs.fr> References: <20030826143510.GB31392@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: Binary release via ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 15:00:39 -0000 Hi Greg, First, good job to you and all the people that contributed to this event. With these new JDK/JRE ports, we need to update the current bsd.java.mk (1.0 flavor) so they may be used as dependencies to install java ports. But maybe we could wait and include it directly (and probably more easily as it is the point of the new version) in bsd.java.mk 2.0. This requires that as many people as possible give it a try. BTW, have you tested it yet ? I think it handles most of what we discussed so far. Except the JDK/JRE stuff, as there were no JRE port available for FreeBSD at this time... which is no more the case ;) I know it needs some cleaning/commenting so I will improve it tonight (also make it a bit more verbose). Herve On Tue, 26 Aug 2003, Greg Lewis wrote: > Hi all, > > In case people are interested, I have committed ports which install the > binary release. See java/diablo-jre13 and java/diablo-jdk13. Let me know > if you have any problems. From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 09:00:41 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36BD916A4C0 for ; Tue, 26 Aug 2003 09:00:41 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 138824400B for ; Tue, 26 Aug 2003 09:00:37 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7QG0aUp020467 for ; Tue, 26 Aug 2003 09:00:36 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7QG0a3X020466; Tue, 26 Aug 2003 09:00:36 -0700 (PDT) Resent-Date: Tue, 26 Aug 2003 09:00:36 -0700 (PDT) Resent-Message-Id: <200308261600.h7QG0a3X020466@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simon Barner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDB8916A4BF for ; Tue, 26 Aug 2003 08:52:45 -0700 (PDT) Received: from mailout.informatik.tu-muenchen.de (mailout.informatik.tu-muenchen.de [131.159.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17C5C43F75 for ; Tue, 26 Aug 2003 08:52:45 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 3F67B37FE7; Tue, 26 Aug 2003 17:52:43 +0200 (CEST) Message-Id: <20030826155243.3F67B37FE7@zi025.glhnet.mhn.de> Date: Tue, 26 Aug 2003 17:52:43 +0200 (CEST) From: Simon Barner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/56007: jdk13: pkg-plist incorrect for green-threads version X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Simon Barner List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 16:00:41 -0000 >Number: 56007 >Category: java >Synopsis: jdk13: pkg-plist incorrect for green-threads version >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 26 09:00:36 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Simon Barner >Release: FreeBSD 4.8-STABLE i386 >Organization: >Environment: System: FreeBSD zi025.glhnet.mhn.de 4.8-STABLE FreeBSD 4.8-STABLE #0: Thu Aug 7 04:04:01 CEST 2003 toor@zi025.glhnet.mhn.de:/usr/src/sys/compile/KISTE i386 jdk1.3.1p8_2 >Description: There seems to be something wrong with the pkg-plist (I build it without any of the extra-options). When I deinstall the jdk, the following directories are left in /usr/local/jdk1.3.1: ./jre ./jre/bin ./jre/bin/i386 ./jre/bin/i386/native_threads ./bin ./bin/i386 ./bin/i386/native_threads If I interpret the current pkg-plist correctly, then the ``native_threads'' directories are added to that list, if you request native thread support. Since these directories are created also in an installation with green threads, ``pkg_delete'' complains that it cannot remove ``./jre/bin/i386 '' and ``./bin/i386''. >How-To-Repeat: Install the jdk from the ports collection and deinstall it. >Fix: Either patch the installation script such that it does not create the ``native_threads'' directories for the green threads installation or remove the ``%%NATIVE:%%'' tag for these directories. The following patch does this (untested): --- pkg-plist.orig Tue Aug 26 17:45:07 2003 +++ pkg-plist Tue Aug 26 17:51:33 2003 @@ -966,7 +966,7 @@ @dirrm jdk%%JDK_VERSION%%/jre/lib/images/cursors @dirrm jdk%%JDK_VERSION%%/jre/lib/images %%HOTSPOT:%%@dirrm jdk%%JDK_VERSION%%/jre/lib/i386/server -%%NATIVE:%%@dirrm jdk%%JDK_VERSION%%/jre/lib/i386/native_threads +@dirrm jdk%%JDK_VERSION%%/jre/lib/i386/native_threads @dirrm jdk%%JDK_VERSION%%/jre/lib/i386/green_threads %%HOTSPOT:%%@dirrm jdk%%JDK_VERSION%%/jre/lib/i386/client @dirrm jdk%%JDK_VERSION%%/jre/lib/i386/classic @@ -975,7 +975,7 @@ @dirrm jdk%%JDK_VERSION%%/jre/lib/cmm @dirrm jdk%%JDK_VERSION%%/jre/lib/audio @dirrm jdk%%JDK_VERSION%%/jre/lib -%%NATIVE:%%@dirrm jdk%%JDK_VERSION%%/jre/bin/i386/native_threads +@dirrm jdk%%JDK_VERSION%%/jre/bin/i386/native_threads @dirrm jdk%%JDK_VERSION%%/jre/bin/i386/green_threads @dirrm jdk%%JDK_VERSION%%/jre/bin/i386 @dirrm jdk%%JDK_VERSION%%/jre/bin >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 09:26:03 2003 Return-Path: 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 549E616A4BF for ; Tue, 26 Aug 2003 09:26:03 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4829843FDD for ; Tue, 26 Aug 2003 09:26:01 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 19rgdm-0003TC-03 for freebsd-java@freebsd.org; Tue, 26 Aug 2003 10:26:00 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 19rgdY-0003Kn-03; Tue, 26 Aug 2003 10:25:41 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7QGYWC5041482; Tue, 26 Aug 2003 10:34:33 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7QGYTA9041481; Tue, 26 Aug 2003 10:34:29 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 26 Aug 2003 10:34:29 -0600 From: Greg Lewis To: Herve Quiroz Message-ID: <20030826163429.GA41436@misty.eyesbeyond.com> References: <20030826143510.GB31392@misty.eyesbeyond.com> <20030826164909.K63432@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <20030826164909.K63432@puget.esil.univ-mrs.fr> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.4 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PATCH_UNIFIED_DIFF, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, UPPERCASE_25_50,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-java@freebsd.org Subject: Re: Binary release via ports X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 16:26:03 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Aug 26, 2003 at 05:02:12PM +0200, Herve Quiroz wrote: > First, good job to you and all the people that contributed to this event. Yes, its a relief to finally have it out :). > With these new JDK/JRE ports, we need to update the current bsd.java.mk > (1.0 flavor) so they may be used as dependencies to install java ports. Correct. See attached patch which I've been meaning to send to Ernst for review since yesterday. I think it does the right thing. > But maybe we could wait and include it directly (and probably more > easily as it is the point of the new version) in bsd.java.mk 2.0. This > requires that as many people as possible give it a try. It should definitely be included in the new one as well, but I think we should get it into the current one if possible. > BTW, have you tested it yet ? I think it handles most of what we > discussed so far. Except the JDK/JRE stuff, as there were no JRE port > available for FreeBSD at this time... which is no more the case ;) I have looked over it but not had time to try it yet :(. I agree that we need to soon and I am going to try and install it this week and rebuild some of the java ports. > I know it needs some cleaning/commenting so I will improve it tonight > (also make it a bit more verbose). Great! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="bsd.java.mk.diff" Index: bsd.java.mk =================================================================== RCS file: /var/fcvs/ports/Mk/bsd.java.mk,v retrieving revision 1.33 diff -u -r1.33 bsd.java.mk --- bsd.java.mk 18 Jul 2003 14:31:45 -0000 1.33 +++ bsd.java.mk 25 Aug 2003 14:58:26 -0000 @@ -48,6 +48,7 @@ _JAVA_HOME_FREEBSD_1_2= ${LOCALBASE}/jdk1.2.2 _JAVA_HOME_FREEBSD_1_3= ${LOCALBASE}/jdk1.3.1 _JAVA_HOME_FREEBSD_1_4= ${LOCALBASE}/jdk1.4.1 +_JAVA_HOME_DIABLO_FREEBSD_1_3= ${LOCALBASE}/diablo-jdk1.3.1 _JAVA_HOME_BLACKDOWN_LINUX_1_2= ${LOCALBASE}/linux-blackdown-jdk1.2.2 _JAVA_HOME_BLACKDOWN_LINUX_1_3= ${LOCALBASE}/linux-blackdown-jdk1.3.1 _JAVA_HOME_BLACKDOWN_LINUX_1_4= ${LOCALBASE}/linux-blackdown-jdk1.4.1 @@ -62,6 +63,7 @@ _JAVA_PORT_FREEBSD_1_2= java/jdk12 _JAVA_PORT_FREEBSD_1_3= java/jdk13 _JAVA_PORT_FREEBSD_1_4= java/jdk14 +_JAVA_PORT_DIABLO_FREEBSD_1_3= java/diablo-jdk13 _JAVA_PORT_BLACKDOWN_LINUX_1_2= java/linux-blackdown-jdk12 _JAVA_PORT_BLACKDOWN_LINUX_1_3= java/linux-blackdown-jdk13 _JAVA_PORT_BLACKDOWN_LINUX_1_4= java/linux-blackdown-jdk14 @@ -88,6 +90,7 @@ . undef HAVE_JAVA_FREEBSD_1_2 . undef HAVE_JAVA_FREEBSD_1_3 . undef HAVE_JAVA_FREEBSD_1_4 +. undef HAVE_JAVA_DIABLO_FREEBSD_1_3 . undef HAVE_JAVA_BLACKDOWN_LINUX_1_2 . undef HAVE_JAVA_BLACKDOWN_LINUX_1_3 . undef HAVE_JAVA_BLACKDOWN_LINUX_1_4 @@ -109,6 +112,9 @@ . if exists(${_JAVA_HOME_FREEBSD_1_4}/${_JDK_FILE}) HAVE_JAVA_FREEBSD_1_4= YES . endif +. if exists(${_JAVA_HOME_DIABLO_FREEBSD_1_3}/${_JDK_FILE}) +HAVE_JAVA_DIABLO_FREEBSD_1_3= YES +. endif . if exists(${_JAVA_HOME_BLACKDOWN_LINUX_1_2}/${_JDK_FILE}) HAVE_JAVA_BLACKDOWN_LINUX_1_2= YES . endif @@ -153,6 +159,8 @@ JAVA_PORT= ${_JAVA_PORT_FREEBSD_1_3} . elif ${_JAVA_HOME} == ${_JAVA_HOME_FREEBSD_1_4} JAVA_PORT= ${_JAVA_PORT_FREEBSD_1_4} +. elif ${_JAVA_HOME} == ${_JAVA_HOME_DIABLO_FREEBSD_1_3} +JAVA_PORT= ${_JAVA_PORT_DIABLO_FREEBSD_1_3} . elif ${_JAVA_HOME} == ${_JAVA_HOME_BLACKDOWN_LINUX_1_2} JAVA_PORT= ${_JAVA_PORT_BLACKDOWN_LINUX_1_2} . elif ${_JAVA_HOME} == ${_JAVA_HOME_BLACKDOWN_LINUX_1_3} @@ -204,7 +212,8 @@ . if (${USE_JAVA} == "1.1+") . if defined(HAVE_JAVA_FREEBSD_1_4) USE_JAVA= 1.4 -. elif defined(HAVE_JAVA_FREEBSD_1_3) || \ +. elif defined(HAVE_JAVA_DIABLO_FREEBSD_1_3) || \ + defined(HAVE_JAVA_FREEBSD_1_3) defined(HAVE_JAVA_SUN_LINUX_1_3) || \ defined(HAVE_JAVA_BLACKDOWN_LINUX_1_3) || \ defined(HAVE_JAVA_IBM_LINUX_1_3) @@ -224,7 +233,8 @@ . elif (${USE_JAVA} == "1.2+") . if defined(HAVE_JAVA_FREEBSD_1_4) USE_JAVA= 1.4 -. elif defined(HAVE_JAVA_FREEBSD_1_3) || \ +. elif defined(HAVE_JAVA_DIABLO_FREEBSD_1_3) || \ + defined(HAVE_JAVA_FREEBSD_1_3) || \ defined(HAVE_JAVA_SUN_LINUX_1_3) || \ defined(HAVE_JAVA_BLACKDOWN_LINUX_1_3) || \ defined(HAVE_JAVA_IBM_LINUX_1_3) @@ -240,7 +250,8 @@ . elif (${USE_JAVA} == "1.3+") . if defined(HAVE_JAVA_FREEBSD_1_4) USE_JAVA= 1.4 -. elif defined(HAVE_JAVA_FREEBSD_1_3) || \ +. elif defined(HAVE_JAVA_DIABLO_FREEBSD_1_3) || \ + defined(HAVE_JAVA_FREEBSD_1_3) || \ defined(HAVE_JAVA_SUN_LINUX_1_3) || \ defined(HAVE_JAVA_IBM_LINUX_1_3) || \ defined(HAVE_JAVA_BLACKDOWN_LINUX_1_3) || \ @@ -311,10 +322,11 @@ # If the port needs Java 1.3, then there are 4 choices. They are, in order or # preference: # -# (1) JDK 1.3.1 for FreeBSD -# (2) Sun JDK 1.3.1 for Linux -# (3) IBM JDK 1.3.1 for Linux -# (4) Blackdown JDK 1.3.1 for Linux +# (1) Diablo JDK 1.3.1 for FreeBSD +# (2) JDK 1.3.1 for FreeBSD +# (3) Sun JDK 1.3.1 for Linux +# (4) IBM JDK 1.3.1 for Linux +# (5) Blackdown JDK 1.3.1 for Linux # # If the FreeBSD JDK 1.3.1 is installed or if none of the 1.3.1 JDK's is # installed, then the FreeBSD JDK 1.3.1 is used as a dependency for the port. @@ -326,7 +338,8 @@ . if defined(HAVE_JAVA_BLACKDOWN_LINUX_1_3) \ && !defined(HAVE_JAVA_IBM_LINUX_1_3) \ && !defined(HAVE_JAVA_SUN_LINUX_1_3) \ - && !defined(HAVE_JAVA_FREEBSD_1_3) + && !defined(HAVE_JAVA_FREEBSD_1_3) \ + && !defined(HAVE_JAVA_DIABLO_FREEBSD_1_3) JAVA_VENDOR= Blackdown JAVA_VER= 1.3.1 JAVA_OS= Linux @@ -334,25 +347,34 @@ JAVA_PORT= ${_JAVA_PORT_BLACKDOWN_LINUX_1_3} . elif defined(HAVE_JAVA_IBM_LINUX_1_3) \ && !defined(HAVE_JAVA_SUN_LINUX_1_3) \ - && !defined(HAVE_JAVA_FREEBSD_1_3) + && !defined(HAVE_JAVA_FREEBSD_1_3) \ + && !defined(HAVE_JAVA_DIABLO_FREEBSD_1_3) JAVA_VENDOR= IBM JAVA_VER= 1.3.1 JAVA_OS= Linux JAVA_HOME= ${_JAVA_HOME_IBM_LINUX_1_3} JAVA_PORT= ${_JAVA_PORT_IBM_LINUX_1_3} . elif defined(HAVE_JAVA_SUN_LINUX_1_3) \ - && !defined(HAVE_JAVA_FREEBSD_1_3) + && !defined(HAVE_JAVA_FREEBSD_1_3) \ + && !defined(HAVE_JAVA_DIABLO_FREEBSD_1_3) JAVA_VENDOR= Sun JAVA_VER= 1.3.1 JAVA_OS= Linux JAVA_HOME= ${_JAVA_HOME_SUN_LINUX_1_3} JAVA_PORT= ${_JAVA_PORT_SUN_LINUX_1_3} -. else +. elif defined(HAVE_JAVA_FREEBSD_1_3) \ + && !defined(HAVE_JAVA_DIABLO_FREEBSD_1_3) JAVA_VENDOR= FreeBSD JAVA_VER= 1.3.1 JAVA_OS= FreeBSD JAVA_HOME= ${_JAVA_HOME_FREEBSD_1_3} JAVA_PORT= ${_JAVA_PORT_FREEBSD_1_3} +. else +JAVA_VENDOR= FreeBSD Foundation +JAVA_VER= 1.3.1 +JAVA_OS= FreeBSD +JAVA_HOME= ${_JAVA_HOME_DIABLO_FREEBSD_1_3} +JAVA_PORT= ${_JAVA_PORT_DIABLO_FREEBSD_1_3} . endif # If the port needs Java 1.4, then there are 4 choices. They are, in order or --ew6BAiZeqk4r7MaW-- From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 11:54:44 2003 Return-Path: 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 E39AB16A4BF for ; Tue, 26 Aug 2003 11:54:44 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DD3E43FA3 for ; Tue, 26 Aug 2003 11:54:44 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h7QIsYtp022754; Tue, 26 Aug 2003 14:54:38 -0400 (EDT) Date: Tue, 26 Aug 2003 14:54:34 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Greg Lewis In-Reply-To: <20030824054627.GB50911@misty.eyesbeyond.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Yamada Ken Takeshi cc: java@freebsd.org Subject: Re: jdk14 on -current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 18:54:45 -0000 On Sat, 23 Aug 2003, Greg Lewis wrote: > On Sun, Aug 24, 2003 at 01:51:39PM +0900, Yamada Ken Takeshi wrote: > > One more! > > I needed the below, too. > > > > j2se/src/solaris/native/java/net/Inet6AddressImpl.c > > : : : : > > #ifndef __GLIBC__ > > /* gethostname() is in libc.so but I can't find a header file for it */ > > /***** /usr/include/unistd.h : 407 *******/ > > extern int gethostname(char *buf, size_t buf_len); > > ^^^^^^ > > #endif > > This is also fixed in CVS. However that fix requires a bit more work. Try > the attached patch for a quick fix. Note that your two patches allowed me to (finally!) build jdk14, with one exception. There was one additional error that caused the following: /usr/bin/gcc -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-parentheses -Di586 -DARCH='"i586"' -DRELEASE='"1.4.1-p3"' -DFULL_VERSION='"1.4.1-p3-root_25_aug_2003_10_52"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_LITTLE_ENDIAN -I. -I/opt/FreeBSD/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/java.net/net/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../../../src/solaris/javavm/include -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/java/net -I../../../src/solaris/native/java/net -c -o /opt/FreeBSD/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/java.net/net/obj/Inet4AddressImpl.o ../../../src/solaris/native/java/net/Inet4AddressImpl.c ../../../src/solaris/native/java/net/Inet4AddressImpl.c:296:29: missing terminating " character ../../../src/solaris/native/java/net/Inet4AddressImpl.c:297:8: missing terminating " character gmake[4]: *** [/opt/FreeBSD/src/ports/java/jdk14/work/control/build/bsd-i586/tmp/sun/java.net/net/obj/Inet4AddressImpl.o] Error 1 gmake[4]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk14/work/j2se/make/java/net' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk14/work/j2se/make/java/net' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/opt/FreeBSD/src/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 For some reason, lines 296 and 297 were split in the middle of a string. Joing them together fixed the problem. -- Dan Eischen From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 11:54:51 2003 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 989CD16A4BF; Tue, 26 Aug 2003 11:54:51 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34C6143F93; Tue, 26 Aug 2003 11:54:51 -0700 (PDT) (envelope-from glewis@FreeBSD.org) Received: from freefall.freebsd.org (glewis@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h7QIspUp036760; Tue, 26 Aug 2003 11:54:51 -0700 (PDT) (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h7QIspir036756; Tue, 26 Aug 2003 11:54:51 -0700 (PDT) Date: Tue, 26 Aug 2003 11:54:51 -0700 (PDT) From: Greg Lewis Message-Id: <200308261854.h7QIspir036756@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org Subject: Re: java/56007: jdk13: pkg-plist incorrect for green-threads version X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Aug 2003 18:54:51 -0000 Synopsis: jdk13: pkg-plist incorrect for green-threads version Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: glewis Responsible-Changed-When: Tue Aug 26 11:54:36 PDT 2003 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=56007 From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 22:31:35 2003 Return-Path: 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 E7A9416A4BF for ; Tue, 26 Aug 2003 22:31:35 -0700 (PDT) Received: from mclean.mail.mindspring.net (mclean.mail.mindspring.net [207.69.200.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 37FAD43F85 for ; Tue, 26 Aug 2003 22:31:35 -0700 (PDT) (envelope-from scrantr@ix.netcom.com) Received: from dialup-171.75.114.110.dial1.cincinnati1.level3.net ([171.75.114.110] helo=ix.netcom.com) by mclean.mail.mindspring.net with esmtp (Exim 3.33 #1) id 19rsu6-0001XB-00; Wed, 27 Aug 2003 01:31:35 -0400 Message-ID: <3F4C43CE.5080102@ix.netcom.com> Date: Wed, 27 Aug 2003 01:38:22 -0400 From: Richard Scranton Organization: OCLC, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-US, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: jdk 1.3.1 undefined symbol __terminate in libfontmanager.so on FreeBSD 4.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: scrantr@ix.netcom.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 05:31:36 -0000 I can report that attempting to run anything that uses Swing results in an "unsatisfied linker error" in libfontmanager.so, looking for __terminate. This is on an ancient 4.1 system. Upgrading isn't an option just yet, as recent 4.x versions break JDK 1.1.8. Linux JDK 1.3.0 (Sun) runs acceptably. The good news - OpenKIT 1.1.16 seems to operate with the FreeBSD JDK 1.3.1. It (OpenJIT) also works well with the Linux JDK if compiled on a Linux system and transported to the FreeBSD installation. -- _______________________________________________________ When you can see a light at the end of the tunnel, it will be a guy with a flashlight bringing more bad news. From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 22:56:46 2003 Return-Path: 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 4FB8F16A4BF; Tue, 26 Aug 2003 22:56:46 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95D0343F3F; Tue, 26 Aug 2003 22:56:45 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp1.euronet.nl (Postfix) with ESMTP id 8253267118; Wed, 27 Aug 2003 07:56:44 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Greg Lewis Date: Wed, 27 Aug 2003 07:56:44 +0200 User-Agent: KMail/1.5.2 X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308270756.44704.ernst.dehaan@nl.wanadoo.com> cc: freebsd-java@freebsd.org Subject: Diablo JRE/5.1-R: Undefined symbol "__fpclassifyd" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 05:56:46 -0000 Greg, Testing the Diablo FreeBSD JRE on FreeBSD 5.1-R. First I had to manually fetch the bz2 file. The install first installs compat4x, and then it installs the port self. So far so good. But then I try to run java -version: # /usr/local/diablo-jre1.3.1/bin/java -version /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__fpclassifyd" Any clue? Ernst From owner-freebsd-java@FreeBSD.ORG Tue Aug 26 22:58:33 2003 Return-Path: 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 C95F016A4BF; Tue, 26 Aug 2003 22:58:33 -0700 (PDT) Received: from smtp0.euronet.nl (smtp0.euronet.nl [194.134.35.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id A141143F93; Tue, 26 Aug 2003 22:58:32 -0700 (PDT) (envelope-from ernst.dehaan@nl.wanadoo.com) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by smtp0.euronet.nl (Postfix) with ESMTP id 4994A247C7; Wed, 27 Aug 2003 07:58:31 +0200 (MEST) From: Ernst de Haan Organization: Wanadoo Nederland B.V. To: Greg Lewis Date: Wed, 27 Aug 2003 07:58:31 +0200 User-Agent: KMail/1.5.2 References: <200308270756.44704.ernst.dehaan@nl.wanadoo.com> In-Reply-To: <200308270756.44704.ernst.dehaan@nl.wanadoo.com> X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308270758.31411.ernst.dehaan@nl.wanadoo.com> cc: freebsd-java@freebsd.org Subject: Re: Diablo JRE/5.1-R: Undefined symbol "__fpclassifyd" X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 05:58:33 -0000 Oops. I jumped up too quickly. Right after I sent the email I read this on http://www.FreeBSDFoundation.org/downloads/java-errata.shtml "August 25, 2003: Caffe Latte 1.3.1-0 Due to a binary compatibility issue, the 4.x Caffe Latte binaries cannot be successfully executed on FreeBSD 5.1-RELEASE. The incompatibility is a result of a change in the ABI offered by the system math library (libm) between the 5.0 and 5.1 releases, without a major version bump to support compatibility libraries. The FreeBSD Java and Release Engineering teams are exploring possible solutions and will post information when one is available." Sorry... :-) Ernst On Wednesday 27 August 2003 07:56, Ernst de Haan wrote: > Greg, > > > Testing the Diablo FreeBSD JRE on FreeBSD 5.1-R. First I had to manually > fetch the bz2 file. The install first installs compat4x, and then it > installs the port self. So far so good. > > But then I try to run java -version: > > # /usr/local/diablo-jre1.3.1/bin/java -version > /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol > "__fpclassifyd" > > Any clue? > > > Ernst > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 08:05:54 2003 Return-Path: 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 6814016A4C2 for ; Wed, 27 Aug 2003 08:05:54 -0700 (PDT) Received: from galilee.polands.org (CPE-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6D7E43F3F for ; Wed, 27 Aug 2003 08:05:52 -0700 (PDT) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id h7RF5pNP033498 for ; Wed, 27 Aug 2003 10:05:51 -0500 (CDT) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 27 Aug 2003 10:05:51 -0500 (CDT) Message-ID: <59379.63.104.35.130.1061996751.squirrel@email.polands.org> Date: Wed, 27 Aug 2003 10:05:51 -0500 (CDT) From: "Doug Poland" To: java@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: New diablo caffe port/pkg problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 15:05:54 -0000 Hello, I've run into two problems with the new JDK port/package. #1, Trying to use port: I cvsup'd this morning and now have a /usr/ports/java/diablo-jdk13 port. Typing... # make tells me to fetch: diablo-caffe-1.3.1-0.tar.bz2 Problem is, that site give me a file called: diablo-jdk-1.3.1.0.tgz A quick glance tells me there are not the same files. So the port mechanism is broken? #2, Trying to use pkg_add: So if the port is broken I download diablo-jdk-1.3.1.0.tgz and try a pkg_add on it. The pkg_installs but: % /usr/local/diablo-jdk1.3.1/bin/java -version java was not found in /usr/local/diablo-jdk1.3.1/bin/i386/native_threads/java Which is a true statement. There is no i386/native_threads directory, but I have a green_threads directory. Typing... % ./java -version /usr/libexec/ld-elf.so.1: Shared object "libhpi.so" not found So it would appear that I don't have a working binary package. Question: what is the correct way to install the new port or package? -- Regards, Doug From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 08:19:43 2003 Return-Path: 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 0D74216A4BF for ; Wed, 27 Aug 2003 08:19:43 -0700 (PDT) Received: from par033x2.europe.ra.rockwell.com (raeurfw.ra.rockwell.com [195.61.102.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5217B43FB1 for ; Wed, 27 Aug 2003 08:19:41 -0700 (PDT) (envelope-from mkes@ra.rockwell.com) Received: from ferda.cze.ra.rockwell.com ([10.70.136.59]) by par033x2.europe.ra.rockwell.com with SMTP (8.9.3 (PHNE_25183+JAGae58098)/8.7.3) id RAA25448 for ; Wed, 27 Aug 2003 17:19:39 +0200 (METDST) Received: (qmail 52935 invoked from network); 27 Aug 2003 15:19:37 -0000 Received: from euczprgmkes2.cze.ra.rockwell.com (HELO ra.rockwell.com) (10.70.136.78) by euczprgmult002.cze.ra.rockwell.com with SMTP; 27 Aug 2003 15:19:37 -0000 Message-ID: <3F4CCC0F.1090707@ra.rockwell.com> Date: Wed, 27 Aug 2003 17:19:43 +0200 From: Miroslav Kes User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: ugly fonts in java apps X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 15:19:43 -0000 Hi, I'm running FreeBSD native JDK 1.4.1 on 5.1R and I have question concerning fonts. Fonts that are displayed in Java applications (Eclipse for example) on my machine look too ugly (unsharp, rough - my eyes get tired quite soon reading it) comparing to fonts of native apps. (KDE). The corresponding section of my XF86Config looks like: Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/URW/" FontPath "/usr/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/mozilla/" EndSection Can anybody tell me what's the problem? Thanks Mira From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 08:46:10 2003 Return-Path: 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 F0F4116A4BF for ; Wed, 27 Aug 2003 08:46:10 -0700 (PDT) Received: from ren.fdy2.net (fdy2.demon.co.uk [80.177.11.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF3A43FAF for ; Wed, 27 Aug 2003 08:46:09 -0700 (PDT) (envelope-from rjs@ren.fdy2.net) Received: from ren.fdy2.net (localhost [127.0.0.1]) by ren.fdy2.net (8.12.9/8.11.3) with ESMTP id h7RFi9D0069029; Wed, 27 Aug 2003 16:44:09 +0100 (BST) (envelope-from rjs@ren.fdy2.net) Received: (from rjs@localhost) by ren.fdy2.net (8.12.9/8.12.9/Submit) id h7RFi9Yn069026; Wed, 27 Aug 2003 16:44:09 +0100 (BST) Date: Wed, 27 Aug 2003 16:44:09 +0100 (BST) Message-Id: <200308271544.h7RFi9Yn069026@ren.fdy2.net> From: Robert Swindells To: mkes@ra.rockwell.com In-reply-to: <3F4CCC0F.1090707@ra.rockwell.com> (message from Miroslav Kes on Wed, 27 Aug 2003 17:19:43 +0200) cc: freebsd-java@freebsd.org Subject: Re: ugly fonts in java apps X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 15:46:11 -0000 Miroslav Kes wrote: >I'm running FreeBSD native JDK 1.4.1 on 5.1R and I have question >concerning fonts. Fonts that are displayed in Java applications (Eclipse >for example) on my machine look too ugly (unsharp, rough - my eyes get >tired quite soon reading it) comparing to fonts of native apps. (KDE). >The corresponding section of my XF86Config looks like: >Section "Files" > RgbPath "/usr/X11R6/lib/X11/rgb" > ModulePath "/usr/X11R6/lib/modules" > FontPath "/usr/X11R6/lib/X11/fonts/misc/" > FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" > FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" > FontPath "/usr/X11R6/lib/X11/fonts/URW/" > FontPath "/usr/X11R6/lib/X11/fonts/local/" > FontPath "/usr/X11R6/lib/X11/fonts/mozilla/" >EndSection >Can anybody tell me what's the problem? My guess would be that the X server is trying to scale the fonts from the 75dpi directory instead of using the URW or Type 1 ones. I use the following in my XF86Config: FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/URW" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" Robert Swindells From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 10:10:53 2003 Return-Path: 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 008AE16A4BF for ; Wed, 27 Aug 2003 10:10:53 -0700 (PDT) Received: from mgr6.xmission.com (mgr6.xmission.com [198.60.22.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id E251943F3F for ; Wed, 27 Aug 2003 10:10:51 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr6.xmission.com with spam-scanned (Exim 3.35 #1) id 19s3o6-0002Q7-06 for java@freebsd.org; Wed, 27 Aug 2003 11:10:08 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr6.xmission.com with esmtp (Exim 3.35 #1) id 19s3nn-0002Cw-06; Wed, 27 Aug 2003 11:09:48 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7RHIbC5066682; Wed, 27 Aug 2003 11:18:37 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7RHIYq1066681; Wed, 27 Aug 2003 11:18:34 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 27 Aug 2003 11:18:34 -0600 From: Greg Lewis To: Doug Poland Message-ID: <20030827171834.GA66631@misty.eyesbeyond.com> References: <59379.63.104.35.130.1061996751.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59379.63.104.35.130.1061996751.squirrel@email.polands.org> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: java@freebsd.org Subject: Re: New diablo caffe port/pkg problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 17:10:53 -0000 On Wed, Aug 27, 2003 at 10:05:51AM -0500, Doug Poland wrote: > I've run into two problems with the new JDK port/package. > > #1, Trying to use port: I cvsup'd this morning and now > have a /usr/ports/java/diablo-jdk13 port. Typing... > > # make > > tells me to fetch: diablo-caffe-1.3.1-0.tar.bz2 > Problem is, that site give me a file called: diablo-jdk-1.3.1.0.tgz > A quick glance tells me there are not the same files. > So the port mechanism is broken? No, you fetched the wrong distribution for the port. The port gives you a specific URL to fetch from, please use that and you will get the correct file. What you got is a package, not the tarball the port uses. > #2, Trying to use pkg_add: So if the port is broken I > download diablo-jdk-1.3.1.0.tgz and try a pkg_add on it. > The pkg_installs but: > > % /usr/local/diablo-jdk1.3.1/bin/java -version > java was not found in /usr/local/diablo-jdk1.3.1/bin/i386/native_threads/java You have an environment variable set or have modified jvm.cfg to make the JDK use native threads. As you point out below, there are no native threads included with this release. The output you should receive looks like this: > /usr/local/diablo-jdk1.3.1/bin/java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.3.1-0) Classic VM (build diablo-1.3.1-0, green threads, nojit) > Which is a true statement. There is no i386/native_threads directory, > but I have a green_threads directory. Typing... > > % ./java -version > /usr/libexec/ld-elf.so.1: Shared object "libhpi.so" not found You can't run the executable directly without setting up library paths, this is what the wrapper script does. > So it would appear that I don't have a working binary package. > Question: what is the correct way to install the new port or package? It sounds like you have got it installed correctly (the package anyway). Please examine your settings and turn off whatever is forcing the use of native threads. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 10:14:11 2003 Return-Path: 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 73AB516A4BF for ; Wed, 27 Aug 2003 10:14:11 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11EDB43FF2 for ; Wed, 27 Aug 2003 10:14:08 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 19s3rz-0005qD-05 for freebsd-java@freebsd.org; Wed, 27 Aug 2003 11:14:07 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 19s3rw-0005o9-05; Wed, 27 Aug 2003 11:14:05 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7RHMxC5066742; Wed, 27 Aug 2003 11:23:00 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7RHMvDa066741; Wed, 27 Aug 2003 11:22:57 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 27 Aug 2003 11:22:57 -0600 From: Greg Lewis To: Richard Scranton Message-ID: <20030827172257.GB66631@misty.eyesbeyond.com> References: <3F4C43CE.5080102@ix.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F4C43CE.5080102@ix.netcom.com> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.5 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-java@freebsd.org Subject: Re: jdk 1.3.1 undefined symbol __terminate in libfontmanager.so on FreeBSD 4.1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 17:14:11 -0000 On Wed, Aug 27, 2003 at 01:38:22AM -0400, Richard Scranton wrote: > > I can report that attempting to run anything that uses Swing results in an > "unsatisfied linker error" in libfontmanager.so, looking for __terminate. > This is on an ancient 4.1 system. Upgrading isn't an option just yet, as > recent 4.x versions break JDK 1.1.8. Linux JDK 1.3.0 (Sun) runs acceptably. Is this the binary release of the JDK? BTW, there is a way to get 1.1.8 working on recent releases, the details should be in the archives. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 10:36:19 2003 Return-Path: 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 4C15316A4BF for ; Wed, 27 Aug 2003 10:36:19 -0700 (PDT) Received: from galilee.polands.org (CPE-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 411C643F3F for ; Wed, 27 Aug 2003 10:36:18 -0700 (PDT) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id h7RHaGNP034517; Wed, 27 Aug 2003 12:36:16 -0500 (CDT) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 27 Aug 2003 12:36:16 -0500 (CDT) Message-ID: <17293.63.104.35.130.1062005776.squirrel@email.polands.org> In-Reply-To: <20030827171834.GA66631@misty.eyesbeyond.com> References: <59379.63.104.35.130.1061996751.squirrel@email.polands.org> <20030827171834.GA66631@misty.eyesbeyond.com> Date: Wed, 27 Aug 2003 12:36:16 -0500 (CDT) From: "Doug Poland" To: "Greg Lewis" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: java@freebsd.org Subject: Re: New diablo caffe port/pkg problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 17:36:19 -0000 Greg Lewis said: >> So the port mechanism is broken? > > No, you fetched the wrong distribution for the port. The port > gives you a specific URL to fetch from, please use that and you > will get the correct file. What you got is a package, not the > tarball the port uses. > Yeah, I tried using the URL from the port instructions in the text-based w3m browser and it didn't work. So I went to the web page and saw that file, which you identified as the package >> % /usr/local/diablo-jdk1.3.1/bin/java -version >> java was not found in /usr/local/diablo-jdk1.3.1/bin/i386/native_threads/java > > You have an environment variable set or have modified jvm.cfg to make > the JDK use native threads. As you point out below, there are no native > threads included with this release. > You're right, setenv THREADS_FLAG native was in my environment from a build of /usr/ports/jdk13 WITH_HOTSPOT=yes. Took that out and now everything is peachy. Thanks for the help. From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 11:51:37 2003 Return-Path: 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 3474316A4BF for ; Wed, 27 Aug 2003 11:51:37 -0700 (PDT) Received: from galilee.polands.org (CPE-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB59843F93 for ; Wed, 27 Aug 2003 11:51:35 -0700 (PDT) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id h7RIpVNP035017; Wed, 27 Aug 2003 13:51:32 -0500 (CDT) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Wed, 27 Aug 2003 13:51:33 -0500 (CDT) Message-ID: <48296.63.104.35.130.1062010293.squirrel@email.polands.org> In-Reply-To: <200308271544.h7RFi9Yn069026@ren.fdy2.net> References: <3F4CCC0F.1090707@ra.rockwell.com> (message from Miroslav Kes onWed, 27 Aug 2003 17:19:43 +0200) <200308271544.h7RFi9Yn069026@ren.fdy2.net> Date: Wed, 27 Aug 2003 13:51:33 -0500 (CDT) From: "Doug Poland" To: "Robert Swindells" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: freebsd-java@freebsd.org Subject: Re: ugly fonts in java apps X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 18:51:37 -0000 Robert Swindells said: > > Miroslav Kes wrote: >>I'm running FreeBSD native JDK 1.4.1 on 5.1R and I >>have question concerning fonts. Fonts that are >>displayed in Java applications (Eclipse for example) >>on my machine look too ugly (unsharp, rough - my eyes >>get tired quite soon reading it) comparing to fonts >> of native apps. (KDE). > >>The corresponding section of my XF86Config looks like: > >>Section "Files" >> RgbPath "/usr/X11R6/lib/X11/rgb" >> ModulePath "/usr/X11R6/lib/modules" >> FontPath "/usr/X11R6/lib/X11/fonts/misc/" >> FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" >> FontPath "/usr/X11R6/lib/X11/fonts/Type1/" >> FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" >> FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" >> FontPath "/usr/X11R6/lib/X11/fonts/URW/" >> FontPath "/usr/X11R6/lib/X11/fonts/local/" >> FontPath "/usr/X11R6/lib/X11/fonts/mozilla/" >>EndSection >> >>Can anybody tell me what's the problem? > > My guess would be that the X server is trying to > scale the fonts from the 75dpi directory instead > of using the URW or Type 1 ones. > > I use the following in my XF86Config: > > FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/URW" > FontPath "/usr/X11R6/lib/X11/fonts/Type1" > FontPath "/usr/X11R6/lib/X11/fonts/Speedo" > FontPath "/usr/X11R6/lib/X11/fonts/misc" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi" > > Robert Swindells > I'm having a different font problem with java apps (Eclipse) but I'm wondering if it's related to this. My dialog and menu fonts are huge. Is modifying the X11 FontPath the prefered technique for tweaking the fonts in java apps? Thanks, Doug From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 11:55:59 2003 Return-Path: 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 8A33016A4BF for ; Wed, 27 Aug 2003 11:55:59 -0700 (PDT) Received: from nemesis.bmpcoe.org (bmpcoe.org [204.255.194.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF1D743F3F for ; Wed, 27 Aug 2003 11:55:58 -0700 (PDT) (envelope-from lloyd.meinholz@bmpcoe.org) Received: from mjollnir.bmpcoe.org ([204.255.194.63]) by nemesis.bmpcoe.org with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id QZ15CTQ8; Wed, 27 Aug 2003 14:57:16 -0400 From: "Lloyd H. Meinholz" To: java@freebsd.org Content-Type: text/plain Message-Id: <1062010555.5287.48.camel@mjollnir.bmpcoe.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 27 Aug 2003 14:55:55 -0400 Content-Transfer-Encoding: 7bit Subject: diablo caffe port problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 18:55:59 -0000 I am somewhat new to FreeBSD, so I may have some non diablo problem, but I'm not sure. I have installed the diablo caffe port. java -version give me the following error: /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__fpclassifyd" I'm not sure what ld-elf.so or libm.so belongs to. BTW, I have linux-sun-jdk1.4.2 somewhat working for me, but I have a problem building ant (the chmod task gives an error) and I was hoping diablo wouldn't have that problem. Thanks for any help/pointers, Lloyd From owner-freebsd-java@FreeBSD.ORG Wed Aug 27 12:46:50 2003 Return-Path: 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 8E64716A4BF for ; Wed, 27 Aug 2003 12:46:50 -0700 (PDT) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B91243FEC for ; Wed, 27 Aug 2003 12:46:47 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 19s6Fg-0002RL-02 for java@freebsd.org; Wed, 27 Aug 2003 13:46:44 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 19s6FW-0002H7-02; Wed, 27 Aug 2003 13:46:35 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7RJtUC5067590; Wed, 27 Aug 2003 13:55:30 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7RJtSs3067589; Wed, 27 Aug 2003 13:55:28 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 27 Aug 2003 13:55:27 -0600 From: Greg Lewis To: "Lloyd H. Meinholz" Message-ID: <20030827195527.GA67529@misty.eyesbeyond.com> References: <1062010555.5287.48.camel@mjollnir.bmpcoe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1062010555.5287.48.camel@mjollnir.bmpcoe.org> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: java@freebsd.org Subject: Re: diablo caffe port problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Aug 2003 19:46:50 -0000 On Wed, Aug 27, 2003 at 02:55:55PM -0400, Lloyd H. Meinholz wrote: > I have installed the diablo caffe port. java -version give me the > following error: > > /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol > "__fpclassifyd" > > I'm not sure what ld-elf.so or libm.so belongs to. > > BTW, I have linux-sun-jdk1.4.2 somewhat working for me, but I have a > problem building ant (the chmod task gives an error) and I was hoping > diablo wouldn't have that problem. Are you using FreeBSD 5.x? If so, what version? There are some maths library problems for some versions of 5.x. In particular, 5.1R is known to not work. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 02:05:15 2003 Return-Path: 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 717A016A4BF for ; Thu, 28 Aug 2003 02:05:15 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D51243FAF for ; Thu, 28 Aug 2003 02:05:14 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.22) id 19sIiO-000MEw-BR for freebsd-java@FreeBSD.org; Thu, 28 Aug 2003 11:05:12 +0200 Date: Thu, 28 Aug 2003 11:05:12 +0200 From: Sheldon Hearn To: freebsd-java@FreeBSD.org Message-ID: <20030828090512.GB83970@starjuice.net> Mail-Followup-To: freebsd-java@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn Subject: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 09:05:15 -0000 Hi folks, The next time someone says Windows is a better platform for running Java than FreeBSD is, consider this. The test class at the bottom of this message can fire about 1,800 [1] threads on my FreeBSD 5.1-CURRENT box, with the native jdk-1.4.1. My box is a PIII with 1G of RAM. The same class on a Windows 2000 Advanced Server with the Sun jdk-1.4.1 (and 1.4.2) can't fire more than about 130 threads. This is a dual-Xeon with 4G of RAM. Maybe there's some magic you can fiddle in the registry that tells the lame OS to allow a process to fire more threads. But I couldn't find it in 4 hours of searching on Microsoft and Google. Ciao, Sheldon. [1] Interestingly enough, this doesn't seem to be limited by the kern.threads.max_threads_per_proc sysctl. From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 02:08:55 2003 Return-Path: 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 4187216A4BF for ; Thu, 28 Aug 2003 02:08:55 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BE5743F3F for ; Thu, 28 Aug 2003 02:08:54 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.22) id 19sIlw-000MFc-Cr for freebsd-java@FreeBSD.org; Thu, 28 Aug 2003 11:08:52 +0200 Date: Thu, 28 Aug 2003 11:08:52 +0200 From: Sheldon Hearn To: freebsd-java@FreeBSD.org Message-ID: <20030828090852.GC83970@starjuice.net> Mail-Followup-To: freebsd-java@FreeBSD.org References: <20030828090512.GB83970@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030828090512.GB83970@starjuice.net> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 09:08:55 -0000 On (2003/08/28 11:05), Sheldon Hearn wrote: > The test class at the bottom of this message can fire about 1,800 [1] > threads on my FreeBSD 5.1-CURRENT box, with the native jdk-1.4.1. My > box is a PIII with 1G of RAM. Oops, make that about 8,000 threads. :-) And I forgot to include the class source. Ciao, Sheldon. public class TestThreads extends Thread { private long sleepMillis; public TestThreads(long sleepMillis) { this.sleepMillis = sleepMillis; } public void run() { try { Thread.sleep(sleepMillis); } catch (InterruptedException e) { } } public static void main(String[] args) { int threadCount = 0; long sleepMillis = 0; try { threadCount = new Integer(args[0]).intValue(); sleepMillis = new Long(args[1]).longValue(); } catch (Exception e) { usage(); } int i = 0; try { for (i = 0; i < threadCount; i++) { TestThreads test = new TestThreads(sleepMillis); test.start(); } System.out.println( "TestThreads: successfully fired " + threadCount + " threads" ); } catch (OutOfMemoryError e) { System.out.println("TestThreads: after creating " + i + " threads: " + e.getMessage()); } try { Thread.sleep(sleepMillis); System.out.println("TestThreads: waited " + sleepMillis + " milliseconds for all threads to complete"); } catch (InterruptedException e) { } } private static void usage() { System.err.println("usage: TestThreads threadCount sleepMillis"); System.exit(1); } } From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 02:15:05 2003 Return-Path: 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 BBCBE16A4BF for ; Thu, 28 Aug 2003 02:15:05 -0700 (PDT) Received: from armadillo.lan.eorigen.com (82-68-60-9.dsl.in-addr.zen.co.uk [82.68.60.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7788343FB1 for ; Thu, 28 Aug 2003 02:15:02 -0700 (PDT) (envelope-from dhardiker@eorigen.com) Received: from ws4 (ws4.lan.eorigen.com [192.168.1.54]) by armadillo.lan.eorigen.com (Postfix) with SMTP id D08C957FD for ; Thu, 28 Aug 2003 10:14:20 +0100 (BST) Message-ID: <009301c36d44$d1b3efa0$3601a8c0@ws4> From: "Dan Hardiker" To: Date: Thu, 28 Aug 2003 10:14:43 +0100 Organization: eOrigen MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: JDK v1.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Hardiker List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 09:15:05 -0000 Hi, Just wondering what the anticipated lead time from the JDK (and/or JRE) of v1.5 being released by SUN to it being available on FreeBSD v4.x (and/or v5.x)? PS: I understand the concept of "when its ready", but a rough guess will do. -- Dan Hardiker [dhardiker@eorigen.com] ADAM Systems Engineer eOrigen Ltd From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 02:27:23 2003 Return-Path: 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 5412316A4BF for ; Thu, 28 Aug 2003 02:27:23 -0700 (PDT) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id C45B743F75 for ; Thu, 28 Aug 2003 02:27:21 -0700 (PDT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by diomedes.noc.ntua.gr (8.12.9/8.12.9) with ESMTP id h7S9RKtn025468; Thu, 28 Aug 2003 12:27:20 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9/8.12.9) with ESMTP id h7S9RIqU013880; Thu, 28 Aug 2003 12:27:20 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <3F4DCAF6.9030906@noc.ntua.gr> Date: Thu, 28 Aug 2003 12:27:18 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, el MIME-Version: 1.0 To: Sheldon Hearn References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> In-Reply-To: <20030828090852.GC83970@starjuice.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 09:27:23 -0000 Sheldon Hearn wrote: > On (2003/08/28 11:05), Sheldon Hearn wrote: > > >>The test class at the bottom of this message can fire about 1,800 [1] >>threads on my FreeBSD 5.1-CURRENT box, with the native jdk-1.4.1. My >>box is a PIII with 1G of RAM. > > > Oops, make that about 8,000 threads. :-) > > And I forgot to include the class source. On my WinXP box (Celeron 1,2GHz, 512MB) it manages to create 7237 threads. Hey, we still win :-) -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 02:48:39 2003 Return-Path: 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 13DF016A4BF for ; Thu, 28 Aug 2003 02:48:39 -0700 (PDT) Received: from seed.net.tw (sn13.seed.net.tw [139.175.54.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52FBA43FDD for ; Thu, 28 Aug 2003 02:48:36 -0700 (PDT) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.121.140] (port=54314 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.14:1) id 19sJOM-0006vc-Uq for freebsd-java@FreeBSD.org; Thu, 28 Aug 2003 17:48:35 +0800 Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000) id 18D68347; Thu, 28 Aug 2003 17:48:33 +0800 (CST) Date: Thu, 28 Aug 2003 17:48:33 +0800 From: leafy To: freebsd-java@FreeBSD.org Message-ID: <20030828094833.GA82970@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.org References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20030828090852.GC83970@starjuice.net> User-Agent: Mutt/1.5.4i Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 09:48:39 -0000 On Thu, Aug 28, 2003 at 11:08:52AM +0200, Sheldon Hearn wrote: > On (2003/08/28 11:05), Sheldon Hearn wrote: > > > The test class at the bottom of this message can fire about 1,800 [1] > > threads on my FreeBSD 5.1-CURRENT box, with the native jdk-1.4.1. My > > box is a PIII with 1G of RAM. What is your sleep time settings? I can get to leafy@chihiro:~/tmp$ java TestThreads 50000 10 TestThreads: successfully fired 50000 threads TestThreads: waited 10 milliseconds for all threads to complete But my box is a P4-1.8G with 256MB RAM, lengthing the sleeptime to 10,000 ms also works, but drags my box down to nearly a halt. -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 02:59:45 2003 Return-Path: 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 0C49216A4BF for ; Thu, 28 Aug 2003 02:59:45 -0700 (PDT) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id D820C43FF3 for ; Thu, 28 Aug 2003 02:59:41 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 28 Aug 2003 10:59:24 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 19sJXY-0002oA-00; Thu, 28 Aug 2003 10:58:04 +0100 Date: Thu, 28 Aug 2003 10:58:04 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant Subject: Status of debugging with 1.4.1? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 09:59:45 -0000 I'm running 1.4.1-p3 on FreeBSD 4.8-STABLE #0: Tue Jul 29 18:12:32 BST 2003 I'm seeing a problem with one of our web applications (it's a complicated beast sitting on top of jetspeed and tomcat). About 50% of the time (like, when I'm sitting in front of the machine with my sleeves rolled up :-/ ) it works perfectly. At other times, tomcat appears to fail to finish initialising, sitting in a "poll" loop. I'm not sure if this is a problem with tomcat, our software, the threading library, or java. To begin with I would like to trace tomcat - at least up until the point where it hangs - to at least narrow down the field a bit. Unfortuantely, jdb seems to be having an awful lot of grief in this situation. Simple requests like "threads" will hang indefinitely. Is jdb supposed to be working as of patchset 3? ... or am I slightly behind the times? If there's a better way to get thread tracebacks out of java I'd love to hear it. jan PS. I'm sorry to be so vague but this problem is an intermittent one that only appears to show itself with this complex code-base, and I'm having trouble sorting out where it's hanging. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ On modesty: whoever said "it's hard being perfect" obviously wasn't me. From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 02:59:54 2003 Return-Path: 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 D8AB116A4BF for ; Thu, 28 Aug 2003 02:59:54 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57C8143FA3 for ; Thu, 28 Aug 2003 02:59:53 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.22) id 19sJZG-000MP0-Ba for freebsd-java@FreeBSD.org; Thu, 28 Aug 2003 11:59:50 +0200 Date: Thu, 28 Aug 2003 11:59:50 +0200 From: Sheldon Hearn To: freebsd-java@FreeBSD.org Message-ID: <20030828095950.GE83970@starjuice.net> Mail-Followup-To: freebsd-java@FreeBSD.org References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <20030828094833.GA82970@chihiro.leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030828094833.GA82970@chihiro.leafy.idv.tw> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 09:59:55 -0000 On (2003/08/28 17:48), leafy wrote: > > > The test class at the bottom of this message can fire about 1,800 [1] > > > threads on my FreeBSD 5.1-CURRENT box, with the native jdk-1.4.1. My > > > box is a PIII with 1G of RAM. > What is your sleep time settings? I can get to > leafy@chihiro:~/tmp$ java TestThreads 50000 10 > TestThreads: successfully fired 50000 threads > TestThreads: waited 10 milliseconds for all threads to complete > > But my box is a P4-1.8G with 256MB RAM, lengthing the sleeptime to 10,000 ms > also works, but drags my box down to nearly a halt. That's because memory is allocated for the stack of each thread. You don't have a lot of memory. Using a low sleep time means that you're not really keeping the threads alive long enough to have them all alive at once. I use 20000 as my sleep time. My box doesn't crawl, but I have 1G of memory. :-) Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 03:06:00 2003 Return-Path: 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 0AE8D16A4BF for ; Thu, 28 Aug 2003 03:06:00 -0700 (PDT) Received: from frost.ath.cx (BSN-95-242-77.dsl.siol.net [193.95.242.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AFBF43FF7 for ; Thu, 28 Aug 2003 03:05:58 -0700 (PDT) (envelope-from bfg@noviforum.si) Received: from noviforum.si (mordor.lucky.si [192.168.200.250]) by frost.ath.cx (ESMTP) with ESMTP id 9BCC278 for ; Thu, 28 Aug 2003 12:05:56 +0200 (CEST) Message-ID: <3F4DD228.20202@noviforum.si> Date: Thu, 28 Aug 2003 11:58:00 +0200 From: =?Big5?B?IkJyYW5rbyBGLiBHcmFjKG5hciI=?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <20030828094833.GA82970@chihiro.leafy.idv.tw> In-Reply-To: <20030828094833.GA82970@chihiro.leafy.idv.tw> X-Enigmail-Version: 0.81.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 10:06:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 leafy wrote: | What is your sleep time settings? I can get to | leafy@chihiro:~/tmp$ java TestThreads 50000 10 | TestThreads: successfully fired 50000 threads | TestThreads: waited 10 milliseconds for all threads to complete | | But my box is a P4-1.8G with 256MB RAM, lengthing the sleeptime to 10,000 ms | also works, but drags my box down to nearly a halt. | $ time java TestThreads 50000 0 TestThreads: successfully fired 50000 threads TestThreads: waited 0 milliseconds for all threads to complete real 0m20.173s user 0m16.739s sys 0m1.909s ... which 2478,56 threads/second. $ time java TestThreads 50000 10 TestThreads: successfully fired 50000 threads TestThreads: waited 10 milliseconds for all threads to complete real 0m22.295s user 0m18.258s sys 0m2.816s 2242,65 threads/second This is a celeron 1700, 256 mb of ram, 5.1-p2. System is normaly respondable during java execution. I have 1.4.1 native jdk. Brane -----BEGIN PGP SIGNATURE----- iD8DBQE/TdIofiC/E+t8hPcRAi4YAJ9EwoX0n8JlFD3obCw/UeyQ750xzQCfVwNj X6Q7hfOhpeUzD0Wg4sdzueU= =sVOy -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 03:17:19 2003 Return-Path: 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 B928D16A4BF for ; Thu, 28 Aug 2003 03:17:19 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55C6343F93 for ; Thu, 28 Aug 2003 03:17:18 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.22) id 19sJq6-000MTn-FD; Thu, 28 Aug 2003 12:17:14 +0200 Date: Thu, 28 Aug 2003 12:17:14 +0200 From: Sheldon Hearn To: "Branko F. Grac(nar" Message-ID: <20030828101714.GF83970@starjuice.net> Mail-Followup-To: "Branko F. Grac(nar" , freebsd-java@freebsd.org References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <20030828094833.GA82970@chihiro.leafy.idv.tw> <3F4DD228.20202@noviforum.si> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F4DD228.20202@noviforum.si> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: freebsd-java@freebsd.org Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 10:17:19 -0000 On (2003/08/28 11:58), "Branko F. Grac(nar" wrote: > $ time java TestThreads 50000 0 > TestThreads: successfully fired 50000 threads > TestThreads: waited 0 milliseconds for all threads to complete > > real 0m20.173s > user 0m16.739s > sys 0m1.909s > > ... which 2478,56 threads/second. These are not meaningful numbers. The program wasn't designed to test thread instantiation performance, and is pretty much guaranteed to do a shit job of it. :-) You need enough sleep time to ensure that all the threads are active at once. Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 03:29:28 2003 Return-Path: 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 EA58E16A4BF for ; Thu, 28 Aug 2003 03:29:28 -0700 (PDT) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE92043FF9 for ; Thu, 28 Aug 2003 03:29:27 -0700 (PDT) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Thu, 28 Aug 2003 11:29:16 +0100 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 19sK0G-0004Qd-00; Thu, 28 Aug 2003 11:27:44 +0100 Date: Thu, 28 Aug 2003 11:27:44 +0100 (BST) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: freebsd-java@freebsd.org In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant Subject: Re: Status of debugging with 1.4.1? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 10:29:29 -0000 On Thu, 28 Aug 2003, Jan Grant wrote: > I'm running 1.4.1-p3 on FreeBSD 4.8-STABLE #0: Tue Jul 29 18:12:32 BST 2003 > > I'm seeing a problem with one of our web applications (it's a > complicated beast sitting on top of jetspeed and tomcat). About 50% of > the time (like, when I'm sitting in front of the machine with my sleeves > rolled up :-/ ) it works perfectly. At other times, tomcat appears to > fail to finish initialising, sitting in a "poll" loop. Argh. Although my question about debugging status still stands, a sigquit helped. Java was hanging waiting on sufficient random bits to generate an SSL key. Ironically, my observation about it working perfectly when I was at the console ("must be green thumbs," I thought) turned out to be more accurate than I had anticipated. Added the IDE interrupts to rndcontrol and suddenly the app springs int life :-) jan -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ Goedel would be proud - I'm both inconsistent _and_ incomplete. From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 03:43:20 2003 Return-Path: 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 9F72516A4BF for ; Thu, 28 Aug 2003 03:43:20 -0700 (PDT) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5168143F85 for ; Thu, 28 Aug 2003 03:43:19 -0700 (PDT) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.121.140] (port=54555 helo=chihiro.leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.14:1) id 19sKFK-0007BE-En for freebsd-java@FreeBSD.org; Thu, 28 Aug 2003 18:43:18 +0800 Received: by chihiro.leafy.idv.tw (Postfix, from userid 1000) id B8144347; Thu, 28 Aug 2003 18:43:17 +0800 (CST) Date: Thu, 28 Aug 2003 18:43:17 +0800 From: leafy To: freebsd-java@FreeBSD.org Message-ID: <20030828104317.GA83300@chihiro.leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.org References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <20030828094833.GA82970@chihiro.leafy.idv.tw> <20030828095950.GE83970@starjuice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20030828095950.GE83970@starjuice.net> User-Agent: Mutt/1.5.4i Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 10:43:20 -0000 On Thu, Aug 28, 2003 at 11:59:50AM +0200, Sheldon Hearn wrote: > I use 20000 as my sleep time. My box doesn't crawl, but I have 1G of > memory. :-) > > Ciao, > Sheldon. Ah, this sounds much more reasonable. I just tried your sleepTime. It still works, just a lot more slowly. -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 04:06:07 2003 Return-Path: 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 D675816A4BF for ; Thu, 28 Aug 2003 04:06:07 -0700 (PDT) Received: from frost.ath.cx (BSN-95-242-77.dsl.siol.net [193.95.242.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42EB643FD7 for ; Thu, 28 Aug 2003 04:06:06 -0700 (PDT) (envelope-from bfg@noviforum.si) Received: from noviforum.si (mordor.lucky.si [192.168.200.250]) by frost.ath.cx (ESMTP) with ESMTP id 9646CA2 for ; Thu, 28 Aug 2003 13:06:04 +0200 (CEST) Message-ID: <3F4DE07E.6020306@noviforum.si> Date: Thu, 28 Aug 2003 12:59:10 +0200 From: =?ISO-8859-1?Q?=22Branko_F=2E_Grac=28nar=22?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <20030828094833.GA82970@chihiro.leafy.idv.tw> <3F4DD228.20202@noviforum.si> <20030828101714.GF83970@starjuice.net> In-Reply-To: <20030828101714.GF83970@starjuice.net> X-Enigmail-Version: 0.81.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 11:06:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 | | These are not meaningful numbers. The program wasn't designed to test | thread instantiation performance, and is pretty much guaranteed to do a | shit job of it. :-) | | You need enough sleep time to ensure that all the threads are active at | once. $ time java TestThreads 50000 10000 TestThreads: successfully fired 50000 threads TestThreads: waited 10000 milliseconds for all threads to complete real 2m41.536s user 2m8.008s sys 0m5.261s last pid: 14356; load averages: 0.86, 0.28, 0.13 ~ up 0+22:54:54 13:01:33 9 processes: 2 running, 7 sleeping CPU states: 86.8% user, 0.0% nice, 12.5% system, 0.8% interrupt, 0.0% idle Mem: 161M Active, 19M Inact, 56M Wired, 8712K Cache, 35M Buf, 656K Free Swap: 512M Total, 123M Used, 389M Free, 24% Inuse, 328K In, 1764K Out PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 14353 branko 126 0 1005M 112M RUN 0:22 82.81% 61.38% java -----BEGIN PGP SIGNATURE----- iD8DBQE/TeB+fiC/E+t8hPcRAoZhAJ467CAFW4idtqZP5UWiTboKxCka9ACeNPBF ZKQlHgT3iD1IumU4vOIpA8E= =CUvH -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 04:28:35 2003 Return-Path: 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 8065316A4BF for ; Thu, 28 Aug 2003 04:28:35 -0700 (PDT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D1BC43FBD for ; Thu, 28 Aug 2003 04:28:32 -0700 (PDT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9/8.12.9) with ESMTP id h7SBSSmw011898; Thu, 28 Aug 2003 14:28:28 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9/8.12.9) with ESMTP id h7SBSQqU022639; Thu, 28 Aug 2003 14:28:27 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <3F4DE75A.4050109@noc.ntua.gr> Date: Thu, 28 Aug 2003 14:28:26 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en, el MIME-Version: 1.0 To: bfg@noviforum.si References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <20030828094833.GA82970@chihiro.leafy.idv.tw> <3F4DD228.20202@noviforum.si> <20030828101714.GF83970@starjuice.net> <3F4DE07E.6020306@noviforum.si> In-Reply-To: <3F4DE07E.6020306@noviforum.si> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 11:28:35 -0000 Branko F. Grac(nar wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > | > | These are not meaningful numbers. The program wasn't designed to test > | thread instantiation performance, and is pretty much guaranteed to do a > | shit job of it. :-) > | > | You need enough sleep time to ensure that all the threads are active at > | once. > > $ time java TestThreads 50000 10000 > TestThreads: successfully fired 50000 threads > TestThreads: waited 10000 milliseconds for all threads to complete > > real 2m41.536s > user 2m8.008s > sys 0m5.261s You specify a sleep time of 10000 msec = 10 sec and your program takes 2min+42sec = 162sec to execute. Therefore one would assume that some of the threads finished before others started, thus failing to stress the limits of thread allocation by the system. Why don't you try an insane timeout, like 900000; Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 04:50:46 2003 Return-Path: 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 EB89D16A4BF for ; Thu, 28 Aug 2003 04:50:46 -0700 (PDT) Received: from ext-ch1gw-2.online-age.net (ext-ch1gw-2.online-age.net [216.34.191.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4DC444013 for ; Thu, 28 Aug 2003 04:50:45 -0700 (PDT) (envelope-from lapinski@crd.ge.com) Received: from int-ch1gw-4.online-age.net (int-ch1gw-4 [3.159.232.68]) h7SBoUgX026533; Thu, 28 Aug 2003 07:50:31 -0400 (EDT) Received: from crdns.crd.ge.com (localhost [127.0.0.1]) id h7SBoTin024038; Thu, 28 Aug 2003 07:50:30 -0400 (EDT) Received: from xbh01crdge.crd.ge.com (xbh01crdge.crd.ge.com [3.159.72.22]) by crdns.crd.ge.com (8.11.6p2/8.11.6) with ESMTP id h7SBoRJ10863; Thu, 28 Aug 2003 07:50:28 -0400 (EDT) Received: by xbh01crdge.crd.ge.com with Internet Mail Service (5.5.2653.19) id ; Thu, 28 Aug 2003 07:50:27 -0400 Message-ID: From: "Lapinski, Michael (Research)" To: "'Dan Hardiker'" , freebsd-java@freebsd.org Date: Thu, 28 Aug 2003 07:50:16 -0400 X-Mailer: Internet Mail Service (5.5.2653.19) Subject: RE: JDK v1.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 11:50:47 -0000 Hi, I think your jumping the gun a bit (or I missed something), Sun hasn't even released their 1.5 jdk. How could the fbsd java team create one? -mtl -----Original Message----- From: Dan Hardiker [mailto:dhardiker@eorigen.com] Sent: Thursday, August 28, 2003 5:15 AM To: freebsd-java@freebsd.org Subject: JDK v1.5 Hi, Just wondering what the anticipated lead time from the JDK (and/or JRE) of v1.5 being released by SUN to it being available on FreeBSD v4.x (and/or v5.x)? PS: I understand the concept of "when its ready", but a rough guess will do. -- Dan Hardiker [dhardiker@eorigen.com] ADAM Systems Engineer eOrigen Ltd _______________________________________________ freebsd-java@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-java To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 05:15:31 2003 Return-Path: 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 00C9316A4BF for ; Thu, 28 Aug 2003 05:15:31 -0700 (PDT) Received: from armadillo.lan.eorigen.com (82-68-60-9.dsl.in-addr.zen.co.uk [82.68.60.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D3DD43FCB for ; Thu, 28 Aug 2003 05:15:29 -0700 (PDT) (envelope-from dhardiker@eorigen.com) Received: from ws4 (ws4.lan.eorigen.com [192.168.1.54]) by armadillo.lan.eorigen.com (Postfix) with SMTP id 32E8C57FF; Thu, 28 Aug 2003 13:14:57 +0100 (BST) Message-ID: <01cf01c36d5e$10c56070$3601a8c0@ws4> From: "Dan Hardiker" To: "Lapinski, Michael (Research)" , References: Date: Thu, 28 Aug 2003 13:15:27 +0100 Organization: eOrigen MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Re: JDK v1.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Hardiker List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 12:15:31 -0000 > [Lapinski, Michael (Research)] > I think your jumping the gun a bit (or I missed something), > Sun hasn't even released their 1.5 jdk. Sorry if that was implied - I should have been clearer. > How could the fbsd java team create one? I was meaning once Sun have released the 1.5 JDK, how long is expected before a 1.5 JDK is runable on FreeBSD. e.g. if Sun releases 1.5 JDK on November 10th, we would be looking at a 6 - 9 month lead time before a FreeBSD release would be fesable. I was expecting the answer to be circumstantially based on the alpha / beta 1.5 JDKs which are already availiable (at least they are to teams like Eclispe / JetBrains [who do the IDEA Java IDE] and other major Java developers). If the answer is "we have no idea", thats fine too. I am writing up a projection for the impact of what v1.5 will mean for our product (how it will help and, if we use 1.5 features, how long will it be before the servers (linux, mac osx, windows, freebsd) we use will be able to support the new class files). I would like to be as accurate as I can - hence the seemingly unanswerable question. Thanks for your understanding. -- Dan Hardiker From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 05:26:29 2003 Return-Path: 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 7617816A4BF for ; Thu, 28 Aug 2003 05:26:29 -0700 (PDT) Received: from ext-ch1gw-1.online-age.net (ext-ch1gw-1.online-age.net [216.34.191.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 391FC43FEC for ; Thu, 28 Aug 2003 05:26:28 -0700 (PDT) (envelope-from lapinski@crd.ge.com) Received: from int-ch1gw-4.online-age.net (int-ch1gw-4 [3.159.232.68]) h7SCQHkF014754; Thu, 28 Aug 2003 07:26:21 -0500 (CDT) Received: from crdns.crd.ge.com (localhost [127.0.0.1]) id h7SCQF1H018847; Thu, 28 Aug 2003 08:26:16 -0400 (EDT) Received: from xbh01crdge.crd.ge.com (xbh01crdge.crd.ge.com [3.159.72.22]) by crdns.crd.ge.com (8.11.6p2/8.11.6) with ESMTP id h7SCQEJ14499; Thu, 28 Aug 2003 08:26:15 -0400 (EDT) Received: by xbh01crdge.crd.ge.com with Internet Mail Service (5.5.2653.19) id ; Thu, 28 Aug 2003 08:26:14 -0400 Message-ID: From: "Lapinski, Michael (Research)" To: "'Dan Hardiker'" , "Lapinski, Michael (Research)" , freebsd-java@freebsd.org Date: Thu, 28 Aug 2003 08:26:04 -0400 X-Mailer: Internet Mail Service (5.5.2653.19) Subject: RE: JDK v1.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 12:26:29 -0000 Worst case scenarios you can use the linux jdk1.5 if fbsd one isnt yet available.. -----Original Message----- From: Dan Hardiker [mailto:dhardiker@eorigen.com] Sent: Thursday, August 28, 2003 8:15 AM To: Lapinski, Michael (Research); freebsd-java@freebsd.org Subject: Re: JDK v1.5 > [Lapinski, Michael (Research)] > I think your jumping the gun a bit (or I missed something), Sun hasn't > even released their 1.5 jdk. Sorry if that was implied - I should have been clearer. > How could the fbsd java team create one? I was meaning once Sun have released the 1.5 JDK, how long is expected before a 1.5 JDK is runable on FreeBSD. e.g. if Sun releases 1.5 JDK on November 10th, we would be looking at a 6 - 9 month lead time before a FreeBSD release would be fesable. I was expecting the answer to be circumstantially based on the alpha / beta 1.5 JDKs which are already availiable (at least they are to teams like Eclispe / JetBrains [who do the IDEA Java IDE] and other major Java developers). If the answer is "we have no idea", thats fine too. I am writing up a projection for the impact of what v1.5 will mean for our product (how it will help and, if we use 1.5 features, how long will it be before the servers (linux, mac osx, windows, freebsd) we use will be able to support the new class files). I would like to be as accurate as I can - hence the seemingly unanswerable question. Thanks for your understanding. -- Dan Hardiker From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 05:59:39 2003 Return-Path: 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 11E2B16A4BF for ; Thu, 28 Aug 2003 05:59:39 -0700 (PDT) Received: from galilee.polands.org (CPE-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id B467443FA3 for ; Thu, 28 Aug 2003 05:59:37 -0700 (PDT) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id h7SCxYNP042043; Thu, 28 Aug 2003 07:59:35 -0500 (CDT) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Thu, 28 Aug 2003 07:59:35 -0500 (CDT) Message-ID: <28805.63.104.35.130.1062075575.squirrel@email.polands.org> Date: Thu, 28 Aug 2003 07:59:35 -0500 (CDT) From: "Doug Poland" To: "long cao" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: java@freebsd.org Subject: Re: fonts in eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 12:59:39 -0000 long cao said: >>> > I'm having a different font problem with java apps (Eclipse) but >>> > I'm wondering if it's related to this. My dialog and menu fonts >>> > are huge. >> > >> > i think i had that problem as well... once i installed ttf fonts >> > package from ports and copy over [arial?] from ms systems, the >> > problem went away >> > >> > [eclipse initially complained of not being able to find the fonts >> > and then went to defaults] >> > >> > hope this helps >> > >> >> So far, yes it does. However, I cannot find a ttf port on my >> 4.8-STABLE system. >> >> Thanks for your help, >> > > ~ports/x11-fonts/webfonts > > the port contains the fonts i was referring to. :) > Thanks, unfortunately I still have these huge fonts. This is what I've done... Read the file: /usr/X11R6/lib/X11/doc/README.fonts Installed the webfonts port Edited my XF86Config file and removed FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" Removed the above directory from the file system Ran fc-cache Restarted X setenv GDK_USE_XFT 1 Started Eclipse and... Window ->Preferences ->Workbench ->Fonts ->Restore Defaults I wonder if this might be a problem with an underlying system, Eclipse depends on several ports that manipulate fonts... % pkg_info -rR /var/db/pkg/eclipse-2.1.1_2/ Information for eclipse-2.1.1_2: Depends on: Dependency: urwfonts-1.0 Dependency: jpeg-6b_1 Dependency: png-1.2.5_2 Dependency: pkgconfig-0.15.0 Dependency: freetype2-2.1.4_1 Dependency: open-motif-2.2.2_1 Dependency: libiconv-1.9.1_1 Dependency: tiff-3.5.7_1 Dependency: expat-1.95.6_1 Dependency: javavmwrapper-1.4 Dependency: imake-4.3.0_1 Dependency: fontconfig-2.2.90_3 Dependency: XFree86-libraries-4.3.0_5 Dependency: gettext-0.11.5_1 Dependency: XFree86-fontEncodings-4.3.0 Dependency: glib-2.2.2 Dependency: jdk-1.4.1p3 Dependency: atk-1.2.4 Dependency: XFree86-fontScalable-4.3.0 Dependency: Xft-2.1.2 Dependency: pango-1.2.3 Dependency: gtk-2.2.2 Also, here's my XF86Config font path: FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/URW" FontPath "/usr/X11R6/lib/X11/fonts/webfonts" I appreciate your help so far. I hope you don't mind if I Cc this to the list as resolution may ultimately help others. -- Regards, Doug From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 06:51:07 2003 Return-Path: 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 B46A116A4BF for ; Thu, 28 Aug 2003 06:51:07 -0700 (PDT) Received: from beavis.abacus.co.uk (beavis.abacus.co.uk [212.137.18.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FB1943FF3 for ; Thu, 28 Aug 2003 06:51:05 -0700 (PDT) (envelope-from antony@abacus.co.uk) Received: from borat.abacus.co.uk (smtp [212.137.18.217]) by beavis.abacus.co.uk (8.12.8/8.12.8) with ESMTP id h7SDp2iJ097866; Thu, 28 Aug 2003 14:51:03 +0100 (BST) (envelope-from antony@abacus.co.uk) Received: from borat (localhost [127.0.0.1])ESMTP id 1FC972FA87B; Thu, 28 Aug 2003 14:50:41 +0100 (BST) Received: from dhcp-bl199.abacus.co.uk ([192.168.99.199]) by borat.abacus.co.uk (MailMonitor for SMTP v1.2.2 ) ; Thu, 28 Aug 2003 14:50:40 +0100 (BST) From: Antony T Curtis To: Sheldon Hearn , freebsd-java@freebsd.org Date: Thu, 28 Aug 2003 14:50:56 +0100 User-Agent: KMail/1.5.1 References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> In-Reply-To: <20030828090852.GC83970@starjuice.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200308281451.01229.antony@abacus.co.uk> Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 13:51:07 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 28 Aug 2003 10:08 am, Sheldon Hearn wrote: > On (2003/08/28 11:05), Sheldon Hearn wrote: > > The test class at the bottom of this message can fire about 1,800 [1] > > threads on my FreeBSD 5.1-CURRENT box, with the native jdk-1.4.1. My > > box is a PIII with 1G of RAM. > > Oops, make that about 8,000 threads. :-) > > And I forgot to include the class source. I'm just curious, which patchset and which threading library? Ta, =2D --=20 ANTONY T CURTIS Tel: +44 (1635) 36222 Abacus Polar Holdings Ltd Fax: +44 (1635) 38670 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/TgjFA98IbJ8osCYRAl3wAJ4rFwsVVSgHkGAHjUa13lfqUqSZ6QCgsPNl de/ggji7ce5ZLI2j7LZZSSE=3D =3DSf8P =2D----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 06:55:51 2003 Return-Path: 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 B77D516A4BF for ; Thu, 28 Aug 2003 06:55:51 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4005D43FFB for ; Thu, 28 Aug 2003 06:55:50 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.22) id 19sNFb-000N98-Kt; Thu, 28 Aug 2003 15:55:47 +0200 Date: Thu, 28 Aug 2003 15:55:47 +0200 From: Sheldon Hearn To: Antony T Curtis Message-ID: <20030828135547.GN83970@starjuice.net> Mail-Followup-To: Antony T Curtis , freebsd-java@freebsd.org References: <20030828090512.GB83970@starjuice.net> <20030828090852.GC83970@starjuice.net> <200308281451.01229.antony@abacus.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308281451.01229.antony@abacus.co.uk> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: freebsd-java@freebsd.org Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 13:55:51 -0000 On (2003/08/28 14:50), Antony T Curtis wrote: > > Oops, make that about 8,000 threads. :-) > > > > And I forgot to include the class source. > > I'm just curious, which patchset and which threading library? Patchset 3, libc_r. But it seems that not all Windows 2000 Advanced Server installations have this problem. I can get about the same number of threads running on a single-CPU box with no service pack. So I've narrowed it down to either broken Hyperthreading (HTT) support in Windows 2000, or a problem with service pack 3 or 4. And can you believe that Microsoft Support want $246 to tell me the answer, even though it's OBVIOUSLY a glitch in their software. A server license buys you no warranty or support other than media replacement in the event of a defective CDROM. :-) Windows. What a waste of time. Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 06:59:04 2003 Return-Path: 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 B7B9716A4BF for ; Thu, 28 Aug 2003 06:59:04 -0700 (PDT) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D20F743FE1 for ; Thu, 28 Aug 2003 06:59:03 -0700 (PDT) (envelope-from c.rued@xsb.com) Date: Thu, 28 Aug 2003 09:57:11 -0400 Message-Id: <200308280957.AA20054220@xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "c.rued" To: X-Mailer: Subject: JDK 1.4 and beyond X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: c.rued@xsb.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 13:59:04 -0000 Here's a question (just curious): As of now, if you want the source to a JDK, you have to wait until it's released. Has there been any discussion of getting access to their source repository to get a head-start on development of future JDKs? Also, has there been any consideration of copying modifications necessary to compile on FreeBSD into Sun's source (that is, assuming it doesn't make compiling on other platforms impossible)? It seems to me that doing these two things would significantly decrease the amount of time necessary for a native JDK. Any possibility of either/both of those things occurring? --Chris From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 07:53:14 2003 Return-Path: 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 AF73616A4BF for ; Thu, 28 Aug 2003 07:53:14 -0700 (PDT) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B54F43FAF for ; Thu, 28 Aug 2003 07:53:13 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 19sO9A-0001nX-03 for freebsd-java@freebsd.org; Thu, 28 Aug 2003 08:53:12 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 19sO8l-0001Y7-03; Thu, 28 Aug 2003 08:52:48 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7SF1jC5073513; Thu, 28 Aug 2003 09:01:45 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7SF1gmg073505; Thu, 28 Aug 2003 09:01:42 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 28 Aug 2003 09:01:41 -0600 From: Greg Lewis To: Dan Hardiker Message-ID: <20030828150141.GA73438@misty.eyesbeyond.com> References: <01cf01c36d5e$10c56070$3601a8c0@ws4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <01cf01c36d5e$10c56070$3601a8c0@ws4> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.9 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-java@freebsd.org Subject: Re: JDK v1.5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 14:53:14 -0000 On Thu, Aug 28, 2003 at 01:15:27PM +0100, Dan Hardiker wrote: > > [Lapinski, Michael (Research)] > > I think your jumping the gun a bit (or I missed something), > > Sun hasn't even released their 1.5 jdk. > > Sorry if that was implied - I should have been clearer. > > > How could the fbsd java team create one? > > I was meaning once Sun have released the 1.5 JDK, how long is expected > before a 1.5 JDK is runable on FreeBSD. > > e.g. if Sun releases 1.5 JDK on November 10th, we would be looking at a 6 - > 9 month lead time before a FreeBSD release would be fesable. There are a number of variables: 1. Release time of binary vs. release time of SCSL code base. For instance, 1.4.2 has been out for a couple of months, but the SCSL code release hasn't happened yet. 2. Developer time. This is the most critical one. Volunteers have time...well, when they have time. That might be right when its released or it might be 6 months down the road. You've also got to factor in the interest level. People can get burnt out or move on to other projects. So, the best answer is "we have no idea". However, currently I would say 6 - 9 months is a reasonable time frame, probably closer to 6 if we can get 1.4 really in good shape before 1.5 is out and the FreeBSD Foundation continues to help. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 08:01:11 2003 Return-Path: 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 B5FCD16A4BF for ; Thu, 28 Aug 2003 08:01:11 -0700 (PDT) Received: from mgr6.xmission.com (mgr6.xmission.com [198.60.22.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE7AC43F85 for ; Thu, 28 Aug 2003 08:01:10 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr6.xmission.com with spam-scanned (Exim 3.35 #1) id 19sOGs-0005ta-06 for freebsd-java@freebsd.org; Thu, 28 Aug 2003 09:01:10 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr6.xmission.com with esmtp (Exim 3.35 #1) id 19sOGJ-0005Mz-06; Thu, 28 Aug 2003 09:00:37 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h7SF9XC5073556; Thu, 28 Aug 2003 09:09:34 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h7SF9VAn073555; Thu, 28 Aug 2003 09:09:31 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 28 Aug 2003 09:09:31 -0600 From: Greg Lewis To: "c.rued" Message-ID: <20030828150931.GB73438@misty.eyesbeyond.com> References: <200308280957.AA20054220@xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200308280957.AA20054220@xsb.com> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.5 required=8.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-java@freebsd.org Subject: Re: JDK 1.4 and beyond X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 15:01:11 -0000 On Thu, Aug 28, 2003 at 09:57:11AM -0400, c.rued wrote: > Here's a question (just curious): > > As of now, if you want the source to a JDK, you have to wait until it's released. Has there been any discussion of getting access to their source repository to get a head-start on development of future JDKs? We have that access already, through the agreement with the FreeBSD Foundation. > Also, has there been any consideration of copying modifications necessary to compile on FreeBSD into Sun's source (that is, assuming it doesn't make compiling on other platforms impossible)? Thats up to Sun. The patches have generally been designed to keep the ability to compile on other platforms intact, so that shouldn't be a problem. > It seems to me that doing these two things would significantly decrease the amount of time necessary for a native JDK. Any possibility of either/both of those things occurring? One has occurred, the other is out of our hands. However, you miss the big kicker with your first question. Is having access to the repository a good thing? Consider that Blackdown has this access. The result is a closed development effort, no source code patches can be released and the binaries can only be released once they've been tested to be compliant. Is this what we want for the BSD Java team too? In your answer take into account the NetBSD and OpenBSD team members who would then have no incentive to participate since they have no binary release license. So, while we have the access, the real question is whether its a good idea to use it. Its a non-reversible decision too, since once you work with the Sun source you're effectively "tainted" with respect to your ability to release source patches under the SCSL. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 08:59:46 2003 Return-Path: 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 4BDE016A4BF for ; Thu, 28 Aug 2003 08:59:46 -0700 (PDT) Received: from beavis.abacus.co.uk (beavis.abacus.co.uk [212.137.18.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF5AD43FAF for ; Thu, 28 Aug 2003 08:59:44 -0700 (PDT) (envelope-from antony@abacus.co.uk) Received: from borat.abacus.co.uk (smtp [212.137.18.217]) by beavis.abacus.co.uk (8.12.8/8.12.8) with ESMTP id h7SFxhiJ003351; Thu, 28 Aug 2003 16:59:43 +0100 (BST) (envelope-from antony@abacus.co.uk) Received: from borat (localhost [127.0.0.1])ESMTP id ECDFB2FA87C; Thu, 28 Aug 2003 16:59:20 +0100 (BST) Received: from dhcp-bl199.abacus.co.uk ([192.168.99.199]) by borat.abacus.co.uk (MailMonitor for SMTP v1.2.2 ) ; Thu, 28 Aug 2003 16:59:20 +0100 (BST) From: Antony T Curtis To: Sheldon Hearn Date: Thu, 28 Aug 2003 16:59:40 +0100 User-Agent: KMail/1.5.1 References: <20030828090512.GB83970@starjuice.net> <200308281451.01229.antony@abacus.co.uk> <20030828135547.GN83970@starjuice.net> In-Reply-To: <20030828135547.GN83970@starjuice.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Description: clearsigned data Content-Disposition: inline Message-Id: <200308281659.41323.antony@abacus.co.uk> cc: freebsd-java@freebsd.org Subject: Re: FreeBSD vs Windows 2000 "Advanced" Server X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 15:59:46 -0000 =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 28 Aug 2003 2:55 pm, Sheldon Hearn wrote: > On (2003/08/28 14:50), Antony T Curtis wrote: > > > Oops, make that about 8,000 threads. :-) > > > > > > And I forgot to include the class source. > > > > I'm just curious, which patchset and which threading library? > > Patchset 3, libc_r. Hmm... I was hoping it was libkse... I plan to try to build it and play wit= h=20 it myself soon. With pure userland threads (libc_r) it will only present 1 real thread to t= he=20 kernel. libc plays all kind of fun 'n games to simulate threading. > But it seems that not all Windows 2000 Advanced Server installations > have this problem. > > I can get about the same number of threads running on a single-CPU box > with no service pack. So I've narrowed it down to either broken > Hyperthreading (HTT) support in Windows 2000, or a problem with service > pack 3 or 4. AFAIK, WinNT is not that scalable as CPU++... and that it's 'sweet spot' is= =20 around 4 CPUs. =2D --=20 ANTONY T CURTIS Tel: +44 (1635) 36222 Abacus Polar Holdings Ltd Fax: +44 (1635) 38670 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/TibtA98IbJ8osCYRAiaDAJ4zE1D88EQwGdiJui4iRWl56Yc8qQCg1QlB mUo97Nyr/4ooTdK1te7AV28=3D =3D1gJY =2D----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 11:56:02 2003 Return-Path: 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 4326516A4BF for ; Thu, 28 Aug 2003 11:56:02 -0700 (PDT) Received: from frost.ath.cx (BSN-95-242-77.dsl.siol.net [193.95.242.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20CFD43FAF for ; Thu, 28 Aug 2003 11:56:01 -0700 (PDT) (envelope-from bfg@noviforum.si) Received: from noviforum.si (mordor.lucky.si [192.168.200.250]) by frost.ath.cx (ESMTP) with ESMTP id 45CEB78 for ; Thu, 28 Aug 2003 20:56:01 +0200 (CEST) Message-ID: <3F4E4EA1.4040202@noviforum.si> Date: Thu, 28 Aug 2003 20:49:05 +0200 From: =?ISO-8859-2?Q?=22Branko_F=2E_Gra=E8nar=22?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org X-Enigmail-Version: 0.81.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: possible native 1.4.1 bug? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 18:56:02 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. I've got weird situation here: $ java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_04_jun_2003_15_46) Java HotSpot(TM) Client VM (build 1.4.1-p3-root_04_jun_2003_15_46, mixed mode) $ ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) 524288 file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 100000 pipe size (512 bytes, -p) 1 stack size (kbytes, -s) 65536 cpu time (seconds, -t) unlimited max user processes (-u) 1818 virtual memory (kbytes, -v) unlimited $ java -Xss8192k Stack size of 8196 Kb exceeds current limit of 1024 Kb. (Stack sizes are rounded up to a multiple of the system page size.) See limit(1) to increase the stack size limit. ?!? My allowed stack size is 64M!!! Brane -----BEGIN PGP SIGNATURE----- iD8DBQE/Tk6hfiC/E+t8hPcRAm4WAJwK5/cLN0YsuCEs4enbiDcdM1H6jgCfUJ+w G3T+vlZSXmGwhDqRi74b6/I= =si1h -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 12:00:58 2003 Return-Path: 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 B079316A4BF for ; Thu, 28 Aug 2003 12:00:58 -0700 (PDT) Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 611A843FDD for ; Thu, 28 Aug 2003 12:00:57 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh by axl.seasidesoftware.co.za with local (Exim 4.22) id 19sS0q-000Onb-9z; Thu, 28 Aug 2003 21:00:52 +0200 Date: Thu, 28 Aug 2003 21:00:52 +0200 From: Sheldon Hearn To: "Branko F. Gra?nar" Message-ID: <20030828190052.GE93028@starjuice.net> Mail-Followup-To: "Branko F. Gra?nar" , freebsd-java@freebsd.org References: <3F4E4EA1.4040202@noviforum.si> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F4E4EA1.4040202@noviforum.si> User-Agent: Mutt/1.5.4i Sender: Sheldon Hearn cc: freebsd-java@freebsd.org Subject: Re: possible native 1.4.1 bug? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 19:00:58 -0000 On (2003/08/28 20:49), "Branko F. Gra?nar" wrote: > $ java -Xss8192k > Stack size of 8196 Kb exceeds current limit of 1024 Kb. > (Stack sizes are rounded up to a multiple of the system page size.) > See limit(1) to increase the stack size limit. What are you smoking? :-) You really need an 8MB stack for _each_ thread? It sounds like you've gone down the recursion road for the wrong problem. :-( I'd _hate_ to think what this would do to FreeBSD's VM, even if you could get it to work. Aren't stack pages wired on FreeBSD? Ciao, Sheldon. From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 12:09:44 2003 Return-Path: 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 0E63816A4BF for ; Thu, 28 Aug 2003 12:09:44 -0700 (PDT) Received: from frost.ath.cx (BSN-95-242-77.dsl.siol.net [193.95.242.77]) by mx1.FreeBSD.org (Postfix) with ESMTP id 016FE43FF9 for ; Thu, 28 Aug 2003 12:09:42 -0700 (PDT) (envelope-from bfg@noviforum.si) Received: from noviforum.si (mordor.lucky.si [192.168.200.250]) by frost.ath.cx (ESMTP) with ESMTP id B74F0A2 for ; Thu, 28 Aug 2003 21:09:43 +0200 (CEST) Message-ID: <3F4E51D8.7050306@noviforum.si> Date: Thu, 28 Aug 2003 21:02:48 +0200 From: =?ISO-8859-1?Q?=22Branko_F=2E_Grac=28nar=22?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org References: <3F4E4EA1.4040202@noviforum.si> <20030828190052.GE93028@starjuice.net> In-Reply-To: <20030828190052.GE93028@starjuice.net> X-Enigmail-Version: 0.81.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: possible native 1.4.1 bug? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 19:09:44 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sheldon Hearn wrote: | |>$ java -Xss8192k |>Stack size of 8196 Kb exceeds current limit of 1024 Kb. |>(Stack sizes are rounded up to a multiple of the system page size.) |>See limit(1) to increase the stack size limit. | | | What are you smoking? :-) i used to smoke davidoff lights :))) | You really need an 8MB stack for _each_ thread? This stack is not for each thread, but it's simple a thread stack. If you want alot of threads, you need to increase thread stack. With default settings, i'm only able to create about 7000 threads at the same time. Which is not enough for me. ... But this is not subject of this posting. Simply, -Xss switch does NOT work. I'm using 5.1-p2. Brane -----BEGIN PGP SIGNATURE----- iD8DBQE/TlHYfiC/E+t8hPcRAtioAJ4iQ2iZmOuIPiw7Ay8EjbFXDPfKPwCfecAw sfJ9ZSXnGcdvkr82ys2HC14= =wT0o -----END PGP SIGNATURE----- From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 12:26:23 2003 Return-Path: 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 3721316A4BF for ; Thu, 28 Aug 2003 12:26:23 -0700 (PDT) Received: from galilee.polands.org (CPE-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF35A43FB1 for ; Thu, 28 Aug 2003 12:26:21 -0700 (PDT) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id h7SJQHNP044574; Thu, 28 Aug 2003 14:26:18 -0500 (CDT) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Thu, 28 Aug 2003 14:26:18 -0500 (CDT) Message-ID: <12329.63.104.35.130.1062098778.squirrel@email.polands.org> In-Reply-To: <28805.63.104.35.130.1062075575.squirrel@email.polands.org> References: <28805.63.104.35.130.1062075575.squirrel@email.polands.org> Date: Thu, 28 Aug 2003 14:26:18 -0500 (CDT) From: "Doug Poland" To: "Doug Poland" User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal cc: long cao cc: java@freebsd.org Subject: Re: fonts in eclipse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 19:26:23 -0000 Doug Poland said: > long cao said: >>>> > I'm having a different font problem with java apps (Eclipse) but >>>> > I'm wondering if it's related to this. My dialog and menu fonts >>>> > are huge. >>> > >>> > i think i had that problem as well... once i installed ttf fonts >>> > package from ports and copy over [arial?] from ms systems, the >>> > problem went away >>> > >>> > [eclipse initially complained of not being able to find the fonts >>> > and then went to defaults] >>> > >>> > hope this helps >>> > >>> >>> So far, yes it does. However, I cannot find a ttf port on my >>> 4.8-STABLE system. >>> >>> Thanks for your help, >>> >> >> ~ports/x11-fonts/webfonts >> >> the port contains the fonts i was referring to. :) >> > Thanks, unfortunately I still have these huge fonts. This is what > I've done... > > Read the file: /usr/X11R6/lib/X11/doc/README.fonts > Installed the webfonts port > Edited my XF86Config file and removed > > FontPath "/usr/X11R6/lib/X11/fonts/TrueType/" > > Removed the above directory from the file system > Ran fc-cache > Restarted X > setenv GDK_USE_XFT 1 > Started Eclipse and... > Window ->Preferences ->Workbench ->Fonts ->Restore Defaults > > I wonder if this might be a problem with an underlying system, > Eclipse depends on several ports that manipulate fonts... > > % pkg_info -rR /var/db/pkg/eclipse-2.1.1_2/ > Information for eclipse-2.1.1_2: > > Depends on: > Dependency: urwfonts-1.0 > Dependency: jpeg-6b_1 > Dependency: png-1.2.5_2 > Dependency: pkgconfig-0.15.0 > Dependency: freetype2-2.1.4_1 > Dependency: open-motif-2.2.2_1 > Dependency: libiconv-1.9.1_1 > Dependency: tiff-3.5.7_1 > Dependency: expat-1.95.6_1 > Dependency: javavmwrapper-1.4 > Dependency: imake-4.3.0_1 > Dependency: fontconfig-2.2.90_3 > Dependency: XFree86-libraries-4.3.0_5 > Dependency: gettext-0.11.5_1 > Dependency: XFree86-fontEncodings-4.3.0 > Dependency: glib-2.2.2 > Dependency: jdk-1.4.1p3 > Dependency: atk-1.2.4 > Dependency: XFree86-fontScalable-4.3.0 > Dependency: Xft-2.1.2 > Dependency: pango-1.2.3 > Dependency: gtk-2.2.2 > > Also, here's my XF86Config font path: > > FontPath "/usr/X11R6/lib/X11/fonts/misc/" > FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" > FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" > FontPath "/usr/X11R6/lib/X11/fonts/URW" > FontPath "/usr/X11R6/lib/X11/fonts/webfonts" > Not sure if it's bad form to follow-up on one's own posts but have some new observations. I was taking fonts out of my path one-by-one using xset fp- /path/to/font/ xset fp rehash then launching eclipse. When I took out /usr/X11R6/lib/X11/fonts/misc/ eclipse failed to start and gave me this message.... The program '' received an X Window System error. This probably reflects a bug in the program. The error was 'BadName (named color or font does not exist)'. (Details: serial 498 error_code 15 request_code 45 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) So it would seem that eclipse is using the fonts in that path. Also, for clarification, the problem I'm having with huge fonts in eclipse is not the customizable fonts in Window ->Preferences.... The huge fonts are the pull-down menus, tab labels, nodes in Navigator tree, etc. Basically any font I *cannot* control from the eclipse interface. Hope that helps... -- Regards, Doug From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 12:37:44 2003 Return-Path: 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 DC78216A4BF for ; Thu, 28 Aug 2003 12:37:44 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2873B43FBD for ; Thu, 28 Aug 2003 12:37:44 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h7SJbhtp005697 for ; Thu, 28 Aug 2003 15:37:43 -0400 (EDT) Date: Thu, 28 Aug 2003 15:37:43 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 19:37:45 -0000 So we've got this home-grown java application here at work and I'm now running it under native jdk1.4.1 and it works. Great job guys! A question, though. When the application first started I get these messages: Aug 28, 2003 11:14:40 AM java.util.prefs.FileSystemPreferences$3 run WARNING: Could not create system preferences directory. System preferences are unusable. Aug 28, 2003 11:14:40 AM java.util.prefs.FileSystemPreferences$5 run INFO: Created user preferences directory. After that, at every 30 second or so interval, I get: Aug 28, 2003 11:15:12 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs.Unix error code 671660902. Aug 28, 2003 11:15:12 AM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. Aug 28, 2003 11:15:42 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode WARNING: Could not lock System prefs.Unix error code 671660902. Aug 28, 2003 11:15:42 AM java.util.prefs.FileSystemPreferences syncWorld WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. Last 4 lines repeat every 30 seconds. What is it trying to tell me? -- Dan Eischen From owner-freebsd-java@FreeBSD.ORG Thu Aug 28 14:04:38 2003 Return-Path: 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 B6FE716A4BF for ; Thu, 28 Aug 2003 14:04:38 -0700 (PDT) Received: from xsb.com (mail.portjeff.net [207.198.250.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2FB043F93 for ; Thu, 28 Aug 2003 14:04:37 -0700 (PDT) (envelope-from c.rued@xsb.com) Date: Thu, 28 Aug 2003 17:02:45 -0400 Message-Id: <200308281702.AA98697424@xsb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "c.rued" To: X-Mailer: Subject: Re: JDK 1.4 and beyond X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: c.rued@xsb.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 21:04:38 -0000 Greg Lewis wrote: >On Thu, Aug 28, 2003 at 09:57:11AM -0400, c.rued wrote: >> As of now, if you want the source to a JDK, you have to wait until >> it's released. Has there been any discussion of getting access to >> their source repository to get a head-start on development of future >> JDKs? > >We have that access already, through the agreement with the FreeBSD >Foundation. I was not aware of that. It's good to have that option. Perhaps this access could be used to gain access to the source of a release before the source is released via SCSL (assuming there is some sort of tag one could use to check out a release)? This should give developers a head-start of a month or two. >> Also, has there been any consideration of copying modifications >> necessary to compile on FreeBSD into Sun's source (that is, assuming >> it doesn't make compiling on other platforms impossible)? > >Thats up to Sun. The patches have generally been designed to keep the >ability to compile on other platforms intact, so that shouldn't be a >problem. I guess I was wondering if this had been discussed with Sun, and whether there was any plan to do this, or if any of this has actually occurred. Also, along the same lines, has there been any interest from the Sun people in making the BSD JDK an "officially supported" release? It would be nice if Sun would incorporate the changes made by the community in order to make support for *BSD a little easier, even if it never becomes an "officially supported" platform. >> It seems to me that doing these two things would significantly >> decrease the amount of time necessary for a native JDK. Any \ >> possibility of either/both of those things occurring? > > One has occurred, the other is out of our hands. However, you miss > the big kicker with your first question. Is having access to the > repository good thing? Consider that Blackdown has this access. > The result is a closed development effort, no source code patches can > be released and the binaries can only be released once they've been > tested to be compliant. > Is this what we want for the BSD Java team too? In your answer take > into account the NetBSD and OpenBSD team members who would then have > no incentive to participate since they have no binary release license. > So, while we have the access, the real question is whether its a good > idea to use it. Its a non-reversible decision too, since once you > work with the Sun source you're effectively "tainted" with respect to > your ability to release source patches under the SCSL. Excellent points. I hadn't take all of that into consideration. Given the licensing situation, I would agree that working with the latest development JDK source is not really desirable. Would you be "tainted" if you only used the direct repository access to acquire source that will eventually be released under SCSL anyway? If not, it seems like this would be a good way of getting a head-start. --Chris From owner-freebsd-java@FreeBSD.ORG Fri Aug 29 14:43:30 2003 Return-Path: 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 6EA6916A4BF; Fri, 29 Aug 2003 14:43:30 -0700 (PDT) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC49843F75; Fri, 29 Aug 2003 14:43:29 -0700 (PDT) (envelope-from g.w.k@web.de) Received: from [217.232.170.140] (helo=[192.168.0.3]) by smtp.web.de with asmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.99 #448) id 19sr1k-0002SY-00; Fri, 29 Aug 2003 23:43:28 +0200 From: "Georg-W. Koltermann" To: deischen@freebsd.org In-Reply-To: References: Content-Type: text/plain Message-Id: <1062193328.1241.23.camel@hunter.muc.eu.mscsoftware.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Fri, 29 Aug 2003 23:42:09 +0200 Content-Transfer-Encoding: 7bit Sender: g.w.k@web.de cc: java@freebsd.org Subject: Re: Native jdk1.4.1 working X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2003 21:43:30 -0000 This may have been explained already and I missed it. In case it wasn't: You are using system preferences in the java.util.prefs API. System preferences by default are persisted somewhere in $JAVA_HOME. chown(1) $JAVA_HOME to your user, run the program once again and do a find(1) for the new file(s). You may then chown $JAVA_HOME back to bin and just leave the preferences directory writable by you (or world). I don't know what the proper fix is. The linux JDK 1.4.2 from ports has the same behavior. -- Regards, Georg. On Do, 2003-08-28 at 21:37, Daniel Eischen wrote: > So we've got this home-grown java application here at work > and I'm now running it under native jdk1.4.1 and it works. > Great job guys! > > A question, though. When the application first started > I get these messages: > > Aug 28, 2003 11:14:40 AM java.util.prefs.FileSystemPreferences$3 run > WARNING: Could not create system preferences directory. System preferences are unusable. > Aug 28, 2003 11:14:40 AM java.util.prefs.FileSystemPreferences$5 run > INFO: Created user preferences directory. > > After that, at every 30 second or so interval, I get: > > Aug 28, 2003 11:15:12 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode > WARNING: Could not lock System prefs.Unix error code 671660902. > Aug 28, 2003 11:15:12 AM java.util.prefs.FileSystemPreferences syncWorld > WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. > Aug 28, 2003 11:15:42 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode > WARNING: Could not lock System prefs.Unix error code 671660902. > Aug 28, 2003 11:15:42 AM java.util.prefs.FileSystemPreferences syncWorld > WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock. > > Last 4 lines repeat every 30 seconds. > > What is it trying to tell me? From owner-freebsd-java@FreeBSD.ORG Sat Aug 30 10:38:24 2003 Return-Path: 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 9F49F16A4BF for ; Sat, 30 Aug 2003 10:38:24 -0700 (PDT) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB4B643FF7 for ; Sat, 30 Aug 2003 10:38:23 -0700 (PDT) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id A69CB3D28 for ; Sat, 30 Aug 2003 13:38:23 -0400 (EDT) From: "Dan Langille" To: freebsd-java@freebsd.org Date: Sat, 30 Aug 2003 13:39:35 -0400 MIME-Version: 1.0 Message-ID: <3F50A917.2538.2F480A27@localhost> Priority: normal X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Shared object "libawt.so" not found X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Aug 2003 17:38:24 -0000 I installed java/diablo-jdk13 today. When I start try to start opera, I get: $ /usr/local/bin/opera /usr/libexec/ld-elf.so.1: Shared object "libawt.so" not found $ grep libawt.so /var/db/pkg/diablo-jdk-1.3.1.0/+CONTENTS diablo-jdk1.3.1/jre/lib/i386/libawt.so Clues please? The box is FreeBSD 4.8-STABLE #6: Fri Aug 15 16:47:44 EDT 2003 and I'm trying Opera 7.20 b 7 thanks -- Dan Langille : http://www.langille.org/