RFR(M): 8150054: CompilerControl: add Xmixed for execution
nils.eliasson at oracle.com
Tue Mar 15 13:44:03 UTC 2016
Please review this improvement of the compiler control tests. There are
many files in the diff but only three kind of changes:
1) Most of the test spawn a separate VM that it can control with flags
and diagnostic commands. The launching VM just need to setup the test
environment and is not part of the test. We can therefore change "@run
main/othervm" to " @run driver". A driver can not have any flags and are
not affected by any flag rotation.
2) Change the "@run main ClassFileInstaller sun.hotspot.WhiteBox " to
driver too. This could be done for all the ~400 test but I have limited
myself to the compiler control test in this bug. In -Xcomp-batches this
saves ~5 seconds per ClassFileInstaller invocation on a fast machine.
3) Add the -Xmixed flag to Scenario.java to prevent -Xcomp from
interfering with testing printing and logging. It causes long run times
and huge logs.
These three changes together save more than 10 minutes of test time on a
-Xcomp-batch on a fast x64 workstation.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev