8332228: TypePollution.java: Unrecognized VM option 'UseSecondarySuperCache'

Reviewed-by: chagedorn, kvn
This commit is contained in:
Martin Doerr 2024-05-28 20:00:14 +00:00
parent 91caec07cb
commit 9ac8d05a25

View File

@ -105,28 +105,28 @@ public class TypePollution {
int probe = 99; int probe = 99;
@Benchmark @Benchmark
@Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:-UseSecondarySupersTable", "-XX:-UseSecondarySuperCache"}) @Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:-UseSecondarySupersTable", "-XX:-UseSecondarySupersCache"})
@OutputTimeUnit(TimeUnit.MILLISECONDS) @OutputTimeUnit(TimeUnit.MILLISECONDS)
public long parallelInstanceOfInterfaceSwitchLinearNoSCC() { public long parallelInstanceOfInterfaceSwitchLinearNoSCC() {
return parallelInstanceOfInterfaceSwitch(); return parallelInstanceOfInterfaceSwitch();
} }
@Benchmark @Benchmark
@Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:-UseSecondarySupersTable", "-XX:+UseSecondarySuperCache"}) @Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:-UseSecondarySupersTable", "-XX:+UseSecondarySupersCache"})
@OutputTimeUnit(TimeUnit.MILLISECONDS) @OutputTimeUnit(TimeUnit.MILLISECONDS)
public long parallelInstanceOfInterfaceSwitchLinearSCC() { public long parallelInstanceOfInterfaceSwitchLinearSCC() {
return parallelInstanceOfInterfaceSwitch(); return parallelInstanceOfInterfaceSwitch();
} }
@Benchmark @Benchmark
@Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:+UseSecondarySupersTable", "-XX:-UseSecondarySuperCache"}) @Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:+UseSecondarySupersTable", "-XX:-UseSecondarySupersCache"})
@OutputTimeUnit(TimeUnit.MILLISECONDS) @OutputTimeUnit(TimeUnit.MILLISECONDS)
public long parallelInstanceOfInterfaceSwitchTableNoSCC() { public long parallelInstanceOfInterfaceSwitchTableNoSCC() {
return parallelInstanceOfInterfaceSwitch(); return parallelInstanceOfInterfaceSwitch();
} }
@Benchmark @Benchmark
@Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:+UseSecondarySupersTable", "-XX:+UseSecondarySuperCache"}) @Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:+UseSecondarySupersTable", "-XX:+UseSecondarySupersCache"})
@OutputTimeUnit(TimeUnit.MILLISECONDS) @OutputTimeUnit(TimeUnit.MILLISECONDS)
public long parallelInstanceOfInterfaceSwitchTableSCC() { public long parallelInstanceOfInterfaceSwitchTableSCC() {
return parallelInstanceOfInterfaceSwitch(); return parallelInstanceOfInterfaceSwitch();
@ -149,25 +149,25 @@ public class TypePollution {
} }
@Benchmark @Benchmark
@Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:-UseSecondarySupersTable", "-XX:-UseSecondarySuperCache"}) @Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:-UseSecondarySupersTable", "-XX:-UseSecondarySupersCache"})
public int instanceOfInterfaceSwitchLinearNoSCC() { public int instanceOfInterfaceSwitchLinearNoSCC() {
return instanceOfInterfaceSwitch(); return instanceOfInterfaceSwitch();
} }
@Benchmark @Benchmark
@Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:-UseSecondarySupersTable", "-XX:+UseSecondarySuperCache"}) @Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:-UseSecondarySupersTable", "-XX:+UseSecondarySupersCache"})
public int instanceOfInterfaceSwitchLinearSCC() { public int instanceOfInterfaceSwitchLinearSCC() {
return instanceOfInterfaceSwitch(); return instanceOfInterfaceSwitch();
} }
@Benchmark @Benchmark
@Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:+UseSecondarySupersTable", "-XX:-UseSecondarySuperCache"}) @Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:+UseSecondarySupersTable", "-XX:-UseSecondarySupersCache"})
public int instanceOfInterfaceSwitchTableNoSCC() { public int instanceOfInterfaceSwitchTableNoSCC() {
return instanceOfInterfaceSwitch(); return instanceOfInterfaceSwitch();
} }
@Benchmark @Benchmark
@Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:+UseSecondarySupersTable", "-XX:+UseSecondarySuperCache"}) @Fork(jvmArgsAppend={"-XX:+UnlockDiagnosticVMOptions", "-XX:+UseSecondarySupersTable", "-XX:+UseSecondarySupersCache"})
public int instanceOfInterfaceSwitchTableSCC() { public int instanceOfInterfaceSwitchTableSCC() {
return instanceOfInterfaceSwitch(); return instanceOfInterfaceSwitch();
} }