

For example, the pre-built distributions available at AdoptOpenJDK provide your choice of HotSpot or OpenJ9 on some hardware.ĭiagram showing history of HotSpot & JRockit merging, and OpenJ9 both available in AdoptOpenJDK. Some JVM distributions built on OpenJDK replace HotSpot with OpenJ9 while still using the rest of OpenJDK such as the Java SE class libraries. HotSpot is now open-sourced through the OpenJDK project, available free-of-charge.Īnother such implementation in OpenJ9, developed by IBM, and now open-sourced through the Eclipse Foundation and available free-of-charge. After acquiring Sun, Oracle further evolved HotSpot by combining important parts of their competing product, JRockit.

HotSpot was developed at Sun as a commercial product.
#NOW GENERALLY OPENJDK AVAILABLE MICROSOFT SOURCE CODE#
Parts of the app are then selected to be fully-compiled as native code and cached, for much faster execution. HotSpot is one implementation of JIT technology that starts by running interpreted, and watches the actual performance of the app. Over the decades, there have been many implementations of the JVM. Or the bytecode can be fully compiled and cached, to run faster than through the interpreter, in a process known as Just-In-Time (JIT) compiling. This can be done on-the-fly by an interpreter. A JVM runs programs compiled to its imaginary instruction set written to storage as an intermediate representation known as bytecode.Īt runtime, the bytecode must be translated from the imaginary instruction set to the actual instruction set of the CPU of the host machine.

Note: AdoptOpenJDK has changed its name to Adoptium after moving to the Eclipse Foundation in late 2020-06.Ī Java Virtual Machine (JVM) is an imaginary computer that has never been physically built as hardware.
