JIT : Java Glossary

JIT
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 (Java Virtual Machine) 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 (Batch) 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
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.212]
You are visitor number 20,211.