8154141: [TESTBUG] test/gc/g1/TestRegionLivenessPrint.java misses -XX:+UnlockDiagnosticVMOption flag
authortschatzl
Thu, 14 Apr 2016 10:57:09 +0200
changeset 37987 7b0667c9e794
parent 37986 a46da3f49efe
child 37988 bf4018edea5e
8154141: [TESTBUG] test/gc/g1/TestRegionLivenessPrint.java misses -XX:+UnlockDiagnosticVMOption flag Reviewed-by: dfazunen, jwilhelm
hotspot/test/gc/g1/TestRegionLivenessPrint.java
--- a/hotspot/test/gc/g1/TestRegionLivenessPrint.java	Tue Apr 19 09:06:38 2016 +0200
+++ b/hotspot/test/gc/g1/TestRegionLivenessPrint.java	Thu Apr 14 10:57:09 2016 +0200
@@ -32,7 +32,7 @@
  * @build TestRegionLivenessPrint
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
- * @run main/othervm -Xbootclasspath/a:. -XX:+WhiteBoxAPI -XX:+UseG1GC -Xmx128M -XX:G1HeapRegionSize=1m -Xlog:gc+liveness=trace TestRegionLivenessPrint
+ * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+UseG1GC -Xmx128M -XX:G1HeapRegionSize=1m -Xlog:gc+liveness=trace TestRegionLivenessPrint
  */
 
 import sun.hotspot.WhiteBox;