This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "what is JIT" Watch "what is JIT" New topic
Author

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.


Regards,
vignesh
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
Regards
Simon
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: what is JIT
 
Similar Threads
Tech Word Game
waht role of JIT in JVM
What is JIT?
Is JDK same for all platforms(windows,unix,mac) or is it different for different operating systems.
Difference between JIT and JVM