8154141: [TESTBUG] test/gc/g1/TestRegionLivenessPrint.java misses -XX:+UnlockDiagnosticVMOption flag
Reviewed-by: dfazunen, jwilhelm
--- 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;