< prev index next >

test/compiler/jvmci/compilerToVM/InitializeConfigurationTest.java

Print this page

        

@@ -42,10 +42,11 @@
 import java.util.List;
 import java.util.NoSuchElementException;
 import java.util.Objects;
 import java.util.function.Consumer;
 import jdk.vm.ci.hotspot.CompilerToVMHelper;
+import jdk.vm.ci.hotspot.HotSpotJVMCIRuntime;
 import jdk.test.lib.Asserts;
 import jdk.test.lib.Utils;
 import sun.misc.Unsafe;
 
 public class InitializeConfigurationTest {

@@ -70,11 +71,11 @@
         Asserts.assertNE(o, 0L, "Got null address");
     }
 
     private void runTest(List<TestCase> tcases) {
         VMStructDataReader reader = new VMStructDataReader(
-                CompilerToVMHelper.initializeConfiguration());
+                CompilerToVMHelper.initializeConfiguration(HotSpotJVMCIRuntime.runtime().getConfig()));
         while (reader.hasNext()) {
             VMFieldData data = reader.next();
             for (TestCase tcase : tcases) {
                 tcase.check(data);
             }
< prev index next >