8163366: compiler/codecache/jmx/ThresholdNotificationsTest.java doesn't set -XX:+UnlockDiagnosticVMOptions while using WB
authordpochepk
Tue, 09 Aug 2016 14:17:28 +0300
changeset 40374 194c666e7541
parent 40373 7602cdc31867
child 40375 492761e17d4b
8163366: compiler/codecache/jmx/ThresholdNotificationsTest.java doesn't set -XX:+UnlockDiagnosticVMOptions while using WB Reviewed-by: kvn
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