# HG changeset patch # User stefank # Date 1528206967 -7200 # Node ID 42ed6e9af3193c3ffa4a453e60c126cf541d2d8a # Parent bf7eb61349d2eb8806fe080983f786d234ecf31d 8204160: BiasedLockingTest needs -XX:+UseBiasedLocking Reviewed-by: eosterlund, dholmes diff -r bf7eb61349d2 -r 42ed6e9af319 test/hotspot/jtreg/runtime/logging/BiasedLockingTest.java --- 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);