ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

Just-In-Time (JIT)

Definition - What does Just-In-Time (JIT) mean?

Just-in-time (JIT) is a term used to describe an action such as compilation or object activation only at the time when it becomes necessary.This term is associated mostly with software compilation. JIT compilation is mainly designed for high-speed code execution and support for multiple platforms.

JIT compilation originated from the need for a compiler to assume responsibilities in addition to just conversion to object code (machine instructions) from a high-level language. JIT compilers facilitate portability to multiple operating systems and hardware platforms. Languages such as Smalltalk, Pascal Java and C# support JIT compilation.

Techopedia explains Just-In-Time (JIT)

There are three types of JIT compilers:

  1. Pre-JIT: Compiles the entire source code during compilation and is used at the time of deployment.
  2. Econo-JIT:Compiles methods that are called during run time.
  3. Normal-JIT: Compiles only the methods called during run time (at the instant of their first call) and stores the compiled code in cache to be used in subsequent calls.

The disadvantages to using JIT compilation are additional startup time during the first call, increased use of cache memory and the inability to share code across multiple processes.

Ahead-of-time (AOT) compilation can overcome the issues faced with JIT compilation. It precompiles the entire Microsoft intermediate language image into machine code without the need for runtime compilation and saves the compiled code to a file on a disk. The compiled code is only used when there is a need for faster startup of the application.

Adaptive optimization is an alternative to JIT compilation that is used in Java.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.