Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JIT vs HotSpot

 
raj malhotra
Ranch Hand
Posts: 288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell What is the difference between JIT and HotSpot.And What advantage does each one has over other?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"JIT compiler" means "Just In Time compiler". It is the part of the JVM that compiles Java bytecode to native machine code at runtime, to make your Java program run faster.

HotSpot is the name of Sun's JIT compiler which is included in Sun's JVM.

So, HotSpot is a JIT compiler. Your question is like asking "What is the difference between an airplane and a Boeing?".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic