--- a/hotspot/test/gc/TestVerifyDuringStartup.java Thu Dec 10 23:02:31 2015 +0000
+++ b/hotspot/test/gc/TestVerifyDuringStartup.java Thu Dec 10 14:57:55 2015 +0100
@@ -48,6 +48,7 @@
Collections.addAll(vmOpts, new String[] {"-XX:-UseTLAB",
"-XX:+UnlockDiagnosticVMOptions",
"-XX:+VerifyDuringStartup",
+ "-Xlog:gc+verify=debug",
"-version"});
System.out.print("Testing:\n" + JDKToolFinder.getJDKTool("java"));
@@ -62,7 +63,7 @@
System.out.println("Output:\n" + output.getOutput());
- output.shouldContain("[Verifying");
+ output.shouldContain("Verifying");
output.shouldHaveExitValue(0);
}
}