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

JMH tests don't scale well when sharing output buffers

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • 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

            swati Swati Sharma
            drwhite Derek White
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: