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

Unable to acquire the JMH lock

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • None
    • core-libs

      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)

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

              Created:
              Updated:
              Resolved: