File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes what is JIT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what is JIT" Watch "what is JIT" New topic

what is JIT

sai donthneni
Ranch Hand

Joined: Mar 26, 2006
Posts: 50
My question is what is JIT and how it is switched off? Is there any relationship between JIT and valatile modifier?
vignesh hariharan
Ranch Hand

Joined: Jun 23, 2005
Posts: 77
JIT is Just In Time compiler. it is an enhanced version of the compiler. and cant be switched off. and also the work of this JIT is to compile and execute instead of interpreting which is done by java(interpreter). but this is not a full complete compiler. verify sun toturial for more details and also verify JVM specification book.

Roy Simon
Ranch Hand

Joined: Aug 26, 2005
Posts: 62
The JIT(Just In time compiler) is a mix of an interpreter and a compiler...
the interpreter translates a line at a time and executes the line.. and hence is slow when compared to the compiler that compiles the entire program and then executes it.. the just in time compiler compiles class files to native obj code at runtime... but not line at a time...

Hope this helps
I agree. Here's the link:
subject: what is JIT
It's not a secret anymore!