From owner-freebsd-java Sun Sep 29 8:17:35 2002 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 EB98E37B401 for ; Sun, 29 Sep 2002 08:17:34 -0700 (PDT) Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id F160343E81 for ; Sun, 29 Sep 2002 08:17:33 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17vfp6-000Pk1-00 for freebsd-java@freebsd.org; Sun, 29 Sep 2002 16:17:32 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g8TFHWnc074424 for ; Sun, 29 Sep 2002 16:17:32 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g8TFHWs3074423 for freebsd-java@freebsd.org; Sun, 29 Sep 2002 16:17:32 +0100 (BST) Date: Sun, 29 Sep 2002 16:17:31 +0100 From: Jonathon McKitrick To: freebsd-java@freebsd.org Subject: Eclipse on low-power CPU? Message-ID: <20020929151731.GA74351@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Has anyone tried Eclipse or a similar IDE on a low-powered CPU? I discovered last time I tried Netbeans on my P2-266, it was pretty much unusable. I'd like an IDE with some project management features, especially layout design and some of the other useful tools, but I still like ant as a build tool, and I also don't have a lot of CPU power to spare. I've heard a lot of hype about Eclipse, and with 1.4 under FreeBSD, it might be time to look again. Any thoughts? Note: Please CC me, I'm not on the mailing list currently. jm -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 29 9:28:47 2002 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 35E7D37B401 for ; Sun, 29 Sep 2002 09:28:46 -0700 (PDT) Received: from iole.cs.brandeis.edu (iole.cs.brandeis.edu [129.64.3.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D17B43E6A for ; Sun, 29 Sep 2002 09:28:45 -0700 (PDT) (envelope-from meshko@cs.brandeis.edu) Received: from localhost (meshko@localhost) by iole.cs.brandeis.edu (8.11.6/8.11.6) with ESMTP id g8TGk9i27531; Sun, 29 Sep 2002 12:46:10 -0400 X-Authentication-Warning: iole.cs.brandeis.edu: meshko owned process doing -bs Date: Sun, 29 Sep 2002 12:46:09 -0400 (EDT) From: Mikhail Kruk To: Jonathon McKitrick Cc: Subject: Re: Eclipse on low-power CPU? In-Reply-To: <20020929151731.GA74351@dogma.freebsd-uk.eu.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 1) 1.4 does not work yet on FreeBSD ( you are talking about jdk, right?) 2) If the only reason you need Eclipse is layout design, think again. Layout design is bad in 95% of cases. > > Has anyone tried Eclipse or a similar IDE on a low-powered CPU? I > discovered last time I tried Netbeans on my P2-266, it was pretty much > unusable. I'd like an IDE with some project management features, especially > layout design and some of the other useful tools, but I still like ant as a > build tool, and I also don't have a lot of CPU power to spare. > > I've heard a lot of hype about Eclipse, and with 1.4 under FreeBSD, it might > be time to look again. Any thoughts? > > Note: Please CC me, I'm not on the mailing list currently. > > jm > -- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 29 12:50: 9 2002 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 DFF7D37B401 for ; Sun, 29 Sep 2002 12:50:07 -0700 (PDT) Received: from keyser.soze.com (keyser.soze.com [194.165.93.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BE8C43E65 for ; Sun, 29 Sep 2002 12:50:07 -0700 (PDT) (envelope-from stefan.arentz@soze.com) Received: by keyser.soze.com (Postfix, from userid 1000) id B7B15351E7; Sun, 29 Sep 2002 21:50:45 +0200 (CEST) Date: Sun, 29 Sep 2002 21:50:45 +0200 From: Stefan Arentz To: freebsd-java@FreeBSD.ORG Subject: Hacking on JDK 1.3.1 Message-ID: <20020929195045.GA51533@keyser.soze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, Short introduction; I'm working on making the native JDK 1.3.1 a bit more stable on -STABLE (4.4 and 4.6.2-SMP in my case) and also trying to backport Bill Huey's excellent work on Hotspot. My current test applications are JBoss and Orion (because I want to run those in production on FreeBSD). Orion already flies, here are some very simple test results: Dynamic Content % ab -n 2500 -c 25 http://localhost:8080/examples/jsp/dates/date.jsp FreeBSD Native with compiler1: Requests per second: 205.64 [#/sec] (mean) Time per request: 121.569 [ms] (mean) Time per request: 4.863 [ms] (mean, across all concurrent requests) Transfer rate: 259.61 [Kbytes/sec] received Linux Compatibility with compiler1: Requests per second: 1329.07 [#/sec] (mean) RTime per request: 18.810 [ms] (mean) RTime per request: 0.752 [ms] (mean, across all concurrent requests) RTransfer rate: 1677.82 [Kbytes/sec] received Static Content % ab -n 2500 -c 25 http://localhost:8080/examples/jsp/dates/date.jsp FreeBSD Native with compiler1: Requests per second: 1119.76 [#/sec] (mean) Time per request: 22.326 [ms] (mean) Time per request: 0.893 [ms] (mean, across all concurrent requests) Transfer rate: 2501.53 [Kbytes/sec] received Linux Compatibility with compiler1: Requests per second: 1682.41 [#/sec] (mean) Time per request: 14.860 [ms] (mean) Time per request: 0.594 [ms] (mean, across all concurrent requests) Transfer rate: 3758.50 [Kbytes/sec] received The difference in JSP performance is odd, I'm looking into that now. Could this be because the version in the linuxulator is more efficient because of its threading implementation? There also seems to be a problem with compilation of JSP files. It only works when I use jikes instead of javac. Tough stuff, but I'm slowly making progress. Greetings, Stefan -- stefan.arentz@soze.com / http://www.soze.com/stefan "Think of Your cellular phone as a party line", Ian Goldberg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 29 21:17:11 2002 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 4987337B401 for ; Sun, 29 Sep 2002 21:17:10 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6EB9943E3B for ; Sun, 29 Sep 2002 21:17:09 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.6/8.12.6) with ESMTP id g8U4GwjS066170 for ; Mon, 30 Sep 2002 16:16:58 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.6/8.12.6/Submit) id g8U4GwZP066169 for freebsd-java@freebsd.org; Mon, 30 Sep 2002 16:16:58 +1200 (NZST) Date: Mon, 30 Sep 2002 16:16:58 +1200 From: Jonathan Chen To: freebsd-java@freebsd.org Subject: jdk1.3.1p7, open-motif and XKeysymDB Message-ID: <20020930041658.GA66135@grimoire.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, Just for the record, the following errors: Warning: translation table syntax error: Unknown keysym name: osfActivate Warning: ... found while parsing ':osfActivate: ManagerParentActivate()' Warning: String to TranslationTable conversion encountered errors Warning: translation table syntax error: Unknown keysym name: osfBeginLine Warning: ... found while parsing ':osfBeginLine: ManagerGadgetTraverseHome()' Warning: String to TranslationTable conversion encountered errors [...] were generated 'cos /usr/X11R6/lib/X11/XKeysymDB got trashed on my box. I fixed it by copying it over from another system. The longer fix is a "portupgrade -f XFree86-libraries" (which reinstalls a good copy). Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Nyuck, nyuck, nyuck" - Curly To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 29 21:42: 1 2002 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 F3FEC37B401; Sun, 29 Sep 2002 21:41:59 -0700 (PDT) Received: from home.offwhite.net (home.offwhite.net [216.127.197.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43F2143E3B; Sun, 29 Sep 2002 21:41:59 -0700 (PDT) (envelope-from brennan@offwhite.net) Received: from offwhite.net (adsl-67-39-32-203.dsl.milwwi.ameritech.net [67.39.32.203]) by home.offwhite.net (8.11.6/8.11.1) with ESMTP id g8U4n8f60117; Sun, 29 Sep 2002 23:49:08 -0500 (CDT) (envelope-from brennan@offwhite.net) Date: Sun, 29 Sep 2002 23:41:51 -0500 Subject: Re: native jdk 1.4 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v546) From: Brennan Stehling To: Alexey Zelkin , freebsd-java@FreeBSD.ORG Content-Transfer-Encoding: 7bit In-Reply-To: <20020925193911.A39217@phantom.cris.net> Message-Id: X-Mailer: Apple Mail (2.546) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Would it make sense to use the Apache Portable Runtime as a base for the FreeBSD Java VM? I figure that it was created due to the difference in pthread support between platforms and if you base the Java VM on top of APR then you can let APR do what it has to do and the JVM code can be much more portable. My skills do not lie in this area, but it would make sense if you port the software to work with APR it would simplify work to move it to NetBSD, OpenBSD, Darwin and possibly over to Linux and MacOS X. If all works out ideally, you could serve up identical code for each platform and APR is the piece which conforms to the environment. But again, I do not know the deep technical details. I would be curious as to the main VM developers on this list. - Brennan On Wednesday, September 25, 2002, at 11:39 AM, Alexey Zelkin wrote: > hi, > > On Wed, Sep 25, 2002 at 11:59:20AM -0400, Daniel Fisher wrote: >> Hello, >> I've read some discussion on this list about a native port of jdk 1.4. >> Is it available for testing somewhere? >> I can't find it in the ports CVS. >> If not what is the recommendation for people who must use 1.4? >> I've tried using the linux-sun port, but it won't even compile must >> less run any classes. > > Unfortunatelly effort is stalled now. I have started back in August > porting > based on linux hotspot sources, but there are a lot of differences in > (primarily) stack management between FreeBSD pthread and LinuxThreads. > > After spending of unreasonable period of time in attempt to rewrite > stack management I had to stop and switch to Solaris source base. > > Switch was succesfuly done in begining of September - no one of > previously > existent linux problems appeared, but instead I got few very specific > problems with signals there. Deep kernel signalling and libc_r signals > handling and talk to Daniel shown that this scheme (solaris based) will > not work for -STABLE 100% correctly (it worked somehow after some > hackery) > until {get,set}context() functions are MFCed (along with other stuff). > > I have hoped to get a testing machine to setup -CURRENT last week and > continue, but still not have it :-( > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 29 21:45:54 2002 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 9296E37B401; Sun, 29 Sep 2002 21:45:53 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4965243E42; Sun, 29 Sep 2002 21:45:53 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 17vsQ0-0001ow-00; Sun, 29 Sep 2002 21:44:28 -0700 Date: Sun, 29 Sep 2002 21:44:28 -0700 To: Brennan Stehling Cc: Alexey Zelkin , freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: native jdk 1.4 Message-ID: <20020930044428.GA4778@gnuppy.monkey.org> References: <20020925193911.A39217@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Sep 29, 2002 at 11:41:51PM -0500, Brennan Stehling wrote: > Would it make sense to use the Apache Portable Runtime as a base for > the FreeBSD Java VM? It's unuseable since the JVM has specialized pthreads needs. However, Stephan is investigating the possibility of using it for DNS handling. He's been getting DNS problems recently under -stable. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun Sep 29 23:56:30 2002 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 2538137B401; Sun, 29 Sep 2002 23:56:29 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C32043E42; Sun, 29 Sep 2002 23:56:28 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id g8U6uaAF052914; Mon, 30 Sep 2002 08:56:36 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id g8U6uZ7o052913; Mon, 30 Sep 2002 08:56:35 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" From: Ernst de Haan To: portmgr@FreeBSD.org Subject: Jakarta Tomcat 4.x security updates! Date: Mon, 30 Sep 2002 08:56:35 +0200 User-Agent: KMail/1.4.3 Cc: java@FreeBSD.org X-Address: Muiderstraat 1, Amsterdam, Netherlands MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200209300856.35582.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi portmgr, There is now a known security flaw in both Tomcat 4.0.x and 4.1.x. I have created some patches and I would like to commit them before the release tag is laid down. I've created PR's for this: http://www.freebsd.org/cgi/query-pr.cgi?pr=43503 http://www.freebsd.org/cgi/query-pr.cgi?pr=43504 Please approve/disapprove. Ernst -- Ernst de Haan Development Team Leader Wanadoo Nederland B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 5:12:54 2002 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 CD16437B401; Mon, 30 Sep 2002 05:12:53 -0700 (PDT) Received: from procyon.firepipe.net (procyon.firepipe.net [198.78.66.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B85643E86; Mon, 30 Sep 2002 05:12:53 -0700 (PDT) (envelope-from will@csociety.org) Received: by procyon.firepipe.net (Postfix, from userid 1000) id B618B23E09; Mon, 30 Sep 2002 05:11:04 -0700 (PDT) Date: Mon, 30 Sep 2002 05:11:04 -0700 From: Will Andrews To: Ernst de Haan Cc: portmgr@FreeBSD.org, java@FreeBSD.org Subject: Re: Jakarta Tomcat 4.x security updates! Message-ID: <20020930121104.GA69627@procyon.firepipe.net> References: <200209300856.35582.znerd@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209300856.35582.znerd@FreeBSD.org> User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Sep 30, 2002 at 08:56:35AM +0200, Ernst de Haan wrote: > There is now a known security flaw in both Tomcat 4.0.x and 4.1.x. I have > created some patches and I would like to commit them before the release tag > is laid down. > > I've created PR's for this: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=43503 > http://www.freebsd.org/cgi/query-pr.cgi?pr=43504 > > Please approve/disapprove. If a patch fixes a security issue, there should be no reason not to commit it during the ports freeze. regards, -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 6:25: 9 2002 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 86BB137B4CF for ; Mon, 30 Sep 2002 06:25:07 -0700 (PDT) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E5E143E75 for ; Mon, 30 Sep 2002 06:25:06 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 17w0Xb-000JeA-00; Mon, 30 Sep 2002 14:24:51 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g8UDOpnc081564; Mon, 30 Sep 2002 14:24:51 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g8UDOodK081563; Mon, 30 Sep 2002 14:24:50 +0100 (BST) Date: Mon, 30 Sep 2002 14:24:50 +0100 From: Jonathon McKitrick To: Mikhail Kruk Cc: freebsd-java@FreeBSD.ORG Subject: Re: Eclipse on low-power CPU? Message-ID: <20020930132450.GB81528@dogma.freebsd-uk.eu.org> References: <20020929151731.GA74351@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Scanner: exiscan *17w0Xb-000JeA-00*si7166c7xTU* (Manchester Computing, University of Manchester) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Sep 29, 2002 at 12:46:09PM -0400, Mikhail Kruk wrote: | 1) 1.4 does not work yet on FreeBSD ( you are talking about jdk, right?) | 2) If the only reason you need Eclipse is layout design, think again. | Layout design is bad in 95% of cases. I guess I just like the code generation capability for all of the event handlers. It can get tedious doing all of those manually. jm -- My other computer is your Windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 6:27:26 2002 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 E28E337B401 for ; Mon, 30 Sep 2002 06:27:25 -0700 (PDT) Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1869A43E65 for ; Mon, 30 Sep 2002 06:27:25 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 17w0a3-00091q-00; Mon, 30 Sep 2002 14:27:23 +0100 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.3/8.11.1) with ESMTP id g8UDRNnc081588; Mon, 30 Sep 2002 14:27:23 +0100 (BST) (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.3/8.12.3/Submit) id g8UDRMDI081587; Mon, 30 Sep 2002 14:27:22 +0100 (BST) Date: Mon, 30 Sep 2002 14:27:22 +0100 From: Jonathon McKitrick To: Rick Moore Cc: freebsd-java@freebsd.org Subject: Re: Eclipse on low-power CPU? Message-ID: <20020930132722.GC81528@dogma.freebsd-uk.eu.org> References: <20020929151731.GA74351@dogma.freebsd-uk.eu.org> <1033315779.1468.8.camel@spinner> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1033315779.1468.8.camel@spinner> User-Agent: Mutt/1.4i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Sep 29, 2002 at 09:09:36AM -0700, Rick Moore wrote: | is sluggish even on my 1.8Ghz machine. Eclipse is an outstanding IDE, | but you should know that it does NOT come with a GUI design tool... So what *is* so great about it that everyone has been raving about? I'm trying to learn the basic tools first (ant, jdk, and an editor) and I'd also like to choose an IDE with some more advanced tools, like refactoring and some other features that can automate the more tedious tasks. jm -- My other computer is your Windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 6:44:53 2002 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 F2E7237B404; Mon, 30 Sep 2002 06:44:52 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4C0B43E42; Mon, 30 Sep 2002 06:44:52 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from freefall.freebsd.org (znerd@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8UDiqCo012598; Mon, 30 Sep 2002 06:44:52 -0700 (PDT) (envelope-from znerd@freefall.freebsd.org) Received: (from znerd@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8UDiqO3012594; Mon, 30 Sep 2002 06:44:52 -0700 (PDT) Date: Mon, 30 Sep 2002 06:44:52 -0700 (PDT) From: Ernst de Haan Message-Id: <200209301344.g8UDiqO3012594@freefall.freebsd.org> To: znerd@FreeBSD.org, freebsd-java@FreeBSD.org, znerd@FreeBSD.org Subject: Re: java/40677: J2SDK 1.4.0.01 fails to do anything when executed from normal user mode Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: J2SDK 1.4.0.01 fails to do anything when executed from normal user mode Responsible-Changed-From-To: freebsd-java->znerd Responsible-Changed-By: znerd Responsible-Changed-When: Mon Sep 30 06:44:42 PDT 2002 Responsible-Changed-Why: Over to MAINTAINER. http://www.freebsd.org/cgi/query-pr.cgi?pr=40677 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 8:48:29 2002 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 E68C637B401 for ; Mon, 30 Sep 2002 08:48:28 -0700 (PDT) Received: from web11702.mail.yahoo.com (web11702.mail.yahoo.com [216.136.172.68]) by mx1.FreeBSD.org (Postfix) with SMTP id BCAB543E42 for ; Mon, 30 Sep 2002 08:48:28 -0700 (PDT) (envelope-from kilton9@yahoo.com) Message-ID: <20020930154828.62011.qmail@web11702.mail.yahoo.com> Received: from [65.213.201.18] by web11702.mail.yahoo.com via HTTP; Mon, 30 Sep 2002 08:48:28 PDT Date: Mon, 30 Sep 2002 08:48:28 -0700 (PDT) From: James Kilton Subject: Re: FYI: Sun JDK 1.4.1/Linux To: java@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Forgive the newbie question: I asked the OpenNMS mailing list if OpenNMS would run on BSD, and they said that it requires a Java 1.4 SDK which they didn't think BSD has. Is this port what they're referring to? -----Original Message----- From:Ernst de Haan [SMTP:znerd@FreeBSD.org] Sent:Tuesday, September 17, 2002 5:35 AM To:java@FreeBSD.org Subject:FYI: Sun JDK 1.4.1/Linux The Sun JDK 1.4/Linux port has just been upgraded to 1.4.1. Port location: ports/java/linux-sun-jdk14 Ernst __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 10:20: 6 2002 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 ED58E37B404; Mon, 30 Sep 2002 10:20:05 -0700 (PDT) Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C72643E6E; Mon, 30 Sep 2002 10:20:04 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from heinz by smtp.hccnet.nl via uds241-44.dial.hccnet.nl [62.251.44.241] with ESMTP id TAA29805 (8.8.8/1.13); Mon, 30 Sep 2002 19:19:54 +0200 (MET DST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Will Andrews Subject: Re: Jakarta Tomcat 4.x security updates! Date: Mon, 30 Sep 2002 19:19:54 +0200 User-Agent: KMail/1.4.3 Cc: portmgr@FreeBSD.org, java@FreeBSD.org References: <200209300856.35582.znerd@FreeBSD.org> <20020930121104.GA69627@procyon.firepipe.net> In-Reply-To: <20020930121104.GA69627@procyon.firepipe.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200209301919.54449.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > If a patch fixes a security issue, there should be no reason not > to commit it during the ports freeze. Okay, committed. Thanks, Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 10:23:44 2002 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 3B96337B401 for ; Mon, 30 Sep 2002 10:23:42 -0700 (PDT) Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C29143E65 for ; Mon, 30 Sep 2002 10:23:41 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from heinz by smtp.hccnet.nl via uds241-44.dial.hccnet.nl [62.251.44.241] with ESMTP id TAA01156 (8.8.8/1.13); Mon, 30 Sep 2002 19:23:38 +0200 (MET DST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Stefan Arentz , freebsd-java@FreeBSD.ORG Subject: Re: Hacking on JDK 1.3.1 Date: Mon, 30 Sep 2002 19:23:38 +0200 User-Agent: KMail/1.4.3 References: <20020929195045.GA51533@keyser.soze.com> In-Reply-To: <20020929195045.GA51533@keyser.soze.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200209301923.38343.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi Stefan, Sounds good! What is this 'ab' tool you are using? Ernst On Sunday 29 September 2002 21:50, Stefan Arentz wrote: > Hi, > > Short introduction; I'm working on making the native JDK 1.3.1 a bit more > stable on -STABLE (4.4 and 4.6.2-SMP in my case) and also trying to > backport Bill Huey's excellent work on Hotspot. > > My current test applications are JBoss and Orion (because I want to run > those in production on FreeBSD). > > Orion already flies, here are some very simple test results: > > Dynamic Content > > % ab -n 2500 -c 25 http://localhost:8080/examples/jsp/dates/date.jsp > > > FreeBSD Native with compiler1: > > Requests per second: 205.64 [#/sec] (mean) > Time per request: 121.569 [ms] (mean) > Time per request: 4.863 [ms] (mean, across all concurrent > requests) Transfer rate: 259.61 [Kbytes/sec] received > > Linux Compatibility with compiler1: > > Requests per second: 1329.07 [#/sec] (mean) > RTime per request: 18.810 [ms] (mean) > RTime per request: 0.752 [ms] (mean, across all concurrent > requests) RTransfer rate: 1677.82 [Kbytes/sec] received > > Static Content > > % ab -n 2500 -c 25 http://localhost:8080/examples/jsp/dates/date.jsp > > FreeBSD Native with compiler1: > > Requests per second: 1119.76 [#/sec] (mean) > Time per request: 22.326 [ms] (mean) > Time per request: 0.893 [ms] (mean, across all concurrent > requests) Transfer rate: 2501.53 [Kbytes/sec] received > > Linux Compatibility with compiler1: > > Requests per second: 1682.41 [#/sec] (mean) > Time per request: 14.860 [ms] (mean) > Time per request: 0.594 [ms] (mean, across all concurrent > requests) Transfer rate: 3758.50 [Kbytes/sec] received > > The difference in JSP performance is odd, I'm looking into that now. Could > this be because the version in the linuxulator is more efficient because of > its threading implementation? > > There also seems to be a problem with compilation of JSP files. It only > works when I use jikes instead of javac. > > Tough stuff, but I'm slowly making progress. > > > Greetings, > > Stefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 10:25:40 2002 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 97E2937B401 for ; Mon, 30 Sep 2002 10:25:39 -0700 (PDT) Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F81543E6A for ; Mon, 30 Sep 2002 10:25:38 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from heinz by smtp.hccnet.nl via uds241-44.dial.hccnet.nl [62.251.44.241] with ESMTP id TAA02075 (8.8.8/1.13); Mon, 30 Sep 2002 19:25:35 +0200 (MET DST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project Subject: Fwd: jdk needs version bump? Date: Mon, 30 Sep 2002 19:25:35 +0200 User-Agent: KMail/1.4.3 To: java@FreeBSD.org Cc: walt MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200209301925.35800.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org FYI, freebsd-java... Ernst ---------- Forwarded Message ---------- Subject: jdk needs version bump? Date: Fri, 27 Sep 2002 04:23:00 -0700 From: walt To: freebsd-ports@freebsd.org Just discovered that my jdk1.3.1p7 has shared libraries, libawt.so and libawt_g.so, which are linked against libXm.so.2 which no longer exists. libXm.so.3 was installed by open-motif-2.2.2, which IIRC was updated not long ago. Seems my jdk needs re-compiling against the new open-motif but the listed dependencies are all still correct, so portupgrade misses it. Should we have a version bump in jdk to force recompilation? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message ------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 10:29:58 2002 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 A3BAA37B401; Mon, 30 Sep 2002 10:29:57 -0700 (PDT) Received: from keyser.soze.com (keyser.soze.com [194.165.93.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF92643E65; Mon, 30 Sep 2002 10:29:56 -0700 (PDT) (envelope-from stefan.arentz@soze.com) Received: by keyser.soze.com (Postfix, from userid 1000) id E0D76351AE; Mon, 30 Sep 2002 19:30:36 +0200 (CEST) Date: Mon, 30 Sep 2002 19:30:36 +0200 From: Stefan Arentz To: Ernst de Haan Cc: freebsd-java@FreeBSD.ORG Subject: Re: Hacking on JDK 1.3.1 Message-ID: <20020930173036.GA4255@keyser.soze.com> References: <20020929195045.GA51533@keyser.soze.com> <200209301923.38343.znerd@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209301923.38343.znerd@FreeBSD.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Sep 30, 2002 at 07:23:38PM +0200, Ernst de Haan wrote: > Hi Stefan, > > Sounds good! What is this 'ab' tool you are using? Well don't forget that Bill Huey did 99.9% of the work, that is why he went insane after a couple of months of hacking on this :-) :-) The ab tools part of Apache. It is a simple http benchmark tool that throws concurrent requests at a web server. The two things I'm working on the coming days are the Thread.sleep() problem that was reported earlier on the list, and something strange with thread local storage that might or might not be related. Stefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 10:36:54 2002 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 0EC6C37B401 for ; Mon, 30 Sep 2002 10:36:53 -0700 (PDT) Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F58143E6A for ; Mon, 30 Sep 2002 10:36:52 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from heinz by smtp.hccnet.nl via uds241-44.dial.hccnet.nl [62.251.44.241] with ESMTP id TAA07659 (8.8.8/1.13); Mon, 30 Sep 2002 19:36:48 +0200 (MET DST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Stefan Arentz Subject: Re: Hacking on JDK 1.3.1 Date: Mon, 30 Sep 2002 19:36:48 +0200 User-Agent: KMail/1.4.3 Cc: freebsd-java@FreeBSD.ORG References: <20020929195045.GA51533@keyser.soze.com> <200209301923.38343.znerd@FreeBSD.org> <20020930173036.GA4255@keyser.soze.com> In-Reply-To: <20020930173036.GA4255@keyser.soze.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200209301936.48632.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > > Sounds good! What is this 'ab' tool you are using? > > Well don't forget that Bill Huey did 99.9% of the work, that is why > he went insane after a couple of months of hacking on this :-) :-) I know. I've spoken to him a lot during that period. I did nothing more than telling him he did a great job, but that's all I could do :-) > The ab tools part of Apache. It is a simple http benchmark tool > that throws concurrent requests at a web server. Ah, so with what port does it come? With the www/apache13 port ? > The two things I'm working on the coming days are the Thread.sleep() > problem that was reported earlier on the list, and something strange > with thread local storage that might or might not be related. Okay. If you need someone to take a look at some C or C++ code and it's quite limited in complexity, not too much pthread-related, does not assume knowledge of HotSpot internals and uh... well... thinking again... never mind... ;-) Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 11:28:56 2002 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 6950837B401; Mon, 30 Sep 2002 11:28:55 -0700 (PDT) Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25C4D43E6E; Mon, 30 Sep 2002 11:28:54 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from heinz by smtp.hccnet.nl via uds241-44.dial.hccnet.nl [62.251.44.241] with ESMTP id UAA28870 (8.8.8/1.13); Mon, 30 Sep 2002 20:24:53 +0200 (MET DST) Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Bill Huey (Hui) Subject: Re: daemonctl.c: setuid/setgid Date: Mon, 30 Sep 2002 20:24:53 +0200 User-Agent: KMail/1.4.3 Cc: audit@FreeBSD.org, Ari Suutari , Kris Kennaway , java@FreeBSD.org References: <200209132001.WAA09258@smtp.hccnet.nl> <20020913232816.GA1933@gnuppy.monkey.org> In-Reply-To: <20020913232816.GA1933@gnuppy.monkey.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200209302024.53410.znerd@FreeBSD.org> Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Saturday 14 September 2002 01:28, Bill Huey (Hui) wrote: > On Fri, Sep 13, 2002 at 10:01:48PM +0200, Ernst de Haan wrote: > > Dear audit :) > > > > Hereby I request a review of a patch for a daemon control program. > > > > The file in question is: ports/www/jakarta-tomcat4/files/daemonctl.c > > I was just looking at it last night and the first thing that came to > mind was the hard coded JVM path. I'd like that turned into a macro or > something that's command line specifiable at startup. Yes, that's a good idea and it has already been implemented by Ari. But it has nothing to do with the patch self. I now assume there are no objections to this patch. I intend to commit it when the ports freeze is over. -- Ernst To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 12:13:21 2002 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 4C5FA37B401 for ; Mon, 30 Sep 2002 12:13:19 -0700 (PDT) Received: from keyser.soze.com (keyser.soze.com [194.165.93.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6E9F43E77 for ; Mon, 30 Sep 2002 12:13:18 -0700 (PDT) (envelope-from stefan.arentz@soze.com) Received: by keyser.soze.com (Postfix, from userid 1000) id D3098351B6; Mon, 30 Sep 2002 21:14:02 +0200 (CEST) Date: Mon, 30 Sep 2002 21:14:02 +0200 From: Stefan Arentz To: freebsd-java@FreeBSD.ORG Subject: Hotspot Weirdness with -O3 Message-ID: <20020930191402.GB9208@keyser.soze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.99i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I just recompiled hotspot with -O3 instead of -O0 and now I'm getting the following: keyser % java -jar orion.jar java.lang.ExceptionInInitializerError: java.lang.IllegalArgumentException at java.util.SimpleTimeZone.getOffset(SimpleTimeZone.java:427) at java.util.GregorianCalendar.computeFields(GregorianCalendar.java:1173) at java.util.Calendar.setTimeInMillis(Calendar.java:903) at java.util.GregorianCalendar.(GregorianCalendar.java:364) at java.util.GregorianCalendar.(GregorianCalendar.java:335) at java.util.SimpleTimeZone.(SimpleTimeZone.java:913) at java.util.TimeZone.(TimeZone.java:488) at java.util.GregorianCalendar.(GregorianCalendar.java:335) ... Very odd, does this look familiar to anyone? I'm rebuilding with -O2 now to see if that makes a difference. S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 12:19:16 2002 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 ABC5537B401 for ; Mon, 30 Sep 2002 12:19:15 -0700 (PDT) Received: from hermes.cicese.mx (hermes.cicese.mx [158.97.1.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id C957443E75 for ; Mon, 30 Sep 2002 12:19:14 -0700 (PDT) (envelope-from valencia@cicese.mx) Received: from matrix.cicese.mx (matrix.cicese.mx [158.97.23.247]) by hermes.cicese.mx (8.10.0/8.10.0) with ESMTP id g8UJJ9425778 for ; Mon, 30 Sep 2002 12:19:09 -0700 (PDT) Received: from cicese.mx (pc-erodrig.cicese.mx [158.97.22.220]) by matrix.cicese.mx (8.9.3+Sun/8.9.1) with ESMTP id MAA21394 for ; Mon, 30 Sep 2002 12:19:09 -0700 (PDT) Message-ID: <3D98A3A7.50300@cicese.mx> Date: Mon, 30 Sep 2002 12:19:03 -0700 From: =?ISO-8859-1?Q?Daniel_Jes=FAs_Valencia_S=E1nchez?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: Re: native jdk 1.4 References: <20020925193911.A39217@phantom.cris.net> <20020930044428.GA4778@gnuppy.monkey.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org i'm sorry... i think i'm lost in the thread.. native jdk 1.4 exists? if so,... where can i get it from? thank you To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 13:27:38 2002 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 B542537B401 for ; Mon, 30 Sep 2002 13:27:35 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3F7B43E6A for ; Mon, 30 Sep 2002 13:27:34 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17w78g-0002iu-00 for freebsd-java@freebsd.org; Mon, 30 Sep 2002 14:27:34 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17w78f-0002hl-00 for freebsd-java@freebsd.org; Mon, 30 Sep 2002 14:27:34 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g8UKRTK25980 for freebsd-java@freebsd.org; Tue, 1 Oct 2002 05:57:29 +0930 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 1 Oct 2002 05:57:29 +0930 From: Greg Lewis To: freebsd-java@freebsd.org Subject: Patchset site experiencing problems Message-ID: <20021001055728.A25953@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Spam-Status: No, hits=-8.1 required=8.0 tests=SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.41 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi all, The site that hosts the JDK patchsets appears to be having some problems. I'm trying to get a hold of the server administrator to see if he's changed any of the configuration yesterday. Please be patient. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 14:24:38 2002 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 D692837B401; Mon, 30 Sep 2002 14:24:37 -0700 (PDT) Received: from home.offwhite.net (home.offwhite.net [216.127.197.17]) by mx1.FreeBSD.org (Postfix) with ESMTP id 151E843E6E; Mon, 30 Sep 2002 14:24:37 -0700 (PDT) (envelope-from brennan@offwhite.net) Received: from offwhite.net (adsl-67-39-34-8.dsl.milwwi.ameritech.net [67.39.34.8]) by home.offwhite.net (8.11.6/8.11.1) with ESMTP id g8ULVof71252; Mon, 30 Sep 2002 16:31:50 -0500 (CDT) (envelope-from brennan@offwhite.net) Date: Mon, 30 Sep 2002 16:24:30 -0500 Subject: Re: native jdk 1.4 Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v546) Cc: Alexey Zelkin , freebsd-java@FreeBSD.ORG To: Bill Huey (Hui) From: Brennan Stehling In-Reply-To: <20020930044428.GA4778@gnuppy.monkey.org> Message-Id: <019460D4-D4BB-11D6-81F4-003065F6F346@offwhite.net> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.546) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Would it make sense to put efforts into APR to allow for the special needs of the JVM to be handled? I suppose this idea could be copied over to the developers for APR. On Sunday, September 29, 2002, at 11:44 PM, Bill Huey (Hui) wrote: > On Sun, Sep 29, 2002 at 11:41:51PM -0500, Brennan Stehling wrote: >> Would it make sense to use the Apache Portable Runtime as a base for >> the FreeBSD Java VM? > > It's unuseable since the JVM has specialized pthreads needs. However, > Stephan is investigating the possibility of using it for DNS handling. > > He's been getting DNS problems recently under -stable. > > bill > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 15:44:23 2002 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 C332437B401 for ; Mon, 30 Sep 2002 15:44:22 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B5F743E4A for ; Mon, 30 Sep 2002 15:44:22 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 17w9Gw-0000WM-00; Mon, 30 Sep 2002 15:44:14 -0700 Date: Mon, 30 Sep 2002 15:44:14 -0700 To: Stefan Arentz Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Hotspot Weirdness with -O3 Message-ID: <20020930224414.GB1980@gnuppy.monkey.org> References: <20020930191402.GB9208@keyser.soze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020930191402.GB9208@keyser.soze.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Sep 30, 2002 at 09:14:02PM +0200, Stefan Arentz wrote: > I just recompiled hotspot with -O3 instead of -O0 and now I'm getting > the following: Yeah, don't do that. I decreased the optimization level because something in it would break HotSpot. Moving to -O3 isn't going to get you a lot more speed anyways outside of the interpreter, so just use the defaults I have in the Makefile. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 16:31:11 2002 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 D505D37B401; Mon, 30 Sep 2002 16:31:10 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7343A43E65; Mon, 30 Sep 2002 16:31:10 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 17wA0I-0000fx-00; Mon, 30 Sep 2002 16:31:06 -0700 Date: Mon, 30 Sep 2002 16:31:06 -0700 To: Brennan Stehling Cc: Alexey Zelkin , freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: native jdk 1.4 Message-ID: <20020930233106.GA2538@gnuppy.monkey.org> References: <20020930044428.GA4778@gnuppy.monkey.org> <019460D4-D4BB-11D6-81F4-003065F6F346@offwhite.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <019460D4-D4BB-11D6-81F4-003065F6F346@offwhite.net> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, Sep 30, 2002 at 04:24:30PM -0500, Brennan Stehling wrote: > Would it make sense to put efforts into APR to allow for the special > needs of the JVM to be handled? I suppose this idea could be copied > over to the developers for APR. Somebody will have to look at it and determine if it's useable for our purposes. The HotSpot's native threading is sufficiently complicated enough that it realy needs low level operating system specific features for proper and speedy thread performance. It's highly unlikely that a portability library like APR, which isn't a language runtime, to have that support. You basically need to get at key OS structures, uncontext, thread run state, stack properties for some of the more interesting low level thingies. It's ok, we have all of that handled currently. Things are in good working order. ;) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Mon Sep 30 19:10:35 2002 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 4EF6237B401 for ; Mon, 30 Sep 2002 19:10:34 -0700 (PDT) Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72FA143E3B for ; Mon, 30 Sep 2002 19:10:33 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr1.xmission.com with spam-scanned (Exim 3.35 #1) id 17wCUa-0002cT-00 for freebsd-java@freebsd.org; Mon, 30 Sep 2002 20:10:32 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr1.xmission.com with esmtp (Exim 3.35 #1) id 17wCUZ-0002c8-00 for freebsd-java@FreeBSD.ORG; Mon, 30 Sep 2002 20:10:32 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id g912ARl27045 for freebsd-java@FreeBSD.ORG; Tue, 1 Oct 2002 11:40:27 +0930 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 1 Oct 2002 11:40:27 +0930 From: Greg Lewis Cc: freebsd-java@FreeBSD.ORG Subject: Re: Patchset site experiencing problems Message-ID: <20021001114027.A27026@misty.eyesbeyond.com> References: <20021001055728.A25953@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021001055728.A25953@misty.eyesbeyond.com>; from glewis@eyesbeyond.com on Tue, Oct 01, 2002 at 05:57:29AM +0930 X-Spam-Status: No, hits=-12.5 required=8.0 tests=IN_REP_TO,MISSING_HEADERS,REFERENCES,SIGNATURE_SHORT_DENSE, SPAM_PHRASE_03_05,USER_AGENT,USER_AGENT_MUTT,X_AUTH_WARNING version=2.41 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 01, 2002 at 05:57:29AM +0930, Greg Lewis wrote: > The site that hosts the JDK patchsets appears to be having some problems. > I'm trying to get a hold of the server administrator to see if he's changed > any of the configuration yesterday. Please be patient. Site appears now to be ok. Thank you for your patience. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 1 4:20:38 2002 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 DD99B37B401 for ; Tue, 1 Oct 2002 04:20:36 -0700 (PDT) Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71D7F43E65 for ; Tue, 1 Oct 2002 04:20:36 -0700 (PDT) (envelope-from toglikingdementortogli@yahoo.com) Received: from yahoo.com (151.25.174.171) by smtp2.libero.it (6.5.028) id 3D8B3DDE004A335C for freebsd-java@FreeBSD.ORG; Tue, 1 Oct 2002 13:20:32 +0200 Message-ID: <3D99524C.50605@libero.it> Date: Tue, 01 Oct 2002 09:44:12 +0200 From: Giulio Ferro User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20020923 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: Wrong thread behavior Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Native jdk 1.3.1p7 If we consider the following snippet: public class SimpleThread extends Thread { private int countDown = 50; private static int threadCount = 0; private int threadNumber = ++threadCount; public SimpleThread() { System.out.println("Making " + threadNumber); } public void run() { while(true) { System.out.println("Thread " + threadNumber + "(" + countDown + ")"); if(--countDown == 0) return; } } public static void main(String[] args) { for(int i = 0; i < 5; i++) new SimpleThread().start(); System.out.println("All Threads Started"); } } ///:~ You can notice that the execution never breaks out of run() unless you explicitly put a sleep() or yield(). It goes on any single thread until the thread returns without automatically switching to the others. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 1 5:18:27 2002 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 C95D937B401 for ; Tue, 1 Oct 2002 05:18:25 -0700 (PDT) Received: from keyser.soze.com (keyser.soze.com [194.165.93.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63C7143E7B for ; Tue, 1 Oct 2002 05:18:25 -0700 (PDT) (envelope-from stefan.arentz@soze.com) Received: by keyser.soze.com (Postfix, from userid 1000) id AA157351B2; Tue, 1 Oct 2002 13:57:01 +0200 (CEST) Date: Tue, 1 Oct 2002 13:57:01 +0200 From: Stefan Arentz To: Giulio Ferro Cc: freebsd-java@FreeBSD.ORG Subject: Re: Wrong thread behavior Message-ID: <20021001115701.GA36825@keyser.soze.com> References: <3D99524C.50605@libero.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D99524C.50605@libero.it> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Oct 01, 2002 at 09:44:12AM +0200, Giulio Ferro wrote: > Native jdk 1.3.1p7 > > If we consider the following snippet: > > public class SimpleThread extends Thread { > private int countDown = 50; > private static int threadCount = 0; > private int threadNumber = ++threadCount; > public SimpleThread() { > System.out.println("Making " + threadNumber); > } > public void run() { > while(true) { > System.out.println("Thread " + > threadNumber + "(" + countDown + ")"); > if(--countDown == 0) return; > } > } > public static void main(String[] args) { > for(int i = 0; i < 5; i++) > new SimpleThread().start(); > System.out.println("All Threads Started"); > } > } ///:~ > > > You can notice that the execution never breaks out of run() unless you > explicitly put a sleep() or yield(). > It goes on any single thread until the thread returns without > automatically switching to the others. The 50 iterations are so fast that they are all executed before the next thread is started. Try setting countDown to 100000 and then see what it does. Here on a P4/1.6Ghz it takes a few seconds before the threads start running concurrent. Tested with: java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-root-020929-22:36) Classic VM (build 1.3.1-p7-root-020929-22:36, green threads, nojit) and: java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-root-020929-22:36) Java HotSpot(TM) Client VM (build 1.3.1-internal, mixed mode) Note to all; please specify the output of java -version when you submit a bug :) S. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Oct 1 6:47:11 2002 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 77FB437B401 for ; Tue, 1 Oct 2002 06:47:09 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7129943E42 for ; Tue, 1 Oct 2002 06:47:05 -0700 (PDT) (envelope-from phantom@ark.cris.net) Received: from ark.cris.net (root@ark.cris.net [212.110.128.68]) by relay1.cris.net (8.12.6/8.12.4) with ESMTP id g91GsIMC067527; Tue, 1 Oct 2002 16:54:18 GMT (envelope-from phantom@ark.cris.net) Received: (from phantom@localhost) by ark.cris.net (8.11.1/8.11.1) id g91DksA45403; Tue, 1 Oct 2002 16:46:54 +0300 (EEST) Date: Tue, 1 Oct 2002 16:46:54 +0300 From: Alexey Zelkin To: Brennan Stehling Cc: freebsd-java@FreeBSD.ORG Subject: Re: native jdk 1.4 Message-ID: <20021001164654.A43479@ark.cris.net> References: <20020925193911.A39217@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from brennan@offwhite.net on Sun, Sep 29, 2002 at 11:41:51PM -0500 X-Operating-System: FreeBSD 3.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org hi, From quick look APR is something that incapsulates threads implementation details to some generic interfaces that later are using in apache. JVM code wrote in same manner. There're machine dependent code directories that contains machine/OS specific functions as well as OS specific directories that contains OS specific threads manipulation code in JVM sources. There placed some set of class methods implementation that later are used in MI code. Most improtant thing that we need to achieve is to have cleanly implemented MD and OSD code. Also please note that MD part of code is about 20% of Hotspot, and MI is about 80%. I doubt that ARP will help a lot here. On Sun, Sep 29, 2002 at 11:41:51PM -0500, Brennan Stehling wrote: > Would it make sense to use the Apache Portable Runtime as a base for > the FreeBSD Java VM? > > I figure that it was created due to the difference in pthread support > between platforms and if you base the Java VM on top of APR then you > can let APR do what it has to do and the JVM code can be much more > portable. > > My skills do not lie in this area, but it would make sense if you port > the software to work with APR it would simplify work to move it to > NetBSD, OpenBSD, Darwin and possibly over to Linux and MacOS X. If all > works out ideally, you could serve up identical code for each platform > and APR is the piece which conforms to the environment. > > But again, I do not know the deep technical details. I would be > curious as to the main VM developers on this list. > > - Brennan > > > On Wednesday, September 25, 2002, at 11:39 AM, Alexey Zelkin wrote: > > > hi, > > > > On Wed, Sep 25, 2002 at 11:59:20AM -0400, Daniel Fisher wrote: > >> Hello, > >> I've read some discussion on this list about a native port of jdk 1.4. > >> Is it available for testing somewhere? > >> I can't find it in the ports CVS. > >> If not what is the recommendation for people who must use 1.4? > >> I've tried using the linux-sun port, but it won't even compile must > >> less run any classes. > > > > Unfortunatelly effort is stalled now. I have started back in August > > porting > > based on linux hotspot sources, but there are a lot of differences in > > (primarily) stack management between FreeBSD pthread and LinuxThreads. > > > > After spending of unreasonable period of time in attempt to rewrite > > stack management I had to stop and switch to Solaris source base. > > > > Switch was succesfuly done in begining of September - no one of > > previously > > existent linux problems appeared, but instead I got few very specific > > problems with signals there. Deep kernel signalling and libc_r signals > > handling and talk to Daniel shown that this scheme (solaris based) will > > not work for -STABLE 100% correctly (it worked somehow after some > > hackery) > > until {get,set}context() functions are MFCed (along with other stuff). > > > > I have hoped to get a testing machine to setup -CURRENT last week and > > continue, but still not have it :-( > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 2 16:10: 8 2002 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 48FA437B404 for ; Wed, 2 Oct 2002 16:10:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3E5143E65 for ; Wed, 2 Oct 2002 16:10:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g92NA5Co012265 for ; Wed, 2 Oct 2002 16:10:05 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g92NA5vJ012264; Wed, 2 Oct 2002 16:10:05 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3541637B401 for ; Wed, 2 Oct 2002 16:09:59 -0700 (PDT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA0DD43E65 for ; Wed, 2 Oct 2002 16:09:58 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g92N9w7R089015 for ; Wed, 2 Oct 2002 16:09:58 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g92N9wTK089014; Wed, 2 Oct 2002 16:09:58 -0700 (PDT) Message-Id: <200210022309.g92N9wTK089014@www.freebsd.org> Date: Wed, 2 Oct 2002 16:09:58 -0700 (PDT) From: Gerald A Speak To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: java/43602: jdk13 does not honor WRKDIRPREFIX Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43602 >Category: java >Synopsis: jdk13 does not honor WRKDIRPREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 02 16:10:04 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Gerald A Speak >Release: 4.7-RC >Organization: >Environment: FreeBSD sampson.gaspeak-p-va.prestige.net 4.7-RC FreeBSD 4.7-RC #2: Thu Sep 26 23:30:05 EDT 2002 gaspeak@sampson.gaspeak-p-va.prestige.net:/usr/obj/usr/src/sys/SAMPSON i386 >Description: With WRKDIRPREFIX set to /usr/tmp in make.conf jdk13 gives the following error: rm -f ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c /usr/local/linux-sun-jdk1.3.1/bin/java -classpath ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj InvokerGen < ../../../src/share/javavm/include/invokers.txt > ../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c Exception in thread "main" java.lang.NoClassDefFoundError: InvokerGen gmake[3]: *** [../../../build/bsd-i386/tmp/java/java.lang/jvm/obj/invokers.c] Error 1 gmake[3]: Leaving directory `/usr/tmp/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/jvm' gmake[2]: *** [optimized] Error 2 gmake[2]: Leaving directory `/usr/tmp/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/jvm' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/tmp/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java' gmake: *** [all] Error 1 *** Error code 2 >How-To-Repeat: set WRKDIRPREFIX=/usr/tmp In /etc/make.conf >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Oct 2 21:51:52 2002 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 B884937B401; Wed, 2 Oct 2002 21:51:51 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C79743E42; Wed, 2 Oct 2002 21:51: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.6/8.12.6) with ESMTP id g934ppCo025962; Wed, 2 Oct 2002 21:51:51 -0700 (PDT) (envelope-from glewis@freefall.freebsd.org) Received: (from glewis@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g934ppWe025958; Wed, 2 Oct 2002 21:51:51 -0700 (PDT) Date: Wed, 2 Oct 2002 21:51:51 -0700 (PDT) From: Greg Lewis Message-Id: <200210030451.g934ppWe025958@freefall.freebsd.org> To: glewis@FreeBSD.org, freebsd-java@FreeBSD.org, glewis@FreeBSD.org Subject: Re: java/43602: jdk13 does not honor WRKDIRPREFIX Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: jdk13 does not honor WRKDIRPREFIX Responsible-Changed-From-To: freebsd-java->glewis Responsible-Changed-By: glewis Responsible-Changed-When: Wed Oct 2 21:51:29 PDT 2002 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=43602 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 3 2:10: 4 2002 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 1954737B401 for ; Thu, 3 Oct 2002 02:10:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C14743E65 for ; Thu, 3 Oct 2002 02:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g939A1Co040742 for ; Thu, 3 Oct 2002 02:10:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g939A1sO040741; Thu, 3 Oct 2002 02:10:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D6F437B401; Thu, 3 Oct 2002 02:09:03 -0700 (PDT) Received: from zaphod.euronet.nl (zaphod.euronet.nl [194.134.168.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6ECA543E65; Thu, 3 Oct 2002 02:09:02 -0700 (PDT) (envelope-from ernst@zaphod.euronet.nl) Received: from zaphod.euronet.nl (localhost [127.0.0.1]) by zaphod.euronet.nl (8.12.5/8.12.5) with ESMTP id g9399BAF037718; Thu, 3 Oct 2002 11:09:11 +0200 (CEST) (envelope-from ernst@zaphod.euronet.nl) Received: (from ernst@localhost) by zaphod.euronet.nl (8.12.5/8.12.5/Submit) id g9399BII037717; Thu, 3 Oct 2002 11:09:11 +0200 (CEST) Message-Id: <200210030909.g9399BII037717@zaphod.euronet.nl> Date: Thu, 3 Oct 2002 11:09:11 +0200 (CEST) From: Ernst de Haan Reply-To: Ernst de Haan To: FreeBSD-gnats-submit@FreeBSD.org Cc: archie@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/43621: Port java/jikes-devel --> 1.17 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43621 >Category: java >Synopsis: Port java/jikes-devel --> 1.17 >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: Thu Oct 03 02:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Ernst de Haan >Release: FreeBSD 4.6-STABLE i386 >Organization: FreeBSD Project >Environment: System: FreeBSD zaphod.euronet.nl 4.6-STABLE FreeBSD 4.6-STABLE #11: Mon Sep 2 10:15:56 CEST 2002 root@zaphod.euronet.nl:/usr/obj/usr/src/sys/ZAPHOD i386 >Description: The port java/jikes-devel should be updated to Jikes 1.17. See: http://oss.software.ibm.com/developerworks/project/showfiles.php?group_id=10 >How-To-Repeat: N/A >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/java/jikes-devel/Makefile,v retrieving revision 1.1 diff -d -u -r1.1 Makefile --- Makefile 27 Aug 2002 20:32:03 -0000 1.1 +++ Makefile 3 Oct 2002 09:08:05 -0000 @@ -6,8 +6,7 @@ # PORTNAME= jikes -PORTVERSION= 1.16 -PORTREVISION= 3 +PORTVERSION= 1.17 CATEGORIES= java MASTER_SITES= http://oss.software.ibm.com/pub/jikes/ Index: distinfo =================================================================== RCS file: /home/ncvs/ports/java/jikes-devel/distinfo,v retrieving revision 1.1 diff -d -u -r1.1 distinfo --- distinfo 27 Aug 2002 20:32:03 -0000 1.1 +++ distinfo 3 Oct 2002 09:08:05 -0000 @@ -1 +1 @@ -MD5 (jikes-1.16.tar.bz2) = f3ab8f0ec01b3b03b9d4de188c80a189 +MD5 (jikes-1.17.tar.bz2) = cc2136e7bc2134655668764e531e7dc5 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 3 2:26:49 2002 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 4B70037B401; Thu, 3 Oct 2002 02:26:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB63243E75; Thu, 3 Oct 2002 02:26:48 -0700 (PDT) (envelope-from znerd@FreeBSD.org) Received: from freefall.freebsd.org (znerd@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g939QmCo044980; Thu, 3 Oct 2002 02:26:48 -0700 (PDT) (envelope-from znerd@freefall.freebsd.org) Received: (from znerd@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g939Qmbw044976; Thu, 3 Oct 2002 02:26:48 -0700 (PDT) Date: Thu, 3 Oct 2002 02:26:48 -0700 (PDT) From: Ernst de Haan Message-Id: <200210030926.g939Qmbw044976@freefall.freebsd.org> To: znerd@FreeBSD.org, freebsd-java@FreeBSD.org, archie@FreeBSD.org Subject: Re: java/43621: Port java/jikes-devel --> 1.17 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Synopsis: Port java/jikes-devel --> 1.17 Responsible-Changed-From-To: freebsd-java->archie Responsible-Changed-By: znerd Responsible-Changed-When: Thu Oct 3 02:26:25 PDT 2002 Responsible-Changed-Why: Over to MAINTAINER. http://www.freebsd.org/cgi/query-pr.cgi?pr=43621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Oct 3 22:11:53 2002 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 88B3E37B401 for ; Thu, 3 Oct 2002 22:11:51 -0700 (PDT) Received: from zeus.nfy.ca (zeus.nfy.ca [204.244.63.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4170543E4A for ; Thu, 3 Oct 2002 22:11:51 -0700 (PDT) (envelope-from mayo@nfy.ca) Received: from nfy.ca (ajhc11noy2ng.bc.hsia.telus.net [64.180.250.89]) by zeus.nfy.ca (Postfix) with ESMTP id 5D8DB20B206 for ; Thu, 3 Oct 2002 22:11:50 -0700 (PDT) Message-ID: <3D9D2316.6080204@nfy.ca> Date: Thu, 03 Oct 2002 22:11:50 -0700 From: Mayo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: java@freebsd.org Subject: HotSpot problems? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I'm trying to setup JCorporate's Expresso (version 4.02) but the startup is failing @ hotspot it seems. The error I'm getting is: ----------- Unexpected Signal : 11 occurred at PC=0x2A144BB3 Function=[Unknown.] Library=(N/A) NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: Dynamic libraries: Can not get information for pid = 82916 Local Time = Sat Sep 28 22:50:21 2002 Elapsed Time = 5 # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002E6 # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # # Java VM: Java HotSpot(TM) Client VM (1.4.1-b21 mixed mode) # ----------- and I'm using Java SDK 1.4.1 (linux-sun-jdk14 from ports) ----------- java version "1.4.1" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21) Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode) ----------- any ideas and tips are appreciated. thanks, mayo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 4 5: 2:38 2002 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 89E9237B401 for ; Fri, 4 Oct 2002 05:02:37 -0700 (PDT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id B54DC43E3B for ; Fri, 4 Oct 2002 05:02:35 -0700 (PDT) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (theseas.softlab.ece.ntua.gr [147.102.1.1]) by ulysses.noc.ntua.gr (8.11.6/8.11.6) with ESMTP id g94BuDc26899 for ; Fri, 4 Oct 2002 14:56:13 +0300 (EEST) Received: (from mantzios@localhost) by theseas.softlab.ece.ntua.gr (8.11.6/8.11.6) id g94BuD507673 for freebsd-java@FreeBSD.org; Fri, 4 Oct 2002 14:56:13 +0300 (EET DST) Date: Fri, 4 Oct 2002 14:56:13 +0300 (EET DST) From: Achilleas Mantzios Message-Id: <200210041156.g94BuD507673@theseas.softlab.ece.ntua.gr> To: freebsd-java@FreeBSD.org Subject: test plz ignore Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org foo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 4 7:39:26 2002 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 901BF37B401 for ; Fri, 4 Oct 2002 07:39:25 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A72343E42 for ; Fri, 4 Oct 2002 07:39:25 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 17xTbl-0002r3-00; Fri, 04 Oct 2002 07:39:13 -0700 Date: Fri, 4 Oct 2002 07:39:13 -0700 To: Stefan Arentz Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Hacking on JDK 1.3.1 Message-ID: <20021004143913.GA10940@gnuppy.monkey.org> References: <20020929195045.GA51533@keyser.soze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020929195045.GA51533@keyser.soze.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sun, Sep 29, 2002 at 09:50:45PM +0200, Stefan Arentz wrote: > Hi, > > Short introduction; I'm working on making the native JDK 1.3.1 a bit more > stable on -STABLE (4.4 and 4.6.2-SMP in my case) and also trying to backport > Bill Huey's excellent work on Hotspot. Yes, babes, I'm smoking hot with my HotSpot. None of that HotSpooning for those crack users. > % ab -n 2500 -c 25 http://localhost:8080/examples/jsp/dates/date.jsp > > > FreeBSD Native with compiler1: > > Requests per second: 205.64 [#/sec] (mean) > Time per request: 121.569 [ms] (mean) > Time per request: 4.863 [ms] (mean, across all concurrent requests) > Transfer rate: 259.61 [Kbytes/sec] received Ok, try something dangerous. open os_linux.cpp and uncomment that: INTERRUPTIBLE_RETURN_INT(os_sleep(millis), os::Solaris::clear_interrupted); and comment out: os_sleep(millis); Things work fast now because of it. You folks might want to try some tests to verify that. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 4 7:53:45 2002 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 8EB8F37B401 for ; Fri, 4 Oct 2002 07:53:44 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31C3943E3B for ; Fri, 4 Oct 2002 07:53:44 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 17xTpi-0002tQ-00; Fri, 04 Oct 2002 07:53:38 -0700 Date: Fri, 4 Oct 2002 07:53:38 -0700 To: Stefan Arentz Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Hacking on JDK 1.3.1 Message-ID: <20021004145338.GA11032@gnuppy.monkey.org> References: <20020929195045.GA51533@keyser.soze.com> <20021004143913.GA10940@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021004143913.GA10940@gnuppy.monkey.org> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Oct 04, 2002 at 07:39:13AM -0700, Bill Huey wrote: > > FreeBSD Native with compiler1: > > > > Requests per second: 205.64 [#/sec] (mean) > > Time per request: 121.569 [ms] (mean) > > Time per request: 4.863 [ms] (mean, across all concurrent requests) > > Transfer rate: 259.61 [Kbytes/sec] received Ok, I just benched this and there's no immediate change, but at least the web pages comes up quickly now without that funny long pause. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 4 8: 9:55 2002 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 A235837B401 for ; Fri, 4 Oct 2002 08:09:51 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FBCF43E6E for ; Fri, 4 Oct 2002 08:09:51 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 17xU5M-0002ut-00; Fri, 04 Oct 2002 08:09:48 -0700 Date: Fri, 4 Oct 2002 08:09:48 -0700 To: Stefan Arentz Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Hacking on JDK 1.3.1 Message-ID: <20021004150948.GA11187@gnuppy.monkey.org> References: <20020929195045.GA51533@keyser.soze.com> <20021004143913.GA10940@gnuppy.monkey.org> <20021004145338.GA11032@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021004145338.GA11032@gnuppy.monkey.org> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Oct 04, 2002 at 07:53:38AM -0700, Bill Huey wrote: > On Fri, Oct 04, 2002 at 07:39:13AM -0700, Bill Huey wrote: > > > FreeBSD Native with compiler1: > > > > > > Requests per second: 205.64 [#/sec] (mean) > > > Time per request: 121.569 [ms] (mean) > > > Time per request: 4.863 [ms] (mean, across all concurrent requests) > > > Transfer rate: 259.61 [Kbytes/sec] received > > Ok, I just benched this and there's no immediate change, but at least the web > pages comes up quickly now without that funny long pause. You know what ? I think you mixed the dynamic context and static content numbers up which is why those above figure looks so bad. Ran from my Linux box (ab) to the test SMP dev (HotSpot) box I've got... Try: =========================================================== "Native HotSpot" billh@gnuppy> /Users/billh% 23% ab -n 2500 -c 25 http://finfin:8080/examples/jsp/dates/date.jsp This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking finfin (be patient) Completed 250 requests Completed 500 requests Completed 750 requests Completed 1000 requests Completed 1250 requests Completed 1500 requests Completed 1750 requests Completed 2000 requests Completed 2250 requests Finished 2500 requests Server Software: Tomcat Server Hostname: finfin Server Port: 8080 Document Path: /examples/jsp/dates/date.jsp Document Length: 425 bytes Concurrency Level: 25 Time taken for tests: 24.363 seconds Complete requests: 2500 Failed requests: 0 Broken pipe errors: 0 Total transferred: 1472500 bytes HTML transferred: 1062500 bytes Requests per second: 102.61 [#/sec] (mean) Time per request: 243.63 [ms] (mean) Time per request: 9.75 [ms] (mean, across all concurrent requests) Transfer rate: 60.44 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 7 Processing: 49 243 166.8 211 1778 Waiting: 49 242 166.8 210 1777 Total: 49 243 166.9 211 1779 Percentage of the requests served within a certain time (ms) 50% 211 66% 220 75% 226 80% 232 90% 254 95% 301 98% 661 99% 781 100% 1779 (last request) =========================================================== "Linux emulator HotSpot" billh@gnuppy> /Users/billh% 24% ab -n 2500 -c 25 http://finfin:8080/examples/jsp/dates/date.jsp This is ApacheBench, Version 1.3d <$Revision: 1.65 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking finfin (be patient) Completed 250 requests Completed 500 requests Completed 750 requests Completed 1000 requests Completed 1250 requests Completed 1500 requests Completed 1750 requests Completed 2000 requests Completed 2250 requests Finished 2500 requests Server Software: Tomcat Server Hostname: finfin Server Port: 8080 Document Path: /examples/jsp/dates/date.jsp Document Length: 425 bytes Concurrency Level: 25 Time taken for tests: 18.923 seconds Complete requests: 2500 Failed requests: 0 Broken pipe errors: 0 Total transferred: 1472500 bytes HTML transferred: 1062500 bytes Requests per second: 132.11 [#/sec] (mean) Time per request: 189.23 [ms] (mean) Time per request: 7.57 [ms] (mean, across all concurrent requests) Transfer rate: 77.82 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.3 0 6 Processing: 99 188 48.6 187 627 Waiting: 99 188 48.6 186 626 Total: 99 188 48.7 187 628 Percentage of the requests served within a certain time (ms) 50% 187 66% 198 75% 208 80% 212 90% 224 95% 233 98% 243 99% 340 100% 628 (last request) =========================================================== It's about 80 percent slower, but still on par with the Linux version. I think you might have screwed up with the command line. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 4 8:47:57 2002 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 E1D2B37B401 for ; Fri, 4 Oct 2002 08:47:56 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59CCE43E75 for ; Fri, 4 Oct 2002 08:47:56 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 17xUgA-0002wZ-00; Fri, 04 Oct 2002 08:47:50 -0700 Date: Fri, 4 Oct 2002 08:47:50 -0700 To: Stefan Arentz Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Hacking on JDK 1.3.1 Message-ID: <20021004154750.GA11312@gnuppy.monkey.org> References: <20020929195045.GA51533@keyser.soze.com> <20021004143913.GA10940@gnuppy.monkey.org> <20021004145338.GA11032@gnuppy.monkey.org> <20021004150948.GA11187@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021004150948.GA11187@gnuppy.monkey.org> User-Agent: Mutt/1.4i From: Bill Huey (Hui) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Oct 04, 2002 at 08:09:48AM -0700, Bill Huey wrote: > It's about 80 percent slower, but still on par with the Linux version. Uh, not 80 percent slower, but 80 percent of the speed of the Linux emulator, about 30 percent slower overall... Sorry for the confusion there. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 4 12: 0:47 2002 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 8A53537B401 for ; Fri, 4 Oct 2002 12:00:46 -0700 (PDT) Received: from zeus.nfy.ca (zeus.nfy.ca [204.244.63.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4109443E42 for ; Fri, 4 Oct 2002 12:00:46 -0700 (PDT) (envelope-from mayo@nfy.ca) Received: from nfy.ca (ajhc11noy2ng.bc.hsia.telus.net [64.180.250.89]) by zeus.nfy.ca (Postfix) with ESMTP id 62AA520B203; Fri, 4 Oct 2002 12:00:44 -0700 (PDT) Message-ID: <3D9DE554.8000504@nfy.ca> Date: Fri, 04 Oct 2002 12:00:36 -0700 From: Mayo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Yuri Khotyaintsev , java@freebsd.org Subject: Re: HotSpot problems? References: <3D9D2316.6080204@nfy.ca> <3D9D551B.5010808@irfu.se> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Thanks for the tip, all seems to work well. We'll see what the rest of developers say about that tho. :) mayo Yuri Khotyaintsev wrote: > > > Mayo wrote: > >> Hello, >> >> I'm trying to setup JCorporate's Expresso (version 4.02) but the >> startup is failing @ hotspot it seems. > > >> >> and I'm using Java SDK 1.4.1 (linux-sun-jdk14 from ports) > > > linux-sun-jdk14 is unstable for the moment. If the software does not > require specific features of 1.4, it is recommended to use native > jdk13 from ports (ports/java/jdk13). > > Yuri > > OVT Team : http://ovt.irfu.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Oct 4 15:30:54 2002 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 10B1037B404 for ; Fri, 4 Oct 2002 15:30:52 -0700 (PDT) Received: from keyser.soze.com (keyser.soze.com [194.165.93.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8ECB43E75 for ; Fri, 4 Oct 2002 15:30:50 -0700 (PDT) (envelope-from stefan.arentz@soze.com) Received: by keyser.soze.com (Postfix, from userid 1000) id 0046234E76; Sat, 5 Oct 2002 00:31:32 +0200 (CEST) Date: Sat, 5 Oct 2002 00:31:32 +0200 From: Stefan Arentz To: Bill Huey Cc: freebsd-java@FreeBSD.ORG Subject: Re: Hacking on JDK 1.3.1 Message-ID: <20021004223132.GA23885@keyser.soze.com> References: <20020929195045.GA51533@keyser.soze.com> <20021004143913.GA10940@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021004143913.GA10940@gnuppy.monkey.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, Oct 04, 2002 at 07:39:13AM -0700, Bill Huey wrote: > On Sun, Sep 29, 2002 at 09:50:45PM +0200, Stefan Arentz wrote: > > Hi, > > > > Short introduction; I'm working on making the native JDK 1.3.1 a bit more > > stable on -STABLE (4.4 and 4.6.2-SMP in my case) and also trying to backport > > Bill Huey's excellent work on Hotspot. > > Yes, babes, I'm smoking hot with my HotSpot. None of that HotSpooning for > those crack users. > > > % ab -n 2500 -c 25 http://localhost:8080/examples/jsp/dates/date.jsp > > > > > > FreeBSD Native with compiler1: > > > > Requests per second: 205.64 [#/sec] (mean) > > Time per request: 121.569 [ms] (mean) > > Time per request: 4.863 [ms] (mean, across all concurrent requests) > > Transfer rate: 259.61 [Kbytes/sec] received > > Ok, try something dangerous. open os_linux.cpp and uncomment that: > > INTERRUPTIBLE_RETURN_INT(os_sleep(millis), os::Solaris::clear_interrupted); > > and comment out: > > os_sleep(millis); > > Things work fast now because of it. You folks might want to try some tests > to verify that. I'm getting this with Tomcat 4.1.12: keyser % bin/catalina.sh run Using CATALINA_BASE: /soze/home/stefan/Java/jakarta-tomcat-4.1.12 Using CATALINA_HOME: /soze/home/stefan/Java/jakarta-tomcat-4.1.12 Using CATALINA_TMPDIR: /soze/home/stefan/Java/jakarta-tomcat-4.1.12/temp Using JAVA_HOME: /usr/local/jdk1.3.1 [INFO] Registry - -Loading registry information [INFO] Registry - -Creating new Registry instance [INFO] Registry - -Creating MBeanServer [INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.12 [INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080 [INFO] ChannelSocket - -JK2: ajp13 listening on tcp port 8009 [INFO] JkMain - -Jk running ID=0 time=2/73 config=/soze/home/stefan/Java/jakarta-tomcat-4.1.12/conf/jk2.properties java.net.SocketException: Interrupted system call at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:421) at java.net.ServerSocket.implAccept(ServerSocket.java:243) at java.net.ServerSocket.accept(ServerSocket.java:222) at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:254) at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:504) at org.apache.jk.common.SocketAcceptor.runIt(ChannelSocket.java:619) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:484) StandardServer.await: accept: java.net.SocketException: Interrupted system call java.net.SocketException: Interrupted system call at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:421) at java.net.ServerSocket.implAccept(ServerSocket.java:243) at java.net.ServerSocket.accept(ServerSocket.java:222) at org.apache.catalina.core.StandardServer.await(StandardServer.java:526) at org.apache.catalina.startup.Catalina.start(Catalina.java:519) at org.apache.catalina.startup.Catalina.execute(Catalina.java:400) at org.apache.catalina.startup.Catalina.process(Catalina.java:180) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203) Stopping service Tomcat-Standalone Stefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message