< prev index next >

test/hotspot/jtreg/compiler/loopopts/superword/TestIndependentPacksWithCyclicDependency.java

Print this page
@@ -20,10 +20,15 @@
   * or visit www.oracle.com if you need additional information or have any
   * questions.
   *
   */
  
+ // Note Lilliput:
+ // Tests rely on array members starting at the same offset, otherwise vectorization does not kick in. Not true
+ // for Lilliput.
+ // For now I just enforce -CompactObjectHeaders.
+ 
  /*
   * @test
   * @bug 8304042
   * @summary Test some examples with independent packs with cyclic dependency
   *          between the packs.

@@ -76,11 +81,11 @@
      public static void main(String args[]) {
          TestFramework.runWithFlags("--add-modules", "java.base", "--add-exports", "java.base/jdk.internal.misc=ALL-UNNAMED",
                                     "-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::test*",
                                     "-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::verify",
                                     "-XX:CompileCommand=compileonly,compiler.loopopts.superword.TestIndependentPacksWithCyclicDependency::init",
-                                    "-XX:LoopUnrollLimit=1000");
+                                    "-XX:LoopUnrollLimit=1000", "-XX:+UnlockExperimentalVMOptions", "-XX:-UseCompactObjectHeaders");
      }
  
      TestIndependentPacksWithCyclicDependency() {
          // compute the gold standard in interpreter mode
          init(goldI0, goldF0);
< prev index next >