< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/hotspot/test/GraalOSRLockTest.java

Print this page
rev 52509 : [mq]: graal2

@@ -58,10 +58,11 @@
     private static boolean TestInSeparateThread = false;
     private static final String COMPILE_ONLY_FLAG = "-Xcomp";
 
     @BeforeClass
     public static void checkVMArguments() {
+        assumeManagementLibraryIsLoadable();
         /*
          * Note: The -Xcomp execution mode of the VM will stop most of the OSR test cases from
          * working as every method is compiled at level3 (followed by level4 on the second
          * invocation). The tests in this class are written in a way that they expect a method to be
          * executed at the invocation BCI with the interpreter and then perform an OSR to an
< prev index next >