8214242: compiler/arguments/TestScavengeRootsInCode.java fails because of missing UnlockDiagnosticVMOptions
Summary: Added missing UnlockDiagnosticVMOptions.
Reviewed-by: tschatzl
--- a/test/hotspot/jtreg/compiler/arguments/TestScavengeRootsInCode.java Mon Nov 26 09:24:08 2018 +0100
+++ b/test/hotspot/jtreg/compiler/arguments/TestScavengeRootsInCode.java Mon Nov 26 12:16:23 2018 +0100
@@ -25,7 +25,7 @@
* @test
* @bug 8214025
* @summary Test compilation with non-default value for ScavengeRootsInCode.
- * @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -Xcomp -XX:-TieredCompilation
+ * @run main/othervm -XX:+UnlockDiagnosticVMOptions -Xcomp -XX:-TieredCompilation
* -XX:ScavengeRootsInCode=1 compiler.arguments.TestScavengeRootsInCode
*/