8342958: Use jvmArgs consistently in microbenchmarks

Reviewed-by: ecaspole, jvernee
This commit is contained in:
Claes Redestad 2024-10-28 22:40:25 +00:00
parent d49f21043b
commit 90bd544512
142 changed files with 202 additions and 202 deletions

View file

@ -96,7 +96,7 @@ public class StringHashCode {
@State(Scope.Thread)
@Warmup(iterations = 5, time = 1)
@Measurement(iterations = 5, time = 1)
@Fork(value = 3, jvmArgsAppend = {"--add-exports", "java.base/java.lang=ALL-UNNAMED", "--add-opens", "java.base/java.lang=ALL-UNNAMED"})
@Fork(value = 3, jvmArgs = {"--add-exports", "java.base/java.lang=ALL-UNNAMED", "--add-opens", "java.base/java.lang=ALL-UNNAMED"})
public static class Algorithm {
private final static String alphabet = "abcdefghijklmnopqrstuvwxyz";