From owner-freebsd-java Thu Dec 31 09:48:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA24880 for freebsd-java-outgoing; Thu, 31 Dec 1998 09:48:19 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA24864; Thu, 31 Dec 1998 09:48:16 -0800 (PST) (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 KAA28268; Thu, 31 Dec 1998 10:47:56 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA10105; Thu, 31 Dec 1998 10:47:55 -0700 Date: Thu, 31 Dec 1998 10:47:55 -0700 Message-Id: <199812311747.KAA10105@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: SHUDO Kazuyuki Cc: freebsd-java@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: Porting java stuff? Proposal? In-Reply-To: <199812310744.QAA28564@cafe.muraoka.info.waseda.ac.jp> References: <199812310651.XAA07977@mt.sri.com> <199812310744.QAA28564@cafe.muraoka.info.waseda.ac.jp> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > My understanding is that JDK for FreeBSD make use of C > > > version of interpreter instead of assembly language > > > version as executeJava_p5.*. Is this right? > > > > That is correct, but we weren't that much slower than the Linux JDK, > > which *does* use the assembly language version of executeJava. > > I feel that FreeBSD JDK is pretty slower than Linux JDK. > > With Linpack benchmark for Java (*), > Linux JDK117 on PentiumPro/200MHz results 1.357 Mflops/s, > FreeBSD JDK117 on PentiumII/233MHz results 0.734 Mflops/s. > Java interpreter shows these results, no JIT. > > (*) Linpack Benchmark -- Java Version > http://www.netlib.org/benchmark/linpackjava/ > > I wonder why isn't FreeBSD port based on Linux port. It is. As a matter of fact, the Linux port uses FreeBSD patches and vice-versa. The only *large* differences are: 1) ELF support (The FreeBSD JDK uses a.out) 2) Warning support (The Linux version has casts all over the place to avoid warnings which provide no functional differences on the x86.) 3) Kernel support (Linux uses poll, not select). And, recently they also added multi-threaded support because the Linux kernel has basic multithreading. Compare older Linux releases to older FreeBSD release and the differences should be less stark. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message