Lably
Skip to content

HotSpot

Java virtual machine

  • 3 min read
  • 4 chapters
  • 2 labs on Lably

Learn it on Lably

History

The Java HotSpot Performance Engine was released on April 27, 1999, built on technologies from an implementation of the programming language Smalltalk named Strongtalk, originally developed by Longview Technologies, which traded as Animorphic. The Longview virtual machine was based on the Self virtual machine, with an interpreter replacing the fast-and-dumb first compiler. When Sun cancelled the Self project, two key people, Urs Hölzle and Lars Bak left Sun to start Longview. In 1997, Sun Microsystems purchased Animorphic.

Shortly after acquiring Animorphic, Sun decided to write a new stronger just-in-time (JIT) compiler for the Java virtual machine, named HotSpot server compiler (internal name C2), which was initially developed by Clifford Click and was an extension of his PhD thesis on optimizing compilers. The compiler name HotSpot is derived from the software's behavior: as it runs Java bytecode, as with the Self VM, HotSpot continually analyzes the program's performance for hot spots which are executed often or repeatedly. These are then targeted for optimizing, leading to high-performance execution with a minimum of overhead for less performance-critical code. In one report, the JVM beat some C++ or C code in some benchmarks.

Initially available as an add-on for Java 1.2, HotSpot became the default Sun JVM in Java 1.3.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication