Skip to main content

Hotspot documentation

2 replies [Last post]
Joined: 2003-06-10

Are there any available research papers which can shine some light on implementation of Hotspot ? I'm now trying to delve inside it's code, with help of -XX:+PrintIdeal, grep through cpp files etc, but having some general overview of compilation stages etc would help me a lot.

More technical document is, the better. If you have something what references actual cpp files, it would be just great. Or maybe you can open some of your internal documentation to wider public ?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2005-06-21

We don't have any real internal documentation on the server compiler.

This published paper will give you an overview of the compiler:

Mike Paleczny, Chrsitopher Vick & Cliff Click, The Java HotSpot Server Compiler. In [i]USENIX Proceedings of the Java Virtual Machine Research and Technology Symposium[/i], April 2001.

This somewhat older paper describes the origins of the server compiler, but our current implementation is somewhat different:

Cliff Click & Mike Paleczny. A Simple Graph-Based Intermediate Representation. [i]In ACM SIGPLAN Workshop on Intermediate Representations[/i], pp 35-49, Jan. 1995.

I hope this gives you a start.

Joined: 2003-06-10

Thank you for the info.

For people who would like to check these papers - they are available at links