- HotSpot
Infobox Software
name = HotSpot
logo =
caption =
developer =Sun Microsystems
latest release version = 1.6
operating system =Cross-platform
genre =Java Virtual Machine
license =GNU General Public License
website = [http://openjdk.java.net/groups/hotspot/ Sun's OpenJDK Hotspot page]HotSpot is the primary
Java Virtual Machine for desktops and servers produced bySun Microsystems . It features techniques such asjust-in-time compilation andadaptive optimization designed to improve performance.History
HotSpot, first released
April 27 ,1999 , was originally developed by Longview Technologies, LLC which was doing business asAnimorphic , a small startup company formed in 1994. In 1997, Longview Technologies, LLC (DBA Animorphic) was purchased bySun Microsystems [cite web
url=http://findarticles.com/p/articles/mi_m0CGN/is_n3348/ai_20359903/pg_1
title=Sun's Gosling Previews Hotspot Java Virtual Machine
publisher=ComputerGram
date=1998-02-13
accessdate=2008-04-20] . Initially available as an add-on for Java 1.2, HotSpot became the default Sun JVM in Java 1.3 [cite web
url=http://www.sun.com/smi/Press/sunflash/2000-05/sunflash.20000508.3.xml
title=Sun Microsystems releases fastest client-side Java platform to date
publisher=Sun Microsystems
date=2000-05-08
accessdate=2007-10-03] .Its name derives from the fact that as it runs Java
byte-code , it continually analyzes the program's performance for "hot spots" which are frequently or repeatedly executed. These are then targeted for optimization, leading to high performance execution with a minimum of overhead for less performance-critical code. HotSpot is widely acclaimed as providing the best performance in its class of JVM.Fact|date=October 2007 In theory, though rarely in practice, it is possible foradaptive optimization of a JVM to exceed the performance of hand-codedC++ orassembly language code [cite web
url=http://scribblethink.org/Computer/javaCbenchmark.html
title= Performance of Java versus C++
last=Lewis|first=J.P.
date=2004
accessdate=2007-10-03] .Features
Sun's
JRE features 2 virtual machines , one called "Client" and the other "Server". The Client version is tuned for quick loading. It makes use of interpretation, compiling only often-run methods. The Server version loads more slowly, putting more effort into producing highly optimized JIT compilations, that yield higher performance.The HotSpot Java Virtual Machine is written in
C++ . As stated in HotSpot web page, the code contains approximately 250,000 lines of code [cite web
url=http://openjdk.java.net/groups/hotspot/
title= The HotSpot Group
publisher=Sun Microsystems
quote="There are nearly 1500 C/C++ header and source files, comprising almost 250,000 lines of code"
date=2007
accessdate=2007-10-03] . Hotspot provides:
* A class loader,
* A bytecode interpreter,
* "Client" and a "Server" virtual machines, optimised for their respective uses
* Several garbage collectors,
* A set of supporting runtime libraries.License
On
13 November 2006 , the Sun JVM and JDK were made available [cite web
url=http://www.sun.com/2006-1113/feature/story.jsp
title= Sun Opens Java
publisher=Sun Microsystems
date=2006-11-13
accessdate=2007-10-03] under theGPL license (see [http://openjdk.java.net/groups/hotspot/ Sun's OpenJDK Hotspot page] ).upported platforms
As for the whole JDK, HotSpot is currently supported by Sun on
Microsoft Windows ,Linux , and Solaris [cite web
url=http://java.sun.com/javase/6/webnotes/install/system-configurations.html
title=Supported System Configurations
Publisher=Sun Microsystems
accessdate=2008-01-26] . Ports are also available by third parties forMac OS X and various otherUnix Operating system s.Ports of HotSpot are difficult because the code, while primarily written in
C++ , contain a lot of assembly [cite web
url=http://gbenson.livejournal.com/2007/11/16/
title=Gary's guide to porting IcedTea
first=Benson|last=Gary
date=2007-11-06
accessdate=2008-01-26] . TheIcedTea project has developed a generic port of the HotSpot interpreter called "zero-assembler Hotspot" (or "zero"), with almost no assembly code. This port is intended to allow the interpreter part of HotSpot to be very easily adapted to anyLinux processor architecture, potentially making it infinitely portable. The code of "zero-assembler Hotspot" is used for all the non-x86 ports of HotSpot (PPC, IA64, S390 and ARM) since version 1.6 [cite web
url=http://gbenson.livejournal.com/2008/02/01/
title=1st February 2008
first=Benson|last=Gary
date=2008-02-01
accessdate=2008-02-03] [cite web
url=http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2008-January/001085.html
title=Making zero-assembler the default on ppc
first=Haley|last=Andrew
date=2008-01-31
accessdate=2008-02-03] [cite web
url=http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2008-February/001172.html
title=IcedTea 1.6 Released with Zero-assembler and JNLP support!
first=Angel|last=Lilian
publisher=Red hat
date=2008-02-13
accessdate=2008-02-13] .Gary Benson, an IcedTea developer, is now developing a platform-independent Just-in-time compiler called "Shark" for HotSpot, to complement "zero" [cite web
url=http://gbenson.net/?p=67
title= 31 March 2008
first=Benson|last=Gary
publisher=Red hat
date=2008-03-31
accessdate=2008-05-30] [cite web
url=http://gbenson.net/?p=80
title= 28 May 2008
first=Benson|last=Gary
publisher=Red hat
date=2008-05-28
quote="Shark is a platform-independent JIT for HotSpot, to complement the zero-assembler interpreter we’ve been using"
accessdate=2008-05-30] . Achievement of this work would make theJava Virtual Machine independent of the CPU architecture.See also
*
List of Java virtual machines
*Java performance
*OpenJDK
*Da Vinci Machine , a starting Sun project aiming to prototype the extension of the JVM to add support for dynamic languages.References
External links
* [http://openjdk.java.net/groups/hotspot/ Sun's OpenJDK Hotspot page]
* [http://java.sun.com/products/hotspot/ Sun's HotSpot information page]
* [http://java.sun.com/products/hotspot/whitepaper.html HotSpot performance whitepaper]
* [http://java.sun.com/docs/hotspot/VMOptions.html A list of HotSpot VMOptions]
* [http://java.sun.com/docs/books/vmspec/ The Java Virtual Machine Specification]
* [http://www.cs.ucsb.edu/projects/strongtalk/pages/history.html The history of the original Strongtalk/HotSpot team]
* [http://www.sun.com/smi/Press/sunflash/1999-04/sunflash.990427.6.html Sun announces availability of the Java Hotspot Performance Engine]
Wikimedia Foundation. 2010.