From owner-freebsd-java Tue Aug 31 16:28:17 1999 Delivered-To: freebsd-java@freebsd.org Received: from magpie.a001.sprintmail.com (magpie.prod.itd.earthlink.net [209.178.63.8]) by hub.freebsd.org (Postfix) with ESMTP id 57E70154A1 for ; Tue, 31 Aug 1999 16:28:16 -0700 (PDT) (envelope-from rhanson001@sprintmail.com) Received: from ronda (pool0282.cvx20-bradley.dialup.earthlink.net [209.179.251.27]) by magpie.a001.sprintmail.com (8.8.7/8.8.5) with SMTP id QAA02393 for ; Tue, 31 Aug 1999 16:26:12 -0700 (PDT) Message-ID: <000101bef408$54b1b280$1bfbb3d1@ronda> Reply-To: "ronda hanson" From: "ronda hanson" To: Subject: Installation questions Date: Tue, 31 Aug 1999 16:26:57 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Can I install the newest version JDK 1.2.2 in FreeBSD3,2? Where can I obtain information? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Tue Aug 31 16:30:58 1999 Delivered-To: freebsd-java@freebsd.org Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by hub.freebsd.org (Postfix) with ESMTP id CEF0B154A1 for ; Tue, 31 Aug 1999 16:30:55 -0700 (PDT) (envelope-from chris.andrichak@eng.sun.com) Received: from engmail3.Eng.Sun.COM ([129.144.170.5]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id QAA01428; Tue, 31 Aug 1999 16:30:15 -0700 (PDT) From: chris.andrichak@eng.sun.com Received: from ha-sims.eng.sun.com (phys-thestorka.Eng.Sun.COM [129.146.1.231]) by engmail3.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id QAA07391; Tue, 31 Aug 1999 16:30:14 -0700 (PDT) Received: from ha-sims.eng (grope.Eng.Sun.COM [129.146.111.62]) by ha-sims.eng.sun.com (Sun Internet Mail Server sims.4.0.1999.06.13.00.20) with ESMTP id <0FHC00HOFRYCA6@ha-sims.eng.sun.com>; Tue, 31 Aug 1999 16:30:13 -0700 (PDT) Date: Tue, 31 Aug 1999 16:30:12 -0700 Subject: Re: Installation questions To: ronda hanson , freebsd-java@FreeBSD.ORG Reply-To: chris.andrichak@eng.sun.com Message-id: <0FHC00HOGRYCA6@ha-sims.eng.sun.com> MIME-version: 1.0 X-Mailer: NetMail Standalone 3.3 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org http://www.freebsd.org/java Sorry, no 1.2 JDK yet. "ronda hanson" wrote: ]Date: Tue, 31 Aug 1999 16:26:57 -0700 ]Can I install the newest version JDK 1.2.2 in FreeBSD3,2? Where can I ]obtain information? ] ----------------------------------------------- chris chrisx@eng.sun.com ----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Wed Sep 1 12:44:49 1999 Delivered-To: freebsd-java@freebsd.org Received: from kleopatra.acc.umu.se (kleopatra.acc.umu.se [130.239.18.150]) by hub.freebsd.org (Postfix) with ESMTP id 542551556E for ; Wed, 1 Sep 1999 12:44:46 -0700 (PDT) (envelope-from saska@acc.umu.se) Received: from montezuma.acc.umu.se (saska@montezuma-fddi.acc.umu.se [192.168.18.147]) by kleopatra.acc.umu.se (8.9.3/8.9.3) with ESMTP id VAA32796 for ; Wed, 1 Sep 1999 21:44:44 +0200 Received: (from saska@localhost) by montezuma.acc.umu.se (8.9.3/8.9.3) id VAA22229 for freebsd-java@freebsd.org; Wed, 1 Sep 1999 21:44:43 +0200 (MET DST) Date: Wed, 1 Sep 1999 21:44:43 +0200 From: Markus Holmberg To: freebsd-java@freebsd.org Subject: status of JDK 1.2? help needed? Message-ID: <19990901214443.A22150@montezuma.acc.umu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is there any word on how the FreeBSD port of JDK 1.2 is progressing? Is it being done straight from Suns sources or is the FreeBSD port a derivative of Blackdown's Linux port? (In that case, 1.2 should be near in time on FreeBSD I hope since it's in 1.2pre on Linux right now). Also, does the FreeBSD-team need any kind of help regarding the JDK 1.2-port? Don't see much action on this list :(.. Java is very important! And all work on bringing Java to FreeBSD is very appreciated! Markus -- Markus Holmberg | Give me UNIX or give me a typewriter. saska@acc.umu.se | http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Sep 2 23: 8: 1 1999 Delivered-To: freebsd-java@freebsd.org Received: from fever.semiotek.com (H253.C225.tor.velocet.net [216.126.82.253]) by hub.freebsd.org (Postfix) with ESMTP id 7EEE5156A1 for ; Thu, 2 Sep 1999 23:07:53 -0700 (PDT) (envelope-from jread@fever.semiotek.com) Received: (from jread@localhost) by fever.semiotek.com (8.8.8/8.8.7) id CAA10742 for freebsd-java@freebsd.org; Fri, 3 Sep 1999 02:06:50 -0400 (EDT) (envelope-from jread) Message-ID: <19990903020650.A10276@semiotek.com> Date: Fri, 3 Sep 1999 02:06:50 -0400 From: Justin Wells To: freebsd-java@freebsd.org Subject: 1.1.8 segfaults Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The latest version of the JDK 1.1.8 (both ELF and AOUT) segfaults on one of my class files, reliably, at the same point. I tried it on two different machines: a FreeBSD 3.2 machine with the ELF release; and a 2.2.7 machine with the AOUT release installed. It crashes on both at the same point. It works fine under the 1.1.7 JDK, and it works fine under both Linux JDK's (IBM and Blackdown). Interestingly enough, though, it crashes the Kaffe VM in exactly the same way, at the same line. If I remove that line, Kaffe and the 1.1.8 JVM are happy again. I tried to create a trivial example that replicates the problem, but I wasn't able to do it. So I could make a large package including the current version of my software available, along with a shell script that runs it in the way that shows the problem. Since it's a pre-release version in the midst of a major code change, I don't want to publish it--but I'll supply it privately to whoever wants to try and debug this. Please e-mail me as justin at the same domain (semiotek.com) and ask me to send you a copy. (Replies to this message will wind up in my mailing list inbox, which I often mass-delete when I am busy, so send it to my regular account instead). For the curious, it happens during some recursive introspection of a hierarchy of classes. The particular Java expression that causes the segfault is this: iterClass.isAssignableFrom(returnType); in the case that causes the segfault, iterClass is one of my own private classes (org.webmacro.util.java2.Iterator) and the returntype happens to be java.util.Enumeration. However, who knows what actually caused the problem. Perhaps something odd is happening on the stack. I compiled with both 'jikes' and with 'javac' and the problem results no matter which one is used, so I don't think it would involve a compiler bug. Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 3 8: 7: 1 1999 Delivered-To: freebsd-java@freebsd.org Received: from heresy.is.titech.ac.jp (heresy.is.titech.ac.jp [131.112.35.182]) by hub.freebsd.org (Postfix) with ESMTP id E223814C08; Fri, 3 Sep 1999 08:06:57 -0700 (PDT) (envelope-from fuyuhik8@is.titech.ac.jp) Received: from localhost (localhost.is.titech.ac.jp [127.0.0.1]) by heresy.is.titech.ac.jp (8.9.3/8.9.2) with ESMTP id AAA93605; Sat, 4 Sep 1999 00:06:06 +0900 (JST) (envelope-from fuyuhik8@is.titech.ac.jp) To: java-port@FreeBSD.org Cc: freebsd-java@FreeBSD.org Subject: Some bugs exist in JDK for FreeBSD. From: Maruyama Fuyuhiko X-Mailer: Mew version 1.94pre4 on XEmacs 21.2 (Demeter) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990904000606R.fuyuhik8@is.titech.ac.jp> Date: Sat, 04 Sep 1999 00:06:06 +0900 X-Dispatcher: imput version 990903(IM127) Lines: 49 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, all! I'm a developer of Java JIT compiler. And I found some bugs in JDK-1.1.8 for FreeBSD. *First When you try division of two special int values, x86 cpu causes SIGFPE. You can easily see it. Try this "Test.java" compile with FreeBSD's javac. public class Test { public static void main(String[] args) { System.out.println("0x80000000 / -1 = " + (0x80000000/-1)); } } I think only this combination (i.e. 0x80000000/-1) causes unexcepted SIGFPE, so JavaVM may easily handle it. Our JIT compiler can handle it in support functions for JIT compiled methods, but I think JavaVM should handle it by itself! This bug may exist all version of JDK for FreeBSD (may be in Linux version), but I have checked only these versions. jdk1.1.8_AOUT.V99-7-19.tar.gz jdk1.1.8_ELF.V99-7-19.tar.gz *Second Radio buttons of first window of SPECjvm98 don't appear! We always use SPECjvm98 to measure the performance of our JIT. SPECjvm98 uses AWT, and it causes visual problem only in *ELF version* of jdk1.1.8 for FreeBSD, I beleave AOUT version works correctly. So, I cannot measure our JIT with ELF version in SPEC-confirmed style. Sorry, I have not figured out the precise condition, and I don't have enough time to do it. Are there someone can check the SPECjvm98 and figure out the bug? Thanks in advance. -- Fuyuhiko Maruyama Matsuoka laboratory, Department of Mathematical and Computing Sciences, Tokyo Institute of Technology. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 3 8:56:42 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 371E8155EE; Fri, 3 Sep 1999 08:56:34 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id JAA00336; Fri, 3 Sep 1999 09:55:26 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id JAA02569; Fri, 3 Sep 1999 09:55:25 -0600 Date: Fri, 3 Sep 1999 09:55:25 -0600 Message-Id: <199909031555.JAA02569@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Maruyama Fuyuhiko Cc: java-port@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: Some bugs exist in JDK for FreeBSD. In-Reply-To: <19990904000606R.fuyuhik8@is.titech.ac.jp> References: <19990904000606R.fuyuhik8@is.titech.ac.jp> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > *First > > When you try division of two special int values, x86 cpu causes > SIGFPE. You can easily see it. Try this "Test.java" compile with > FreeBSD's javac. > > public class Test { > public static void main(String[] args) { > System.out.println("0x80000000 / -1 = " + (0x80000000/-1)); > } > } > > I think only this combination (i.e. 0x80000000/-1) causes unexcepted > SIGFPE, so JavaVM may easily handle it. Our JIT compiler can handle > it in support functions for JIT compiled methods, but I think JavaVM > should handle it by itself! > > This bug may exist all version of JDK for FreeBSD (may be in Linux > version), but I have checked only these versions. > > jdk1.1.8_AOUT.V99-7-19.tar.gz > jdk1.1.8_ELF.V99-7-19.tar.gz Thanks for pointing this out, we'll look into this! > *Second > > Radio buttons of first window of SPECjvm98 don't appear! > > We always use SPECjvm98 to measure the performance of our JIT. > SPECjvm98 uses AWT, and it causes visual problem only in *ELF version* > of jdk1.1.8 for FreeBSD, I beleave AOUT version works correctly. So, > I cannot measure our JIT with ELF version in SPEC-confirmed style. > Sorry, I have not figured out the precise condition, and I don't have > enough time to do it. I believe I know the fix for this bug. The ELF/Motif I am using is not quite 'up to speed' with the ELF version of XFree86, so I need a newer version of Motif for FreeBSD. It was supposed to be shipped last month, but it hasn't gotten here yet. I'll go pick my supplier and see what's what! Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 3 12:44:15 1999 Delivered-To: freebsd-java@freebsd.org Received: from mail.csi.UOttawa.CA (mail.site.uottawa.ca [137.122.24.142]) by hub.freebsd.org (Postfix) with ESMTP id 3839615DED; Fri, 3 Sep 1999 12:43:28 -0700 (PDT) (envelope-from Keith.White@site.uottawa.ca) Received: from mail2.csi.uottawa.ca (kwhite@mail2.csi.uottawa.ca [137.122.24.220]) by mail.csi.UOttawa.CA (8.8.8/8.8.8) with SMTP id PAA25854; Fri, 3 Sep 1999 15:40:56 -0400 (EDT) Date: Fri, 3 Sep 1999 15:40:56 -0400 (EDT) From: Keith White To: Nate Williams Cc: Maruyama Fuyuhiko , java-port@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: Some bugs exist in JDK for FreeBSD. In-Reply-To: <199909031555.JAA02569@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 3 Sep 1999, Nate Williams wrote: > > When you try division of two special int values, x86 cpu causes > > SIGFPE. You can easily see it. Try this "Test.java" compile with > > FreeBSD's javac. > > > > public class Test { > > public static void main(String[] args) { > > System.out.println("0x80000000 / -1 = " + (0x80000000/-1)); > > } > > } > > > > I think only this combination (i.e. 0x80000000/-1) causes unexcepted > > SIGFPE, so JavaVM may easily handle it. Our JIT compiler can handle > > it in support functions for JIT compiled methods, but I think JavaVM > > should handle it by itself! > > > > This bug may exist all version of JDK for FreeBSD (may be in Linux > > version), but I have checked only these versions. > > > > jdk1.1.8_AOUT.V99-7-19.tar.gz > > jdk1.1.8_ELF.V99-7-19.tar.gz > > Thanks for pointing this out, we'll look into this! I have fixed this bug. The problem is that DIVIDE traps are sent as SIGFPE and we didn't trap and interpret this signal like Solaris. Since we need a working executeJava_p5 to trap these signals, I backported the JDK1.2 cpuid patch. (Now we'll finally be able to use the assembler version of the JVM for JDK1.1.x. Things should speed up a bit...) Commits to follow after 3.x verification. ...keith -- Keith White, EITI/SITE, University of Ottawa kwhite@site.uottawa.ca [+1 613 562 5800 x6681] FAX [+1 613 562 5187] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 3 13: 4:32 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 0082F14E30; Fri, 3 Sep 1999 13:04:28 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id OAA03108; Fri, 3 Sep 1999 14:03:12 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id OAA04282; Fri, 3 Sep 1999 14:03:11 -0600 Date: Fri, 3 Sep 1999 14:03:11 -0600 Message-Id: <199909032003.OAA04282@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Keith White Cc: Nate Williams , Maruyama Fuyuhiko , java-port@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: Some bugs exist in JDK for FreeBSD. In-Reply-To: References: <199909031555.JAA02569@mt.sri.com> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > When you try division of two special int values, x86 cpu causes > > > SIGFPE. You can easily see it. Try this "Test.java" compile with > > > FreeBSD's javac. > > > > > > public class Test { > > > public static void main(String[] args) { > > > System.out.println("0x80000000 / -1 = " + (0x80000000/-1)); > > > } > > > } > > > > > > I think only this combination (i.e. 0x80000000/-1) causes unexcepted > > > SIGFPE, so JavaVM may easily handle it. Our JIT compiler can handle > > > it in support functions for JIT compiled methods, but I think JavaVM > > > should handle it by itself! > > > > > > This bug may exist all version of JDK for FreeBSD (may be in Linux > > > version), but I have checked only these versions. > > > > > > jdk1.1.8_AOUT.V99-7-19.tar.gz > > > jdk1.1.8_ELF.V99-7-19.tar.gz > > > > Thanks for pointing this out, we'll look into this! > > I have fixed this bug. The problem is that DIVIDE traps are sent > as SIGFPE and we didn't trap and interpret this signal like Solaris. Since > we need a working executeJava_p5 to trap these signals, I backported the JDK1.2 > cpuid patch. (Now we'll finally be able to use the assembler version of > the JVM for JDK1.1.x. Things should speed up a bit...) > > Commits to follow after 3.x verification. Whoo hoo!!! As always, Keith comes through. :) :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Sep 3 14:20:10 1999 Delivered-To: freebsd-java@freebsd.org Received: from scruz.net (nic.scruz.net [165.227.1.2]) by hub.freebsd.org (Postfix) with ESMTP id 2DB841506E for ; Fri, 3 Sep 1999 14:20:06 -0700 (PDT) (envelope-from AlanD@AlanD.com) Received: from ap300 (aland.com [165.227.109.240]) by scruz.net (8.8.5/1.34) with ESMTP id OAA12399 for ; Fri, 3 Sep 1999 14:18:46 -0700 (PDT) (envelope-from AlanD@AlanD.com) Message-Id: <4.2.0.58.19990903141842.00a6f720@mail.scruznet.com> X-Sender: aland@mail.scruznet.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Fri, 03 Sep 1999 14:19:08 -0700 To: freebsd-java@FreeBSD.org From: Alan Douglas Subject: subscribe Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message