This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
So I am taking notes in order to better learn Java, however I have come across something which confused me a bit(JIT). I'm not sure if it is a beginner subject exactly as the book
I used for the Java course I took didn't mention it, but another one I'm on did, and this is how I interpreted it, in my own words:
When running a program the Java Virtual Machine interprets java bytecode in combination with using the just-in-time compiler to translate
the heavy/frequently used instructions/java bytecode into machine code at runtime, to achieve better speed. In the early Java days,
when JIT didn't exist, Java programs ran more slowly. Of course, that also had to do with computers being slower.
So I'm basically asking if I got it right? What more is there to it? I would like to learn all the details
Basically, your interpretation is correct. JITs have improved a LOT since they first appeared, though, so that's another factor of the speedup. Search for "HotSpot" to find information about Sun's runtime environment and JIT.