# HG changeset patch # User neliasso # Date 1456393384 -3600 # Node ID 2f8f83777f9dff278a9ac88a852ea8112c3abec8 # Parent 7f00be5f5af6e4a0442fcc219caaaeedf39074bc 8148159: [TESTBUG] TestCompilerDirectivesCompatibility tests fails on non-tiered server VMs Summary: Add whitebox for checking available compilers Reviewed-by: kvn diff -r 7f00be5f5af6 -r 2f8f83777f9d 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();