From owner-freebsd-java Mon Oct 9 8:32:20 2000 Delivered-To: freebsd-java@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 4684137B66C for ; Mon, 9 Oct 2000 08:32:03 -0700 (PDT) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id JAA19742; Mon, 9 Oct 2000 09:32:02 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id JAA19176; Mon, 9 Oct 2000 09:32:01 -0600 (MDT) (envelope-from nate) Date: Mon, 9 Oct 2000 09:32:01 -0600 (MDT) Message-Id: <200010091532.JAA19176@nomad.yogotech.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: behanna@zbzoom.net Cc: FreeBSD-Java Subject: Re: JDK 1.2.2 for FreeBSD In-Reply-To: References: X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I compiled jdk1.2.2 for FreeBSD successfully, although that is not safety. > > (by http://java.freebsd.org) > > > > [masterpc@4eva][~]$ java -version > > java version "1.2.2" > > Classic VM (build jdk1.2.2-FreeBSD:root:2000/10/06-17:58, green threads, > > nojit) > ^^^^^ > Yuck. > > If a JIT is available, it speeds things up by a factor of ten (at > least, that's my experience on Linux with the LINPACK benchmark. I > don't know if the speedup would be as dramatic or not on FreeBSD, what > with the current lack of kernel threads--I'm not bitching, mind you, > just observing). It gives tremendous speedups. As others have pointed out, ShuJIT, OpenJIT,and TYA should all work. Unfortunately (or fortunately, depending on your platform), HotSpot makes some assumptions about native threads that other JIT's don't necessarily make, so much of the speedups are moot when native threads aren't available. > > Is there any problem if jdk1.2.2-FreeBSD is available as a port ? There isn't a binary available, only patches. There's no automated way to 'build' it as a port. Hopefully we'll have binaries sometime in my lifetime. :( Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message