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

Unable to acquire the JMH lock

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      A bunch of tests all failed in the same way:

      [2017-05-10T15:29:51.35] # Actual: /export/local/aurora/CommonData/TEST_JAVA_HOME/bin/java -Xcomp -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:+TieredCompilation org.openjdk.jmh.Main -f 1 oracle.micro.benchmarks.api.java.nio.ByteBuffers.testByteBufferSingleGetDouble
      [2017-05-10T15:29:51.35]
      [2017-05-10T15:30:06.18] ERROR: org.openjdk.jmh.runner.RunnerException: ERROR: Unable to acquire the JMH lock (/tmp/jmh.lock): already taken by another JMH instance, exiting. Use -Djmh.ignoreLock=true to forcefully continue.
      [2017-05-10T15:30:06.23] at org.openjdk.jmh.runner.Runner.run(Runner.java:202)
      [2017-05-10T15:30:06.23] at org.openjdk.jmh.Main.main(Main.java:71)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bpb Brian Burkhalter
                Reporter:
                jwilhelm Jesper Wilhelmsson
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: