ttmind

Main Navigation

ttmind
  • jim-jams
  • Tech
  • Positive
Login

Login

Facebook Google

OR

Remember me Forgot password?

Don't have account? Signup here.

Sort by Categorys

.Net

PHP

Java

JavaScript

Database

Server

Client Side

Tools

Artificial Intelligence

Cloud

Hybrid Development

Event

Smart City

Education

Security

Scrum

Digital Marketing

APP Development

Business

Internet

Simulation

Art

Network

Microservices

Architecture

Technology

Leadership

    Top Articles

  • How Does Social Media Bring People Together?
    TTMind Author
  • How to read appSettings JSON from Class Library in ASP.NET Core
    Anil Shrestha
  • Printing Support In Asp.Net Core
    TTMind Author
  • HOW TO EXTRACT TEXT FROM IMAGE USING JAVASCRIPT (OCR with Tesseract.js)?
    Prakash Pokhrel
  • Images Upload REST API using ASP.NET Core
    Prakash Pokhrel
  • Related Topic

  • How to read appSettings JSON from Class Library in ASP.NET Core
  • Printing Support In Asp.Net Core
  • Images Upload REST API using ASP.NET Core
  • How to use IActionFilter, IAsyncActionFilter in ASP.NET Core MVC?
  • ASP.NET CORE - Blazor CRUD operation using ADO.NET
  • Tech
  • About Us
  • Contact Us
  • TechHelp
  • PositiveHelp
  • Jim-Jams Help
  • Terms & Conditions

© Copyright ttmind.com

Main Content

JIT(Just In Time) Compiler in .NET

.Net .NET Standard about 7 years ago || 6/7/2019 || 3.1 K View

  • Hide

JIT(Just In Time) Compiler in .NET

As we know that .Net Framework supports various Microsoft .Net Languages and all them use a Common Language Runtime rather than using a separate runtime for single one of languages. So, when .NET Common Language is installed in a computer it can support any language that is Microsoft .NET compatible. So, the purpose of JIT Compiler is to convert the .NET Language into the native code which is CPU specific. First the source code is converted to Intermediate Language by the language specific compiler which is further converted to the machine code by the JIT compiler.

Working of JIT Compiler:

 

JIT Types:

There are three types of JIT compilers and they are:

Pre-JIT Compiler: Compiles the entire code completely into native code in a single compilation cycle during the deployment of application. This compilation process is implemented at application deployment time.

Econo JIT Compiler: Compiles code segment  by segment when called and the unnecessary compiled methods are removed.

Normal JIT Compiler: Only compiles the segment of code when called which is placed in cache. When the same methods are called again the code stored in the cache is used for execution.

 

Benefits of JIT Compiler:

-Requires less memory usage as only the methods that are required during the compile time are compiled into machine code.

-Code optimization can be performed by the JIT compiler while the code is running.

-Page faults are reduced as the chance of having the methods required together are most probably in the same memory page.

Also Read: 

.NET 5: One Framework, All Platforms and Open Source

 Learn SQL Server Procedures

Git Commmands you must know

Facts about DataScience everyone should know

 

 

  • 0
  • 0
  • 0
    • Facebook
    • Twitter
    • Google +
    • LinkedIn

About author

Binod  Bhandari

Binod Bhandari

Life is not just about thrieving but all about living.

Reset Your Password
Enter your email address that you used to register. We'll send you an email with your username and a link to reset your password.

Quick Survey