Sunteți pe pagina 1din 6

SYNOPSIS CSE-369

SYSTEM PROGRAMMING

TOPIC- Just-in Time Compiler


SUBMITTED TO:
Miss. Anjlee Verma

SUBMITTED BY: HARDEEP SINGH ROLLNO.-RK1R20A01 SECTION-K1R20 REG.NO.-11000410

ABSTRACT
My Term paper is based on the topic Just-In Time Compiler.This topic of term paper is related to concept language tranlators. In the term of computing, A translator is a computer program that translates a program written in a given programming language into a functionally equivalent program into a different language.As we know that compiler is a language translator that translates a high level language(source language) program to object program(target language) .
The Just-In-Time (JIT) compiler is a component of the Java Runtime Environment. It improves the performance of Java applications by compiling bytecodes to native machine code at run time. We are discuss the architecture of just in time compiler,multilevel recompilation and performance.We are also defining the advantages and disadvantages of just-in time compiler and their applications.

INTRODUCTION:- we know that compiler is a


language translator that translates a high level language(source language) program to object program(target language) .In computing, just-in-time compilation
(JIT), also known as dynamic translation, is a method to improve the runtime performance of computer programs based on byte code (virtual machine code). Since byte code is interpreted it executes more slowly than compiled machine code, unless it is actually compiled to machine code, which could be performed before the execution making the program loading slow or during the execution. The source
code that is written is compiled to an intermediate code called the bytecode (in Java) or the Common Intermediate Language (in .Net). Either the Java Virtual Machine or the Common Language Runtime (CLR) is used to compile the code to the intermediate form. When you execute the program, i.e. the intermediate code, the Just-In-Time (JIT) compiler comes into the picture. The job of the JIT compiler is to convert intermediate code in to the machine code or the native code for execution. With the JIT the code can be optimized to a particular operating system. This is one of the advantages of going for such code execution.

Let's look

closely at more optimizations done by JIT.

Inline methods - instead of calling method on an instance of the object it copies the method to caller code. The hot methods should be located as close to the caller as possible to prevent any overhead. Eliminate locks if monitor is not reachable from other threads Replace interface with direct method calls for method implemented only once to eliminate calling of virtual functions overhead Join adjacent synchronized blocks on the same object Eliminate dead code Drop memory write for non-volatile variables Remove prechecking NullPointerException and IndexOutOfBoundsException Et cetera

Contents:1. Introduction 2. Just-In Time Compilation 3. Just-In Time Compiler

a) Architecture System Of Just-In Time Compiler b)Multilevel Recompilation c)Optimization d) Performance 3.Advantages and Disadvatages Of Just-In Time Compiler 4.Applications Of Just-In Time Compiler 5.References

Contents:1. Introduction to parallel computing 2. Sources of Overhead in Parallel Programs

3. Performance metrics for parallel system based on outcome performance analysis:a) Execution time b) Total parallel overhead c) Speedup, Speedup bounds, Super-linear Speedups with examples d) Efficiency e) Cost 4. Examples based on parallel time, speed-ups, efficiency

References: 1. http://en.wikipedia.org/wiki/Just-intime_compilation

2. http://vb.netinformations.com/framework/just_in_time_compiler. htm

3. http://java.dzone.com/articles/justtime-compiler-jit 4. http://www.dotnet-guide.com/jit1.html 5.

S-ar putea să vă placă și