Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8221543

Indify-dependent microbenchmarks are broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 13
    • 12, 13
    • performance
    • None
    • b23

      Indify is a command line utility to transform some benchmarks as a build step in jmh-jdk-microbenchmarks (http://hg.openjdk.java.net/code-tools/jmh-jdk-microbenchmarks/file/a644f3612e8d/micros-jdk8/src/main/java/org/openjdk/bench/java/lang/invoke/Indify.java) but this wasn't ported over to JEP 230. As a consequence several microbenchmarks are failing with AssertionError. There's also a bug in that the test runner writes this off as a pass.

      We should either port over Indify to JEP-230, remove these microbenchmarks, or consider alternative translation strategies that don't require a post-compilation class rewrite step.

      org.openjdk.bench.java.lang.invoke.CallSiteSetTarget.testMutable
      org.openjdk.bench.java.lang.invoke.CallSiteSetTarget.testVolatile
      org.openjdk.bench.java.lang.invoke.CallSiteSetTargetSelf.testMutable
      org.openjdk.bench.java.lang.invoke.CallSiteSetTargetSelf.testVolatile
      org.openjdk.bench.java.lang.invoke.CallSiteStable.testConstant
      org.openjdk.bench.java.lang.invoke.CallSiteStable.testMutable
      org.openjdk.bench.java.lang.invoke.CallSiteStable.testVolatile

            erikj Erik Joelsson
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: