This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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: 15359
39
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