changeset 6517:8a7429682242

8055275: Several gc/class_unloading/ tests fail due to missed +UnlockDiagnosticVMOptions flag Reviewed-by: mgerdin, jwilhelm
author stefank
date Mon, 18 Aug 2014 14:12:48 +0200
parents fb971e09d20f
children 15b01edee7c0
files test/gc/class_unloading/TestCMSClassUnloadingEnabledHWM.java test/gc/class_unloading/TestG1ClassUnloadingHWM.java
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/gc/class_unloading/TestCMSClassUnloadingEnabledHWM.java	Wed Aug 13 17:37:11 2014 -0700
+++ b/test/gc/class_unloading/TestCMSClassUnloadingEnabledHWM.java	Mon Aug 18 14:12:48 2014 +0200
@@ -45,6 +45,7 @@
   private static OutputAnalyzer run(boolean enableUnloading) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
       "-Xbootclasspath/a:.",
+      "-XX:+UnlockDiagnosticVMOptions",
       "-XX:+WhiteBoxAPI",
       "-XX:MetaspaceSize=" + MetaspaceSize,
       "-Xmn" + YoungGenSize,
--- a/test/gc/class_unloading/TestG1ClassUnloadingHWM.java	Wed Aug 13 17:37:11 2014 -0700
+++ b/test/gc/class_unloading/TestG1ClassUnloadingHWM.java	Mon Aug 18 14:12:48 2014 +0200
@@ -45,6 +45,7 @@
   private static OutputAnalyzer run(boolean enableUnloading) throws Exception {
     ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
       "-Xbootclasspath/a:.",
+      "-XX:+UnlockDiagnosticVMOptions",
       "-XX:+WhiteBoxAPI",
       "-XX:MetaspaceSize=" + MetaspaceSize,
       "-Xmn" + YoungGenSize,