8141654: Tests missing -XX:+UnlockDiagnosticVMOptions
authorkbarrett
Mon, 09 Nov 2015 11:50:15 -0500
changeset 33806 4160a3c28ce8
parent 33805 1cd84a30748c
child 33807 9f8b0f8a3f29
8141654: Tests missing -XX:+UnlockDiagnosticVMOptions Summary: Add missing unlock options. Reviewed-by: brutisso, tschatzl
hotspot/test/gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java
hotspot/test/gc/g1/TestLargePageUseForAuxMemory.java
--- a/hotspot/test/gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java	Tue Nov 10 20:39:29 2015 +0000
+++ b/hotspot/test/gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java	Mon Nov 09 11:50:15 2015 -0500
@@ -121,6 +121,7 @@
             "-XX:G1HeapRegionSize=1M",
             "-XX:InitiatingHeapOccupancyPercent=0", // Want to have as much as possible initial marks.
             "-XX:+PrintGC",
+            "-XX:+UnlockDiagnosticVMOptions",
             "-XX:+VerifyAfterGC",
             "-XX:ConcGCThreads=1", // Want to make marking as slow as possible.
             "-XX:+IgnoreUnrecognizedVMOptions", // G1VerifyBitmaps is develop only.
--- a/hotspot/test/gc/g1/TestLargePageUseForAuxMemory.java	Tue Nov 10 20:39:29 2015 +0000
+++ b/hotspot/test/gc/g1/TestLargePageUseForAuxMemory.java	Mon Nov 09 11:50:15 2015 -0500
@@ -32,7 +32,7 @@
  * @build TestLargePageUseForAuxMemory
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  *                              sun.hotspot.WhiteBox$WhiteBoxPermission
- * @run main/othervm -Xbootclasspath/a:. -XX:+UseG1GC -XX:+WhiteBoxAPI -XX:+IgnoreUnrecognizedVMOptions -XX:+UseLargePages TestLargePageUseForAuxMemory
+ * @run main/othervm -Xbootclasspath/a:. -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:+IgnoreUnrecognizedVMOptions -XX:+UseLargePages TestLargePageUseForAuxMemory
  */
 
 import java.lang.Math;