8155092: [TESTBUG] TestHumongousClassLoader.java needs UnlockDiagnosticVMOptions before WhiteBoxAPI
authorkzhaldyb
Tue, 26 Apr 2016 16:50:34 +0300
changeset 38099 22b90fb013a0
parent 38090 34d0dd634032
child 38100 4bf25b54add8
8155092: [TESTBUG] TestHumongousClassLoader.java needs UnlockDiagnosticVMOptions before WhiteBoxAPI Reviewed-by: tschatzl, dfazunen
hotspot/test/gc/g1/humongousObjects/TestHumongousClassLoader.java
--- a/hotspot/test/gc/g1/humongousObjects/TestHumongousClassLoader.java	Tue Apr 26 11:49:37 2016 +0000
+++ b/hotspot/test/gc/g1/humongousObjects/TestHumongousClassLoader.java	Tue Apr 26 16:50:34 2016 +0300
@@ -51,7 +51,7 @@
  * @run driver ClassFileInstaller sun.hotspot.WhiteBox
  *                                sun.hotspot.WhiteBox$WhiteBoxPermission
  *
- * @run main/othervm/timeout=240  -Xms256M -Xmx256M -XX:+WhiteBoxAPI -Xbootclasspath/a:.
+ * @run main/othervm/timeout=240  -Xms256M -Xmx256M -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.
  *                                gc.g1.humongousObjects.ClassLoaderGenerator 1
  *
  * @run main/othervm -Xms256M -Xmx256M -XX:+UseG1GC -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:.