8204160: BiasedLockingTest needs -XX:+UseBiasedLocking
Reviewed-by: eosterlund, dholmes
--- a/test/hotspot/jtreg/runtime/logging/BiasedLockingTest.java Tue Jun 05 09:15:03 2018 -0400
+++ b/test/hotspot/jtreg/runtime/logging/BiasedLockingTest.java Tue Jun 05 15:56:07 2018 +0200
@@ -48,22 +48,26 @@
}
public static void main(String[] args) throws Exception {
- ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:biasedlocking",
+ ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseBiasedLocking",
+ "-Xlog:biasedlocking",
"-XX:BiasedLockingStartupDelay=0",
InnerClass.class.getName());
analyzeOutputOn(pb);
- pb = ProcessTools.createJavaProcessBuilder("-XX:+TraceBiasedLocking",
+ pb = ProcessTools.createJavaProcessBuilder("-XX:+UseBiasedLocking",
+ "-XX:+TraceBiasedLocking",
"-XX:BiasedLockingStartupDelay=0",
InnerClass.class.getName());
analyzeOutputOn(pb);
- pb = ProcessTools.createJavaProcessBuilder("-Xlog:biasedlocking=off",
+ pb = ProcessTools.createJavaProcessBuilder("-XX:+UseBiasedLocking",
+ "-Xlog:biasedlocking=off",
"-XX:BiasedLockingStartupDelay=0",
InnerClass.class.getName());
analyzeOutputOff(pb);
- pb = ProcessTools.createJavaProcessBuilder("-XX:-TraceBiasedLocking",
+ pb = ProcessTools.createJavaProcessBuilder("-XX:+UseBiasedLocking",
+ "-XX:-TraceBiasedLocking",
"-XX:BiasedLockingStartupDelay=0",
InnerClass.class.getName());
analyzeOutputOff(pb);