RFR: 8350049: [JMH] Float16OperationsBenchmark fails java.lang.NoClassDefFoundError

SendaoYan syan at openjdk.org
Fri Feb 14 02:28:49 UTC 2025


Hi all,

The newly added JMH tests 'org.openjdk.bench.jdk.incubator.vector.VectorMultiplyOptBenchmark' fails "java.lang.NoClassDefFoundError: jdk/incubator/vector/Float16" by below test command:


make test MICRO="FORK=1;WARMUP_ITER=2" TEST="micro:org.openjdk.bench.jdk.incubator.vector.VectorMultiplyOptBenchmark.test_bm_pattern1"


The `@Fork(jvmArgsPrepend = ..)` in microbenchmarks should replaced as `@Fork(jvmArgs = ..)` since [JDK-8343345](https://bugs.openjdk.org/browse/JDK-8343345). Change has been verified locally, test-fix only, no risk.

-------------

Commit messages:
 - 8350049: [JMH] Float16OperationsBenchmark fails java.lang.NoClassDefFoundError

Changes: https://git.openjdk.org/jdk/pull/23624/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23624&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350049
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/23624.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23624/head:pull/23624

PR: https://git.openjdk.org/jdk/pull/23624


More information about the core-libs-dev mailing list