8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs
authorneliasso
Thu, 25 Feb 2016 10:43:04 +0100
changeset 36287 2f8f83777f9d
parent 36286 7f00be5f5af6
child 36288 0114407501b7
8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs Summary: Add whitebox for checking available compilers Reviewed-by: kvn
test/lib/sun/hotspot/WhiteBox.java
--- 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();