- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    25
- 
        b13
- 
        generic
- 
        generic
                    The newly added JMH test jdk.incubator.vector.VectorCommutativeOperSharingBenchmark run fails.
The test command:
time make test MICRO="FORK=1;WARMUP_ITER=2" CONF=release TEST="micro:org.openjdk.bench.jdk.incubator.vector.VectorCommutativeOperSharingBenchmark.commutativeByteOperationShairing"
The test log snippet:
java.lang.NoClassDefFoundError: jdk/incubator/vector/Vector
at org.openjdk.bench.jdk.incubator.vector.jmh_generated.VectorCommutativeOperSharingBenchmark_commutativeByteOperationShairing_jmhTest._jmh_tryInit_f_vectorcommutativeopersharingbenchmark0_0(VectorCommutativeOperSharingBenchmark_commutativeByteOperationShairing_jmhTest.java:339)
at org.openjdk.bench.jdk.incubator.vector.jmh_generated.VectorCommutativeOperSharingBenchmark_commutativeByteOperationShairing_jmhTest.commutativeByteOperationShairing_Throughput(VectorCommutativeOperSharingBenchmark_commutativeByteOperationShairing_jmhTest.java:71)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:527)
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:504)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
at java.base/java.lang.Thread.run(Thread.java:1447)
Caused by: java.lang.ClassNotFoundException: jdk.incubator.vector.Vector
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 12 more
The test command:
time make test MICRO="FORK=1;WARMUP_ITER=2" CONF=release TEST="micro:org.openjdk.bench.jdk.incubator.vector.VectorCommutativeOperSharingBenchmark.commutativeByteOperationShairing"
The test log snippet:
java.lang.NoClassDefFoundError: jdk/incubator/vector/Vector
at org.openjdk.bench.jdk.incubator.vector.jmh_generated.VectorCommutativeOperSharingBenchmark_commutativeByteOperationShairing_jmhTest._jmh_tryInit_f_vectorcommutativeopersharingbenchmark0_0(VectorCommutativeOperSharingBenchmark_commutativeByteOperationShairing_jmhTest.java:339)
at org.openjdk.bench.jdk.incubator.vector.jmh_generated.VectorCommutativeOperSharingBenchmark_commutativeByteOperationShairing_jmhTest.commutativeByteOperationShairing_Throughput(VectorCommutativeOperSharingBenchmark_commutativeByteOperationShairing_jmhTest.java:71)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:527)
at org.openjdk.jmh.runner.BenchmarkHandler$BenchmarkTask.call(BenchmarkHandler.java:504)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
at java.base/java.lang.Thread.run(Thread.java:1447)
Caused by: java.lang.ClassNotFoundException: jdk.incubator.vector.Vector
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:580)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
... 12 more
- caused by
- 
                    JDK-8342393 Promote commutative vector IR node sharing -           
- Resolved
 
-         
- links to
- 
                     Commit(master)
        openjdk/jdk/acc6f19c Commit(master)
        openjdk/jdk/acc6f19c
- 
                     Review(master)
        openjdk/jdk/23761 Review(master)
        openjdk/jdk/23761