<Ul> <Li> </Li> <Li> </Li> <Li> </Li> </Ul> <P> In computing, just - in - time (JIT) compilation, also known as dynamic translation, is a way of executing computer code that involves compilation during execution of a program--at run time--rather than prior to execution . Most often this consists of source code or more commonly bytecode translation to machine code, which is then executed directly . A system implementing a JIT compiler typically continuously analyses the code being executed and identifies parts of the code where the speedup gained from compilation or recompilation would outweigh the overhead of compiling that code . </P> <P> JIT compilation is a combination of the two traditional approaches to translation to machine code--ahead - of - time compilation (AOT), and interpretation--and combines some advantages and drawbacks of both . Roughly, JIT compilation combines the speed of compiled code with the flexibility of interpretation, with the overhead of an interpreter and the additional overhead of compiling (not just interpreting). JIT compilation is a form of dynamic compilation, and allows adaptive optimization such as dynamic recompilation--thus in theory JIT compilation can yield faster execution than static compilation . Interpretation and JIT compilation are particularly suited for dynamic programming languages, as the runtime system can handle late - bound data types and enforce security guarantees . </P> <P> JIT compilation can be applied to some programs, or can be used for certain capacities, particularly dynamic capacities such as regular expressions . For example, a text editor may compile a regular expression provided at runtime to machine code to allow faster matching--this cannot be done ahead of time, as the pattern is only provided at runtime . Several modern runtime environments rely on JIT compilation for high - speed code execution, including most implementations of Java, together with Microsoft's . NET Framework . Similarly, many regular expression libraries feature JIT compilation of regular expressions, either to bytecode or to machine code . JIT compilation is also used in some emulators, in order to translate machine code from one CPU architecture to another . </P>

Java creates code just before it is fully compiled to machine code