8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs
Summary: Add whitebox for checking available compilers
Reviewed-by: kvn
--- a/test/lib/sun/hotspot/WhiteBox.java Mon Feb 22 08:04:12 2016 +0100
+++ b/test/lib/sun/hotspot/WhiteBox.java Thu Feb 25 10:43:04 2016 +0100
@@ -207,7 +207,7 @@
// 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();