Hello All;
I have a problem where I am trying to verify that Hotspot is indeed
running on our JVM. We have a 4CPU SparcV9 box and every time I
invoke java -version, I keep getting:
Java HotSpot(TM) Client VM (build 1.3.1-b24, interpreted mode)
I tried several different flavors of 1.3.1, and I always get
"interpreted mode." I downloaded 1.4.1 and I get mixed mode. But, in
production, I cannot use 1.4.1 because it is not a supported JVM by
our vendor. I try to force the hotspot compiler using -server or
-client, but it appears I already get "interpreted mode" back when I
run java -version. When I run java -version, and if it says
"interpreted mode," does this mean that Hotspot is disabled for this
JVM? Should I trust the output that comes back from java -version?
Does anyone know of any known issues with Hotspot and Sparcv9 where it
is disabled by default? Is there anyway I can find out why hotspot is
not working on these 1.3 JVM's (ie -verbose option?) I just can't seem
to enable hotspot in 1.3 ...
TIA;
paul@paulrowe.com
Roedy Green - 23 Jul 2003 21:07 GMT
> I have a problem where I am trying to verify that Hotspot is indeed
>running on our JVM. We have a 4CPU SparcV9 box and every time I
>invoke java -version, I keep getting:
Have you experimented with the -client and -server switches?
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Thomas Maslen - 24 Jul 2003 18:54 GMT
>Hello All;
>
[quoted text clipped - 3 lines]
>
>Java HotSpot(TM) Client VM (build 1.3.1-b24, interpreted mode)
Here's one possibility:
> /usr/local/stow/jdk-1.3.1/bin/java -version
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)
> setenv JAVA_COMPILER none
> /usr/local/stow/jdk-1.3.1/bin/java -version
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, interpreted mode)
> unsetenv JAVA_COMPILER
> /usr/local/stow/jdk-1.3.1/bin/java -version
java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)
>
(Yes, that's csh syntax. If you use sh/bash/ksh, munge it appropriately).
In general, use /usr/bin/env to dump all your environment variables;
scrutinize each one and have a think about whether it's good or bad.
Thomas Maslen
maslen@wedgetail.com