# HG changeset patch # User dpochepk # Date 1470741448 -10800 # Node ID 194c666e75419ff5632c6cb4bbcb5ecc9d83a3da # Parent 7602cdc31867db0ed688354f7968cc3fc089b4f2 8163366: compiler/codecache/jmx/ThresholdNotificationsTest.java doesn't set -XX:+UnlockDiagnosticVMOptions while using WB Reviewed-by: kvn diff -r 7602cdc31867 -r 194c666e7541 hotspot/test/compiler/codecache/jmx/ThresholdNotificationsTest.java --- a/hotspot/test/compiler/codecache/jmx/ThresholdNotificationsTest.java Tue Aug 09 14:16:44 2016 +0300 +++ b/hotspot/test/compiler/codecache/jmx/ThresholdNotificationsTest.java Tue Aug 09 14:17:28 2016 +0300 @@ -31,11 +31,11 @@ * @build compiler.codecache.jmx.ThresholdNotificationsTest * @run driver ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm -Xbootclasspath/a:. -XX:-UseCodeCacheFlushing + * @run main/othervm -XX:+UnlockDiagnosticVMOptions -Xbootclasspath/a:. -XX:-UseCodeCacheFlushing * -XX:+WhiteBoxAPI -XX:-MethodFlushing -XX:CompileCommand=compileonly,null::* * -XX:+SegmentedCodeCache * compiler.codecache.jmx.ThresholdNotificationsTest - * @run main/othervm -Xbootclasspath/a:. -XX:-UseCodeCacheFlushing + * @run main/othervm -XX:+UnlockDiagnosticVMOptions -Xbootclasspath/a:. -XX:-UseCodeCacheFlushing * -XX:+WhiteBoxAPI -XX:-MethodFlushing -XX:CompileCommand=compileonly,null::* * -XX:-SegmentedCodeCache * compiler.codecache.jmx.ThresholdNotificationsTest