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

Application/microbenchmarks test gets errors in JMH or StackOverflow

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: tbd_minor
    • Component/s: core-libs
    • Labels:
      None

      Description

      applications/microbenchmarks/api/Test.java#id329,[tier5],[linux-x64-debug] failed in tier5 run.

      The logfile has:
      ----------System.err:(59/4081)----------
       stdout: [# WARNING: Unable to acquire the JMH lock (/tmp/jmh.lock): already taken by another JMH instance, ignored by user's request.

      and some

      # Benchmark mode: Throughput, ops/time
      # Benchmark: oracle.micro.benchmarks.api.java.util.ArraysEquals.testByteArrayEqualsTrue

      ];
       stderr: [Exception in thread "process reaper" java.lang.StackOverflowError
      at java.base/java.util.concurrent.ConcurrentHashMap.fullAddCount(ConcurrentHashMap.java:2591)

      and then

      Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.util.Random
      at java.base/java.io.File$TempDirectory.<clinit>(File.java:1916)
      at java.base/java.io.File.createTempFile(File.java:2072)
      at java.base/java.io.File.createTempFile(File.java:2136)
      at org.openjdk.jmh.util.FileUtils.tempFile(FileUtils.java:43)
      at org.openjdk.jmh.util.FileUtils.createTempFileWithLines(FileUtils.java:83)

      Which looks like an intermittent test execution error, but I've seen this multiple times.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rriggs Roger Riggs
                Reporter:
                coleenp Coleen Phillimore
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: