When does JIT plays its role. Does JIT come along with jdk? If so then what is role of interpreter?

Dont know.

Showing Answers 1 - 9 of 9 Answers

KingJack

  • Oct 24th, 2005
 

JIT - Just In Time compiler, is embedded in the web browser, like the internet explorer!

The interpreter for Java, which executes the Byte Codes, is the JVM - Java Virtual Machine.

JIT is also a part of the JVM, and it compiles bytecodes into real-time code, when needed as on demand. The entire Java program is not compiled into an executable code at once, coz there need to performed various run-time checks. However, JIT compiles code as and when needed, during execution. To put it simply, the JIT compiler is faster than the JVM.

JIT comes into play when you execute applications written in JavaScript.

Hope I have given a clear explanation!

 

 

  Was this answer useful?  Yes

subhashish

  • Oct 27th, 2005
 

JIT is java interpreter. The running of a java program is a two step process

Step-1 : The source code is compiled using the Java compiler which generates bytecode

Step-2 : The bytecode is then transfered to JIT which changes it into object code adding the configurations of the machine in which the code is to be executed

Yes JIT comes along with JDK

  Was this answer useful?  Yes

shanthini

  • Nov 7th, 2005
 

JIT- just in time compiler

 Yes, it comes along with the java kit, actully it compiles the program.

 Actully the interpreter converts the high level lanhuage into machine level language, one by one.

 Since the java has a lot of run time checks the compiled java code is interpreted ie converted in to machine level language one by one.

Remember ull do java compilation first and then interpretation

javac- compiling the java code

java- interpreting

  Was this answer useful?  Yes

RamaChandra

  • Nov 8th, 2005
 

Through JIT compilation, a bytecode method is translated into a native method on the fly, so as to remove the interpretation overhead.

  Was this answer useful?  Yes

Ankita

  • Nov 10th, 2005
 

When the JIT(Just In Time) compiler is a part of the JVM,it compiles byte code into executable code,on a piece by piece basis. Its not possible to compile an entire Java programinto executable code all at once,because Java performs various runtime checks that can be done only at runtime.

  Was this answer useful?  Yes

gagan2914

  • Nov 11th, 2005
 

JIT comes along with JDK.JIT is just in time compiler which basically used to compile java code and create .class file for ur java code.Interpereter basically used to convert ur .class file in to machine excutable code which is run by JVM

  Was this answer useful?  Yes

krishna

  • Dec 5th, 2005
 

  JIT is just in time compiler , which comes with jdk.

java compiler converts source code into byte code .

java interpreter converts bytecode into machine code.

The process one by one,it takes more time because the

have more check types in runtime.

    so we use JIT compiler , to converts bytecode to machine code as

bunch(some amount) of bytecode into machine code at one time, which improves the performance of jvm.

  Was this answer useful?  Yes

Sunder

  • Jan 12th, 2006
 

no

  Was this answer useful?  Yes

srinivas

  • May 17th, 2006
 

hi,

JIT(just in time)compiler is comes with jdk only.Along with Interrpreter

ther will be JIT compiler which enhances speed.Interpreter excutes individual

statements. where as JIT excutes repeated statements.(i.e recursively excuted statements.

ok baye...................

keeps smiling and mailing

bora_srinivasarao@yahoo.co.in

if any want java material & doubts regarding j2se ,j2ee plz send mail to

bora_srinivasarao@yahoo.co.in

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions