8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs

Add whitebox for checking available compilers

Reviewed-by: kvn
This commit is contained in:
Nils Eliasson 2016-02-25 10:43:04 +01:00
parent 2d969b234b
commit be1f49a6fd

View File

@ -207,7 +207,7 @@ public class WhiteBox {
// Compiler
public native int matchesMethod(Executable method, String pattern);
public native int matchesInline(Executable method, String pattern);
public native boolean shouldPrintAssembly(Executable method);
public native boolean shouldPrintAssembly(Executable method, int comp_level);
public native int deoptimizeFrames(boolean makeNotEntrant);
public native void deoptimizeAll();