< prev index next >

test/hotspot/jtreg/compiler/rangechecks/TestRangeCheckHoistingScaledIV.java

Print this page
*** 26,12 ***
   * @bug 8289996
   * @summary Test range check hoisting for some scaled iv at array index
   * @library /test/lib /
   * @requires vm.debug & vm.compiler2.enabled & (os.simpleArch == "x64" | os.arch == "aarch64")
   * @modules jdk.incubator.vector
!  * @compile --enable-preview -source ${jdk.version} TestRangeCheckHoistingScaledIV.java
!  * @run main/othervm --enable-preview compiler.rangechecks.TestRangeCheckHoistingScaledIV
   */
  
  package compiler.rangechecks;
  
  import java.lang.foreign.MemorySegment;
--- 26,12 ---
   * @bug 8289996
   * @summary Test range check hoisting for some scaled iv at array index
   * @library /test/lib /
   * @requires vm.debug & vm.compiler2.enabled & (os.simpleArch == "x64" | os.arch == "aarch64")
   * @modules jdk.incubator.vector
!  * @compile -source ${jdk.version} TestRangeCheckHoistingScaledIV.java
!  * @run main/othervm compiler.rangechecks.TestRangeCheckHoistingScaledIV
   */
  
  package compiler.rangechecks;
  
  import java.lang.foreign.MemorySegment;

*** 81,11 ***
          }
      }
  
      public static void main(String[] args) throws Exception {
          ProcessBuilder pb = ProcessTools.createTestJvm(
!                 "--enable-preview", "--add-modules", "jdk.incubator.vector",
                  "-Xbatch", "-XX:+TraceLoopPredicate", Launcher.class.getName());
          OutputAnalyzer analyzer = new OutputAnalyzer(pb.start());
          analyzer.shouldHaveExitValue(0);
          analyzer.outputTo(System.out);
  
--- 81,11 ---
          }
      }
  
      public static void main(String[] args) throws Exception {
          ProcessBuilder pb = ProcessTools.createTestJvm(
!                 "--add-modules", "jdk.incubator.vector",
                  "-Xbatch", "-XX:+TraceLoopPredicate", Launcher.class.getName());
          OutputAnalyzer analyzer = new OutputAnalyzer(pb.start());
          analyzer.shouldHaveExitValue(0);
          analyzer.outputTo(System.out);
  
< prev index next >