From Sun JRE performance tuning whitepaper, -XX:+AggressiveOpts
flag is described as:
Turns on point performance optimizations that are expected to be on by default in upcoming releases. The changes grouped by this flag are minor changes to JVM runtime compiled code and not distinct performance features (such as BiasedLocking and ParallelOldGC). This is a good flag to try the JVM engineering team's latest performance tweaks for upcoming releases. Note: this option is experimental! The specific optimizations enabled by this option can change from release to release and even build to build. You should reevaluate the effects of this option with prior to deploying a new release of Java.
My performance tests indicate that using -XX:+AggressiveOpts
actually helps my application, but since this is marked as experimental I want to be careful with it (I have been burned by it in the past). So, I want to know what flags are enabled by -XX:+AggressiveOpts
on 1.6u20. Typically I do this by looking at the method Arguments::set_aggressive_opts_flags()
in hotspot/src/share/vm/runtime/arguments.cpp
file, but I am unable to find the sources to 1.6u20 at http://download.java.net/jdk6/source/.
- Is there some other way to figure out what flags
-XX:+AggressiveOpts
enable? - Where can I get sources to 1.6u20 release?