questions about openjdk & hotspot

Erik Trimble Erik.Trimble at Sun.COM
Sun Apr 26 19:10:35 PDT 2009

lianshun Liu wrote:
> Hi,
> I hava two questions about OpenJDK.
> 1. How many lines of source code does OpenJDK have?
> 2. In hotspot, there are two interpreters, one is template-interpreter
> and the other is C++-interpreter, what's the diffrance between them?
> Why there are two ones?
> Thanks,
> Lianshun Liu

A quick run through the code shows this for the entire Sun JDK 7 (which
is a superset of OpenJDK, but should be close enough). Including comment
and blank lines, the rough total is about 11 million lines of code.

As to your second question:

See here:

Erik Trimble
Java System Support
Mailstop:  usca22-123
Phone:  x17195
Santa Clara, CA

More information about the hotspot-dev mailing list