JMH tests don't scale well when sharing output buffers

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b06

      The below benchmarks have scaling issues due to cache contention and leads to poor scaling when run on multiple threads. The scope should be set at thread level in the below benchmark files to fix the issue:
      org/openjdk/bench/java/io/DataOutputStreamTest.java
      org/openjdk/bench/java/lang/ArrayCopyObject.java
      org/openjdk/bench/java/lang/ArrayFiddle.java
      org/openjdk/bench/java/time/format/DateTimeFormatterBench.java
      org/openjdk/bench/jdk/incubator/vector/IndexInRangeBenchmark.java
      org/openjdk/bench/jdk/incubator/vector/MemorySegmentVectorAccess.java
      org/openjdk/bench/jdk/incubator/vector/StoreMaskedBenchmark.java
      org/openjdk/bench/jdk/incubator/vector/StoreMaskedIOOBEBenchmark.java
      org/openjdk/bench/jdk/incubator/vector/VectorFPtoIntCastOperations.java
      org/openjdk/bench/vm/compiler/ArrayFill.java
      org/openjdk/bench/vm/compiler/IndexVector.java

            Assignee:
            Swati Sharma
            Reporter:
            Derek White
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: