RFR: 8314085: Fixing scope from benchmark to thread for JMH tests having shared state

Sandhya Viswanathan sviswanathan at openjdk.org
Tue Sep 5 15:38:50 UTC 2023


On Thu, 10 Aug 2023 15:30:19 GMT, Swati Sharma <duke at openjdk.org> wrote:

> In addition to the issue [JDK-8311178](https://bugs.openjdk.org/browse/JDK-8311178), logically fixing the scope from benchmark to thread for below benchmark files having shared state, also which fixes few of the benchmarks scalability problems.
> 
> org/openjdk/bench/java/io/DataInputStreamTest.java
> org/openjdk/bench/java/lang/ArrayClone.java
> org/openjdk/bench/java/lang/StringCompareToDifferentLength.java
> org/openjdk/bench/java/lang/StringCompareToIgnoreCase.java
> org/openjdk/bench/java/lang/StringComparisons.java
> org/openjdk/bench/java/lang/StringEquals.java
> org/openjdk/bench/java/lang/StringFormat.java
> org/openjdk/bench/java/lang/StringReplace.java
> org/openjdk/bench/java/lang/StringSubstring.java
> org/openjdk/bench/java/lang/StringTemplateFMT.java
> org/openjdk/bench/java/lang/constant/MethodTypeDescFactories.java
> org/openjdk/bench/java/lang/constant/ReferenceClassDescResolve.java
> org/openjdk/bench/java/lang/invoke/MethodHandlesConstant.java
> org/openjdk/bench/java/lang/invoke/MethodHandlesIdentity.java
> org/openjdk/bench/java/lang/invoke/MethodHandlesThrowException.java
> org/openjdk/bench/java/lang/invoke/MethodTypeAppendParams.java
> org/openjdk/bench/java/lang/invoke/MethodTypeChangeParam.java
> org/openjdk/bench/java/lang/invoke/MethodTypeChangeReturn.java
> org/openjdk/bench/java/lang/invoke/MethodTypeDropParams.java
> org/openjdk/bench/java/lang/invoke/MethodTypeGenerify.java
> org/openjdk/bench/java/lang/invoke/MethodTypeInsertParams.java
> org/openjdk/bench/java/security/CipherSuiteBench.java
> org/openjdk/bench/java/time/GetYearBench.java
> org/openjdk/bench/java/time/InstantBench.java
> org/openjdk/bench/java/time/format/DateTimeFormatterWithPaddingBench.java
> org/openjdk/bench/java/util/ListArgs.java
> org/openjdk/bench/java/util/LocaleDefaults.java
> org/openjdk/bench/java/util/TestAdler32.java
> org/openjdk/bench/java/util/TestCRC32.java
> org/openjdk/bench/java/util/TestCRC32C.java
> org/openjdk/bench/java/util/regex/Exponential.java
> org/openjdk/bench/java/util/regex/Primality.java
> org/openjdk/bench/java/util/regex/Trim.java
> org/openjdk/bench/javax/crypto/AESReinit.java
> org/openjdk/bench/jdk/incubator/vector/LoadMaskedIOOBEBenchmark.java
> org/openjdk/bench/vm/compiler/Rotation.java
> org/openjdk/bench/vm/compiler/x86/ConvertF2I.java
> org/openjdk/bench/vm/compiler/x86/BasicRules.java
> 
> Please review and provide your feedback.
> 
> Thanks,
> Swati

@ericcaspole Could you please also review this PR?

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

PR Comment: https://git.openjdk.org/jdk/pull/15230#issuecomment-1706851997


More information about the security-dev mailing list