Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2000 18:57:39 +0200
From:      Ernst de Haan <ernst@jollem.com>
To:        Nate Williams <nate@yogotech.com>
Cc:        FreeBSD Java mailing list <freebsd-java@FreeBSD.ORG>
Subject:   Re: Port for current binary JDK ?
Message-ID:  <20001009185738.A9402@c187104187.telekabel.chello.nl>
In-Reply-To: <200010091636.KAA19550@nomad.yogotech.com>; from nate@yogotech.com on Mon, Oct 09, 2000 at 10:36:34AM -0600
References:  <20001009150505.A7933@c187104187.telekabel.chello.nl> <200010091529.JAA19151@nomad.yogotech.com> <20001009183152.A9258@c187104187.telekabel.chello.nl> <200010091636.KAA19550@nomad.yogotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Nate,

> > Okay, but this is good news. I'm looking forward to a port. I must say
> > that I find the JDK I'm using (ps 9) very stable. I've used it for a
> > couple of months, without any problems. And Swing apps are *much*
> > faster than on Blackdown 1.2.2 RC3
> 
> That's *probably* because of the *LACK* of JIT.  Try disabling the JIT
> on Blackdown and/or Sun's JVM before running it and be suprised.

Well, I *did* :)

> (And I'm being serious here.  Swing apps and the JIT tend to be at odds,
> for JDK1.2.  JDK1.3 is supposedly better with HotSpot, although I have
> no direct experience to verify that.)
> 
> > I assume a native FreeBSD JDK 1.3 might give us a major performance
> > increase then :) I run all JDKs without a JIT.
> 
> Hmm, I'm actually suprised that the Linux JVM's are that much slower on
> Swing apps w/out a JIT.  Are you *SURE* there is no JIT being used?

I'm pretty sure:

   bash-2.04$ set | grep JAVA_COMPILER
   JAVA_COMPILER=NONE

I included this in my .profile, and I always use bash.

For the native FreeBSD JDK I get:

   bash-2.04$ echo $JAVA_HOME && java -version
   /home/ernst/prg/freebsd-jdk-1.2.2ps9
   java version "1.2.2"
   Classic VM (build jdk1.2.2-FreeBSD:ernst:2000/06/17-02:21, green threads, nojit)

For the Linux JDK from the ports:

   bash-2.04$ echo $JAVA_HOME && java -version
   /usr/local/linux-jdk1.2.2
   java version "1.2.2" Classic VM (build Linux_JDK_1.2.2_RC4, green threads, nojit)

For the Sun Linux 1.3 JDK (pre-release):

   bash-2.04$ echo $JAVA_HOME && java -version
   /home/ernst/prg/sun-jdk-linux-1.3
   java version "1.3.0beta_refresh"
   Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta_refresh-b09) Classic VM (build 1.3.0beta_refresh-b09, green threads, nojit)

:-)

--
Ernst


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?20001009185738.A9402>