I’m confused with JIT compiler,
- What is JIT compiler?
- JIT compiler compiles byte codes before each execution or each time JVM loads?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
JIT stands for “Just In Time”. It’s a compiler that translates Java bytecode to native machine code as your program runs.
Sun’s JIT does not compile all your bytecode up front each time you run a Java program; it contains some very sophisticated logic to decide when to compile parts of the bytecode, one of the criteria it uses is how often the code is executed.
See Just-in-time compilation and HotSpot (Wikipedia) for more details.