aspose file tools
The moose likes Beginning Java and the fly likes what is JIT Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: what is JIT
 
Similar Threads
What is JIT?
Tech Word Game
Difference between JIT and JVM
waht role of JIT in JVM
Is JDK same for all platforms(windows,unix,mac) or is it different for different operating systems.