This JDK release includes support for translating Java bytecode to MIPS machine code and running it instead of the bytecode in order to improve Java runtime performance.
java, the Java virtual machine, and
appletviewer, the Java applet
viewer, are able to translate the code for each class when it is
loaded, and then subsequently to use the MIPS code. This is called
JIT (Just In Time) compilation. It is turned on
and off by the -jit
and -nojit
options, and
is on by default.
In previous releases, MIPS code could be generated ahead of time using the tool javat, in order to avoid doing this translation every time a program was run. Due to the speed of our JIT compiler, and particularly now because translation is done at a method (rather than class) granularity, this capability is not generally beneficial, so it is no longer provided.
MIPS code execution is not available:
Also, the -prof
option to java does not work
properly in the presence of MIPS code execution. If you use the
-prof
option, use the -nojit
option
also.
Having this software installed does not automatically mean that JIT compilation will be in effect when running Java applets in your Web browser.
In order to run hotjava, download it from Sun,
unzip it, and set your JDK_HOME
environment variable to
point to where you have installed the Java software:
setenv JDK_HOME /usr/java
You should then be able to run hotjava out of the
distribution's bin
directory.
If you downloaded a hotjava distribution containing a
runtime
directory, you can remove it, since it is a
Solaris Java implementation.
Java and other Java-based names are trademarks of Sun Microsystems, Inc., and refer to Sun's family of Java-branded technologies. Sun, Sun Microsystems, and the Sun Logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.