changeset 9376:7f575c73e45e

8141654: Tests missing -XX:+UnlockDiagnosticVMOptions Summary: Add missing unlock options. Reviewed-by: brutisso, tschatzl
author kbarrett
date Mon, 09 Nov 2015 11:50:15 -0500
parents c35ced49746c
children 11486a585ba2
files test/gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java test/gc/g1/TestLargePageUseForAuxMemory.java
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/gc/g1/TestEagerReclaimHumongousRegionsClearMarkBits.java	Tue Nov 10 20:39:29 2015 +0000
+++ b/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/test/gc/g1/TestLargePageUseForAuxMemory.java	Tue Nov 10 20:39:29 2015 +0000
+++ b/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;