Uploaded image for project: 'Aurora'
  1. Aurora
  2. AURORA-1796

Several JMH microbenchmarks are failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      In the context of https://reviews.apache.org/r/52921/ I tried to run our micro benchmarks:

      • UpdateStoreBenchmarks seems to work as expected
      • StatusUpdateBenchmark seems to work ax expected
      • TaskStoreBenchmarks seems wo work as expected otherwise. However, the ops/sec for the h2 based tests seems to be off by a great margin.
      • SchedulingBenchmarks seems to take for ever. I aborted after 4 hours
      • SnapshotBenchmarks fails with the exception below
      • ThriftApiBenchmarks fails with the exception below

      This ticket is about the last two failing benchmarks. The following exception is written for each benchmark, indicating a problem in guice:

      com.google.inject.internal.util.$ComputationException: java.lang.ArrayIndexOutOfBoundsException: 44204
             	at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:553)
             	at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:419)
             	at com.google.inject.internal.util.$CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
             	at com.google.inject.internal.util.$StackTraceElements.forMember(StackTraceElements.java:53)
             	at com.google.inject.internal.Errors.formatInjectionPoint(Errors.java:716)
             	at com.google.inject.internal.Errors.formatSource(Errors.java:678)
             	at com.google.inject.internal.Errors.format(Errors.java:555)
             	at com.google.inject.CreationException.getMessage(CreationException.java:48)
             	at java.lang.Throwable.getLocalizedMessage(Throwable.java:391)
             	at java.lang.Throwable.toString(Throwable.java:480)
             	at java.lang.Throwable.<init>(Throwable.java:311)
             	at java.lang.Exception.<init>(Exception.java:102)
             	at java.lang.RuntimeException.<init>(RuntimeException.java:96)
             	at org.openjdk.jmh.runner.BenchmarkException.<init>(BenchmarkException.java:34)
             	at org.openjdk.jmh.runner.BenchmarkHandler.runIteration(BenchmarkHandler.java:438)
             	at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:263)
             	at org.openjdk.jmh.runner.BaseRunner.runBenchmark(BaseRunner.java:235)
             	at org.openjdk.jmh.runner.BaseRunner.doSingle(BaseRunner.java:142)
             	at org.openjdk.jmh.runner.BaseRunner.runBenchmarksForked(BaseRunner.java:76)
             	at org.openjdk.jmh.runner.ForkedRunner.run(ForkedRunner.java:72)
             	at org.openjdk.jmh.runner.ForkedMain.main(ForkedMain.java:84)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 44204
             	at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
             	at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
             	at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
             	at com.google.inject.internal.util.$LineNumbers.<init>(LineNumbers.java:62)
             	at com.google.inject.internal.util.$StackTraceElements$1.apply(StackTraceElements.java:36)
             	at com.google.inject.internal.util.$StackTraceElements$1.apply(StackTraceElements.java:33)
             	at com.google.inject.internal.util.$MapMaker$StrategyImpl.compute(MapMaker.java:549)
             	... 20 more
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            StephanErb Stephan Erb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: