Skip to content

TechXcel.com - provides technical excellence...

Narrow screen resolution Wide screen resolution Increase font size Decrease font size Default font size default color orange color green color
You are here: Home arrow Tech FAQ arrow .NET Framework arrow What is JIT?
What is JIT? PDF Print E-mail
(2 votes)
Written by Chetankumar Akarte   
Sunday, 27 May 2007

What is JIT?


JIT (just-in-time) is a CLR’s (Common Language Runtime) compiler. The JIT Compiler function is responsible for compiling a method’s IL code into native CPU instructions. Because the IL(intermediate language) is being compiled "just in time," this component of the CLR is frequently referred to as a JITter or a JIT compiler.

When JIT called, the JIT Compiler function knows what method is being called and what type defines this method. The JITCompiler function then searches the defining assembly’s metadata for the called method’s IL. JITCompiler next verifies and compiles the IL code into native CPU instructions. The native CPU instructions are saved in a dynamically allocated block of memory. Then, JITCompiler goes back to the type’s internal data structure and replaces the address of the called method with the address of the block of memory containing the native CPU instructions. Finally, JITCompiler jumps to the code in the memory block. This code is then implementation means particular code get executed.

Comments (0)Add Comment

Write comment
You must be logged in to a comment. Please register if you do not have an account yet.

Copyright 2007. All Rights Reserved.
busy




Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Netscape!Technorati!StumbleUpon!Spurl!Wists!Simpy!Newsvine!Blinklist!Furl!Fark!Blogmarks!Yahoo!Smarking!Netvouz!Shadows!
RawSugar!Ma.gnolia!PlugIM!Squidoo!BlogMemes!FeedMeLinks!BlinkBits!Tailrank!linkaGoGo!
 

Who's Online

User Login

PayPal Donation

Enter Amount:

Syndicate

TechXcel's Friends

Tutorials Garden
Wicolorz
pixel2life

Text Link Add

Statistics

Members: 272
News: 60
Web Links: 6
Visitors: 322078

Google Seach

Google AdSense

TechXcel Referrals

TechXcel's Sponcer...