提交 a45ddfc6 编写于 作者: S stefank

8055275: Several gc/class_unloading/ tests fail due to missed +UnlockDiagnosticVMOptions flag

Reviewed-by: mgerdin, jwilhelm
上级 0619b6e2
......@@ -45,6 +45,7 @@ public class TestCMSClassUnloadingEnabledHWM {
private static OutputAnalyzer run(boolean enableUnloading) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
"-Xbootclasspath/a:.",
"-XX:+UnlockDiagnosticVMOptions",
"-XX:+WhiteBoxAPI",
"-XX:MetaspaceSize=" + MetaspaceSize,
"-Xmn" + YoungGenSize,
......
......@@ -45,6 +45,7 @@ public class TestG1ClassUnloadingHWM {
private static OutputAnalyzer run(boolean enableUnloading) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
"-Xbootclasspath/a:.",
"-XX:+UnlockDiagnosticVMOptions",
"-XX:+WhiteBoxAPI",
"-XX:MetaspaceSize=" + MetaspaceSize,
"-Xmn" + YoungGenSize,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册