Application/microbenchmarks test gets errors in JMH or StackOverflow

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P3
    • tbd
    • Affects Version/s: None
    • Component/s: core-libs
    • None

      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.

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

              Created:
              Updated:
              Resolved: