JIT : Java Glossary

home page J words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all) ©1996-2010 Roedy Green, Canadian Mind Products
JIT
Just In Time compiler. Compiling to native code just before the program runs. The results might be cached, but typically no permanent *.exe file is created. Contrast that with a native mode compiler. You get better debugging stack traces with the JIT turned off, and typically you get fewer JVM bugs.

In

java.exe -Djava.compiler=NONE HelloWorld
make sure the -D option comes first, or it will be taken as a parameter to HelloWorld.

With

REM use JIT
SET JAVA_COMPCMD=
REM use Interpreter
SET JAVA_COMPCMD=DIS
Unfortunately, capturing these commands in a BAT file has no effect since environment changes are discarded as soon as the bat file finishes.

In

@echo off
rem jiton:jitoff d:
cd"Program Files\Netscape\Communicator\Program\Java\bin"
if"%1"=="on"rename jit3240.off jit3240.dll>NUL
if"%1"=="off"rename jit3240.dll jit3240.off>NUL
if exist jit3240.dll echo jit now on
if exist jit3240.off echo jit now off
rem -30-

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/jit.html J:\mindprod\jgloss\jit.html
CMP logofeedback Please email your feedback for publication, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.191.111]
You are visitor number 18,257.