Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2000 09:32:01 -0600 (MDT)
From:      Nate Williams <nate@yogotech.com>
To:        behanna@zbzoom.net
Cc:        FreeBSD-Java <java@FreeBSD.ORG>
Subject:   Re: JDK 1.2.2 for FreeBSD
Message-ID:  <200010091532.JAA19176@nomad.yogotech.com>
In-Reply-To: <Pine.BSF.4.21.0010090954550.3272-100000@topperwein.dyndns.org>
References:  <Pine.BSF.4.21.0010092239590.99362-100000@4eva.net> <Pine.BSF.4.21.0010090954550.3272-100000@topperwein.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010091532.JAA19176>