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

Indify-dependent microbenchmarks are broken

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12, 13
    • Fix Version/s: 13
    • Component/s: performance
    • Labels:
      None
    • Resolved In Build:
      b23

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: