• Post Reply Bookmark Topic Watch Topic
  • New Topic

Whats JIT(Just in time) comliper in JVM ?  RSS feed

 
aamit sharma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whats the work of JIT compiler in JVM and its advantages ? please reply
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

The JIT compiler is part of the JVM. I don't know the exact details about it but as far as I know your bytecode is mainly interpreted by the JVM when you start a program and the JIT compiler detects where it would be useful to compile parts of your program to native code as needed. Hence the name Just-in-Time-Compiler. It's even possible that it detects other ways for optimization during runtime and recompiles parts of your bytecode again.

Perhaps someone could explain in more detail...

Greetings
Marco
 
aamit sharma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Marco for your reply
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!