Building tiered compiler
Thomas.Rodriguez at Sun.COM
Fri Nov 7 16:01:29 PST 2008
> I am trying to test Tiered compilation on build 36. I build hotspot
> make all
> I assume it should build tired compilers too. Here When I try it, it
> shows me it is still in either client or server mode: What am I
> doing wrong?
> [rgougol at localhost bin]$ ./java -XX:+TieredCompilation -version
> VM option '+TieredCompilation'
> openjdk version "1.7.0-internal-fastdebug"
> OpenJDK Runtime Environment (build 1.7.0-internal-fastdebug-
> OpenJDK Client VM (build 14.0-b05-fastdebug, mixed mode)
The 32-bit server compiler actually includes the current incarnation
of the tiered system. It's not suggested for real use since it's not
really done. The JVM doesn't report anything different when you turn
it on though.
> Second the above build is in the folder "linux-i586" . I think it
> should not the fastdebug build since I already have another build
> folder of "linux-i586-fastdebug" . Why is like that?
I'm assuming this is the result of a full jdk build? I don't have any
knowledge of why that would be.
> Third, in addition to a development build, I also want to make a
> product version that is fast a real JRE . I already benchmarked that
> the "make all" build is significantly slower than the "pre-built"
> JDK 7.
Again, no idea, though if you are ending up with a fastdebug libjvm.so
in a product jdk it will obviously be slow. java -version shouldn't
say anything about fastdebug or debug if you want fast.
> R. Gougol
> CS Graduate Student
> San Jose Sate University
More information about the hotspot-compiler-dev