RFR: 8343305: Remove Indify-dependent microbenchmarks

Claes Redestad redestad at openjdk.org
Thu Oct 31 13:34:57 UTC 2024


Benchmarks using Indify was added to the JMH microbenchmarks corpus in the JDK 8 timeframe. This adds overhead to the microbenchmarks build and has been blocking/slowing progress on some indy-based prototyping as the indify tool itself may not be 100% forward compatible.

I suggest we remove the Indify pass from the OpenJDK JMH test module and remove the microbenchmarks which depend on the tool. 

These microbenchmarks will still available to build and run out of the standalone https://github.com/openjdk/jmh-jdk-microbenchmarks project:

https://github.com/openjdk/jmh-jdk-microbenchmarks/blob/master/micros-jdk8/src/main/java/org/openjdk/bench/java/lang/invoke/CallSiteSetTarget.java
https://github.com/openjdk/jmh-jdk-microbenchmarks/blob/master/micros-jdk8/src/main/java/org/openjdk/bench/java/lang/invoke/CallSiteSetTargetSelf.java
https://github.com/openjdk/jmh-jdk-microbenchmarks/blob/master/micros-jdk8/src/main/java/org/openjdk/bench/java/lang/invoke/CallSiteStable.java

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

Commit messages:
 - 8343305: Remove Indify-dependent microbenchmarks

Changes: https://git.openjdk.org/jdk/pull/21807/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21807&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343305
  Stats: 562 lines in 4 files changed: 0 ins; 561 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21807.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21807/head:pull/21807

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


More information about the build-dev mailing list