Is Java compiled or interpreted?

Started by
30 comments, last by Extrarius 19 years ago


Do the JIT compilers have config options to set how many code block run counts before the code gets compiled into a machine code block.

Ive heard threshold numbers like 1500 and 10000 being used which seens pretty high
to me (especially for servers that need quick/consistant startup)
Advertisement
Quote:Original post by Anonymous Poster
Quote:Original post by Extrarius
Java is compiled to bytecode, which was then traditionally interpreted. I hear that Java is JITed to native code these days, but there is much conflicting information about modern methods of Java execution.



Traditional interpretation would be analysing source code string tokens and variable name lookups, etc...[...]
I didn't mean it was interpreted in the traditional manner, I meant that in traditional java exection, the bytecode wasn't converted to machine code and was instead interpreted how you said.
"Walk not the trodden path, for it has borne it's burden." -John, Flying Monk

This topic is closed to new replies.

Advertisement