@@ -50,37 +50,37 @@ public int mode_default() {
50
50
// Experimental hashCode generation schemes. See synchronizer.cpp get_next_hash
51
51
/*
52
52
@Benchmark
53
- @Fork(jvmArgsPrepend = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=0"})
53
+ @Fork(jvmArgs = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=0"})
54
54
public int mode_0() {
55
55
return System.identityHashCode(new Object());
56
56
}
57
57
58
58
@Benchmark
59
- @Fork(jvmArgsPrepend = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=1"})
59
+ @Fork(jvmArgs = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=1"})
60
60
public int mode_1() {
61
61
return System.identityHashCode(new Object());
62
62
}
63
63
64
64
@Benchmark
65
- @Fork(jvmArgsPrepend = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=2"})
65
+ @Fork(jvmArgs = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=2"})
66
66
public int mode_2() {
67
67
return System.identityHashCode(new Object());
68
68
}
69
69
70
70
@Benchmark
71
- @Fork(jvmArgsPrepend = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=3"})
71
+ @Fork(jvmArgs = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=3"})
72
72
public int mode_3() {
73
73
return System.identityHashCode(new Object());
74
74
}
75
75
76
76
@Benchmark
77
- @Fork(jvmArgsPrepend = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=4"})
77
+ @Fork(jvmArgs = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=4"})
78
78
public int mode_4() {
79
79
return System.identityHashCode(new Object());
80
80
}
81
81
82
82
@Benchmark
83
- @Fork(jvmArgsPrepend = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=5"})
83
+ @Fork(jvmArgs = {"-XX:+UnlockExperimentalVMOptions", "-XX:hashCode=5"})
84
84
public int mode_5() {
85
85
return System.identityHashCode(new Object());
86
86
}
0 commit comments