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