Just-In-Time

Just-In-Time

« Back to Glossary Index
Email
Twitter
Visit Us
Follow Me
LINKEDIN
Share
Instagram

Just-In-Time (JIT) is a compilation strategy that dynamically compiles bytecode into machine language at runtime, effectively blurring the line between interpretation and compilation. JIT compilation can lead to significant performance improvements over traditional interpretation since it allows the runtime environment to optimize code for the machine and the application’s current state.

This technique is commonly used in various programming environments, including Java and .NET. The primary goal of JIT compilation is to offer the efficiency of pre-compiled code with the flexibility of interpretation. The Java Virtual Machine (JVM) uses JIT compilation to efficiently execute Java bytecode on any hardware platform.

JIT compilers make use of the extra information available at runtime, such as type information and profiling information (like which methods are called often), to produce code that runs faster than what a traditional ahead-of-time compiler can generate.

In a broader perspective, JIT is also a popular inventory management strategy that aligns raw-material orders from suppliers directly with production schedules. This minimizes the amount of inventory that must be kept on-hand, reducing inventory costs and increasing efficiency.

You may also like...