Date: Fri, 3 Sep 1999 09:55:25 -0600 From: Nate Williams <nate@mt.sri.com> To: Maruyama Fuyuhiko <fuyuhik8@is.titech.ac.jp> Cc: java-port@FreeBSD.ORG, freebsd-java@FreeBSD.ORG Subject: Re: Some bugs exist in JDK for FreeBSD. Message-ID: <199909031555.JAA02569@mt.sri.com> In-Reply-To: <19990904000606R.fuyuhik8@is.titech.ac.jp> References: <19990904000606R.fuyuhik8@is.titech.ac.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
> *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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909031555.JAA02569>