This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes JIT  vs  HotSpot Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JIT  vs  HotSpot" Watch "JIT  vs  HotSpot" New topic

JIT vs HotSpot

raj malhotra
Ranch Hand

Joined: Feb 22, 2007
Posts: 288
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

Joined: Aug 16, 2005
Posts: 15041

"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?".

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: JIT vs HotSpot
It's not a secret anymore!