JIT : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

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-

This page is posted
on the web at:

http://mindprod.com/jgloss/jit.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\jit.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
no blog for this page
IP:[65.110.21.43]
Your face IP:[23.23.8.131]
You are visitor number