# HG changeset patch # User chagedorn # Date 1569997637 -7200 # Node ID 1181f58f30e2b33d7055723eee9d890f1ae9fd11 # Parent 91d236715160b8493a20b10920ee73e5b58ae59c 8231626: DeoptimizeRandom should not be a product flag Summary: The DeoptimizeRandom flag is changed to develop since it has no effect in production. Reviewed-by: neliasso, thartmann diff -r 91d236715160 -r 1181f58f30e2 src/hotspot/share/runtime/globals.hpp --- a/src/hotspot/share/runtime/globals.hpp Tue Oct 01 20:07:30 2019 -0700 +++ b/src/hotspot/share/runtime/globals.hpp Wed Oct 02 08:27:17 2019 +0200 @@ -385,7 +385,7 @@ notproduct(ccstrlist, DeoptimizeOnlyAt, "", \ "A comma separated list of bcis to deoptimize at") \ \ - product(bool, DeoptimizeRandom, false, \ + develop(bool, DeoptimizeRandom, false, \ "Deoptimize random frames on random exit from the runtime system")\ \ notproduct(bool, ZombieALot, false, \ diff -r 91d236715160 -r 1181f58f30e2 test/hotspot/jtreg/compiler/codecache/stress/UnexpectedDeoptimizationAllTest.java --- a/test/hotspot/jtreg/compiler/codecache/stress/UnexpectedDeoptimizationAllTest.java Tue Oct 01 20:07:30 2019 -0700 +++ b/test/hotspot/jtreg/compiler/codecache/stress/UnexpectedDeoptimizationAllTest.java Wed Oct 02 08:27:17 2019 +0200 @@ -33,12 +33,14 @@ * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions - * -XX:+WhiteBoxAPI -XX:-DeoptimizeRandom + * -XX:+WhiteBoxAPI + * -XX:+IgnoreUnrecognizedVMOptions -XX:-DeoptimizeRandom * -XX:CompileCommand=dontinline,compiler.codecache.stress.Helper$TestCase::method * -XX:-SegmentedCodeCache * compiler.codecache.stress.UnexpectedDeoptimizationAllTest * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions - * -XX:+WhiteBoxAPI -XX:-DeoptimizeRandom + * -XX:+WhiteBoxAPI + * -XX:+IgnoreUnrecognizedVMOptions -XX:-DeoptimizeRandom * -XX:CompileCommand=dontinline,compiler.codecache.stress.Helper$TestCase::method * -XX:+SegmentedCodeCache * compiler.codecache.stress.UnexpectedDeoptimizationAllTest diff -r 91d236715160 -r 1181f58f30e2 test/hotspot/jtreg/compiler/codecache/stress/UnexpectedDeoptimizationTest.java --- a/test/hotspot/jtreg/compiler/codecache/stress/UnexpectedDeoptimizationTest.java Tue Oct 01 20:07:30 2019 -0700 +++ b/test/hotspot/jtreg/compiler/codecache/stress/UnexpectedDeoptimizationTest.java Wed Oct 02 08:27:17 2019 +0200 @@ -33,12 +33,14 @@ * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions - * -XX:+WhiteBoxAPI -XX:-DeoptimizeRandom + * -XX:+WhiteBoxAPI + * -XX:+IgnoreUnrecognizedVMOptions -XX:-DeoptimizeRandom * -XX:CompileCommand=dontinline,compiler.codecache.stress.Helper$TestCase::method * -XX:-SegmentedCodeCache * compiler.codecache.stress.UnexpectedDeoptimizationTest * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions - * -XX:+WhiteBoxAPI -XX:-DeoptimizeRandom + * -XX:+WhiteBoxAPI + * -XX:+IgnoreUnrecognizedVMOptions -XX:-DeoptimizeRandom * -XX:CompileCommand=dontinline,compiler.codecache.stress.Helper$TestCase::method * -XX:+SegmentedCodeCache * compiler.codecache.stress.UnexpectedDeoptimizationTest