On Sat, 1 Jul 2023 07:53:17 GMT, Swati Sharma <d...@openjdk.org> wrote:

> The below benchmark files have scaling issues due to cache contention and 
> leads to poor scaling when run on multiple threads. The patch sets the scope 
> from benchmark level to thread level 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/vm/compiler/ArrayFill.java
> - org/openjdk/bench/vm/compiler/IndexVector.java
> 
> Also removing the static scope for variables in 
> org/openjdk/bench/jdk/incubator/vector/VectorFPtoIntCastOperations.java for 
> better scaling.
> 
> Please review and share your feedback.
> 
> Thanks,
> Swati

This pull request has now been integrated.

Changeset: a03a3a43
Author:    Swati Sharma <swati.sha...@intel.com>
Committer: Sandhya Viswanathan <sviswanat...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/a03a3a43bb16ddc7df78f64e07db823224bde6fb
Stats:     17 lines in 12 files changed: 0 ins; 0 del; 17 mod

8311178: JMH tests don't scale well when sharing output buffers

Co-authored-by: Vladimir Ivanov <vaiva...@openjdk.org>
Reviewed-by: ecaspole, sviswanathan, mli

-------------

PR: https://git.openjdk.org/jdk/pull/14746

Reply via email to