RFR(S): 8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs
pavel.punegov at oracle.com
Wed Feb 17 15:52:17 UTC 2016
Do we need hasC1/2Compiler methods? There is a compiler.tstlibrary.CompilerUtils class that provides tests with available levels. There is an example of usage in test/compiler/compilercontrol/share/actions/CompileAction.java.
Also, what about JVMCI in case of hasC2Compiler? AFAIK it works with levels, but I don’t know if it will with such ifdef.
Otherwise, it looks good (not a Reviewer)
> On 16 Feb 2016, at 16:01, Nils Eliasson <nils.eliasson at oracle.com> wrote:
> Please review this change.
> The tests relied on C1 always being available and thus fails on C2 only server configurations. The fix adds two whitebox methods for checking if C1 and C2 is available, and then tests both compilers separately. Also adding Xmixed to the commandline since this test doesn't need Xcomp testing.
> Nils Eliasson
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev